Skip to content

Commit

Permalink
Merge pull request containerd#10930 from AkihiroSuda/fedora41
Browse files Browse the repository at this point in the history
CI: update Fedora to 41
  • Loading branch information
AkihiroSuda authored Dec 6, 2024
2 parents d81628d + 6fdc352 commit 2c042ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -534,16 +534,16 @@ jobs:
fail-fast: false
matrix:
include:
- box: fedora/40-cloud-base
- box: fedora/41-cloud-base
cgroup_driver: cgroupfs
runc: runc
- box: fedora/40-cloud-base
- box: fedora/41-cloud-base
cgroup_driver: systemd
runc: runc
- box: fedora/40-cloud-base
- box: fedora/41-cloud-base
cgroup_driver: cgroupfs
runc: crun
- box: fedora/40-cloud-base
- box: fedora/41-cloud-base
cgroup_driver: systemd
runc: crun
# We have to keep EL8 to test old glibc, cgroup, kernel, etc.
Expand Down Expand Up @@ -595,7 +595,15 @@ jobs:
sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
sudo vagrant plugin install vagrant-libvirt
- name: Boot VM
run: sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --no-tty
run: |
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --no-tty
if [ "$BOX" = "fedora/41-cloud-base" ]; then
# Install the kernel update for Fedora 41 to fix an error "Extension MARK revision 0 not supported, missing kernel module"
# https://bugzilla.redhat.com/show_bug.cgi?id=2321325
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --provision-with=upgrade-packages
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant halt
sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up
fi
- name: test-integration
run: sudo BOX=$BOX RUNC_FLAVOR=$RUNC_FLAVOR vagrant up --provision-with=selinux,install-runc,install-gotestsum,test-integration
- name: test-cri-integration
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

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

Expand Down

0 comments on commit 2c042ae

Please sign in to comment.