Skip to content

Commit 62b790b

Browse files
AkihiroSudak8s-infra-cherrypick-robot
authored andcommitted
CI: update Fedora to 41
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 1b7befc commit 62b790b

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -534,16 +534,16 @@ jobs:
534534
fail-fast: false
535535
matrix:
536536
include:
537-
- box: fedora/40-cloud-base
537+
- box: fedora/41-cloud-base
538538
cgroup_driver: cgroupfs
539539
runc: runc
540-
- box: fedora/40-cloud-base
540+
- box: fedora/41-cloud-base
541541
cgroup_driver: systemd
542542
runc: runc
543-
- box: fedora/40-cloud-base
543+
- box: fedora/41-cloud-base
544544
cgroup_driver: cgroupfs
545545
runc: crun
546-
- box: fedora/40-cloud-base
546+
- box: fedora/41-cloud-base
547547
cgroup_driver: systemd
548548
runc: crun
549549
# We have to keep EL8 to test old glibc, cgroup, kernel, etc.
@@ -595,7 +595,15 @@ jobs:
595595
sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
596596
sudo vagrant plugin install vagrant-libvirt
597597
- name: Boot VM
598-
run: sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --no-tty
598+
run: |
599+
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --no-tty
600+
if [ "$BOX" = "fedora/41-cloud-base" ]; then
601+
# Install the kernel update for Fedora 41 to fix an error "Extension MARK revision 0 not supported, missing kernel module"
602+
# https://bugzilla.redhat.com/show_bug.cgi?id=2321325
603+
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --provision-with=upgrade-packages
604+
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant halt
605+
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up
606+
fi
599607
- name: test-integration
600608
run: sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --provision-with=selinux,install-runc,install-gotestsum,test-integration
601609
- name: test-cri-integration

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Vagrantfile for Fedora and EL
1919
Vagrant.configure("2") do |config|
20-
config.vm.box = ENV["BOX"] ? ENV["BOX"].split("@")[0] : "fedora/40-cloud-base"
20+
config.vm.box = ENV["BOX"] ? ENV["BOX"].split("@")[0] : "fedora/41-cloud-base"
2121
# BOX_VERSION is deprecated. Use "BOX=<BOX>@<BOX_VERSION>".
2222
config.vm.box_version = ENV["BOX_VERSION"] || (ENV["BOX"].split("@")[1] if ENV["BOX"])
2323

0 commit comments

Comments
 (0)