diff --git a/.github/workflows/api-release.yml b/.github/workflows/api-release.yml index 7b2814de9..fbc3e5efd 100644 --- a/.github/workflows/api-release.yml +++ b/.github/workflows/api-release.yml @@ -15,7 +15,7 @@ jobs: check: name: Check Signed Tag if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/api/v') - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 outputs: stringver: ${{ steps.contentrel.outputs.stringver }} @@ -60,7 +60,7 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/api/v') permissions: contents: write - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 needs: [check] steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1e88fd22..ee84cf731 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: - os: [ubuntu-22.04, actuated-arm64-4cpu-16gb, macos-12, windows-2019] + os: [ubuntu-24.04, actuated-arm64-4cpu-16gb, macos-12, windows-2019] exclude: - os: ${{ github.repository != 'containerd/containerd' && 'actuated-arm64-4cpu-16gb' }} @@ -42,7 +42,7 @@ jobs: # project: name: Project Checks - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: @@ -70,7 +70,7 @@ jobs: # protos: name: Protobuf - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 defaults: @@ -104,7 +104,7 @@ jobs: man: name: Manpages - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: @@ -118,7 +118,7 @@ jobs: crossbuild: name: Crossbuild Binaries needs: [project, linters, protos, man] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: fail-fast: false @@ -190,7 +190,7 @@ jobs: strategy: matrix: - os: [ubuntu-22.04, actuated-arm64-4cpu-16gb, macos-12, windows-2019, windows-2022] + os: [ubuntu-22.04, ubuntu-24.04, actuated-arm64-4cpu-16gb, macos-12, windows-2019, windows-2022] go-version: ["1.22.4"] exclude: - os: ${{ github.repository != 'containerd/containerd' && 'actuated-arm64-4cpu-16gb' }} @@ -385,7 +385,7 @@ jobs: runtime: - io.containerd.runc.v2 runc: [runc, crun] - os: [ubuntu-22.04, actuated-arm64-4cpu-16gb] + os: [ubuntu-22.04, ubuntu-24.04, actuated-arm64-4cpu-16gb] exclude: - os: ${{ github.repository != 'containerd/containerd' && 'actuated-arm64-4cpu-16gb' }} @@ -519,7 +519,7 @@ jobs: integration-vagrant: name: Vagrant integration - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 60 needs: [project, linters, protos, man] @@ -555,10 +555,28 @@ jobs: # Canonical's Vagrant 2.2.19 dpkg cannot download Fedora 38 image: https://bugs.launchpad.net/vagrant/+bug/2017828 # So we have to install Vagrant >= 2.3.1 from the upstream: https://github.com/opencontainers/runc/blob/v1.1.8/.cirrus.yml#L41-L49 curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg - echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list - sudo sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list + echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com jammy main" | sudo tee /etc/apt/sources.list.d/hashicorp.list + sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources + # we use vagrant from jammy since the sources are not yet available in noble for vagrant + # TODO: once vagrant package sources are available in ubuntu-24 this can be removed + sudo tee -a /etc/apt/sources.list.d/ubuntu.sources < /dev/null + # jammy security needs to be added so that the compatible ovmf package can be fetched + sudo tee -a /etc/apt/sources.list.d/ubuntu.sources <=ubuntu 24.04) enforces a minimum volume size + BaseImageSize: "300Mb", FileSystemType: "xfs", } snapshotter, closer, err := createSnapshotter(ctx, t, config)