Skip to content

Commit 3eedd87

Browse files
committed
CI (github-hosted): Switch to Fedora 41
Fedora 40 has reached its EoL and the image is no longer available.
1 parent 2206bc5 commit 3eedd87

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-rpi-github-hosted.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
148148
# Use proper Vagrantfile and set ENV variable of config.vm.box
149149
cp -av ci/Vagrant/Vagrantfile ./
150-
echo vm_box='fedora/40-cloud-base' > .env
150+
echo vm_box='fedora/41-cloud-base' > .env
151151
152152
# Date stamp
153153
date_stamp=$(date -u '+%Y%m%d')
@@ -329,6 +329,10 @@ jobs:
329329
330330
sudo vagrant up fedora
331331
332+
- name: Install requisite packages
333+
run: |
334+
sudo vagrant ssh fedora -c "sudo dnf install -y -q xfsprogs"
335+
332336
- name: Tune SElinux
333337
run: |
334338
# set the mode SELinux is running in into Permissive
@@ -347,7 +351,7 @@ jobs:
347351
- name: Install Docker on the Vagrant VM
348352
run: |
349353
sudo vagrant ssh fedora -c "sudo dnf -y -q install dnf-plugins-core"
350-
sudo vagrant ssh fedora -c "sudo dnf -y -q config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo"
354+
sudo vagrant ssh fedora -c "sudo dnf -y -q config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo"
351355
sudo vagrant ssh fedora -c "sudo dnf -y -q install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin"
352356
sudo vagrant ssh fedora -c "sudo systemctl start docker"
353357

0 commit comments

Comments
 (0)