From 51a61f8595e0844895dfaf909ebc468f5098caa5 Mon Sep 17 00:00:00 2001 From: Pavel Abramov Date: Fri, 14 Feb 2025 11:21:17 +0100 Subject: [PATCH] GitHub Actions: bump runners ubuntu version to latest available Accoring to [1] Ubuntu 20.04 runners in GitHub will be fully unsuppoerted by 2025-04-01. This commit bumps GitHub-provided runners to latest available Ubuntu 24.04 and BuildJet-provided runners are updated to latest available Ubuntu 22.04 I am not changing runners to latest because fixed version guarantees stability of packages across workflow runs [1] - https://github.com/actions/runner-images/issues/11101 Signed-off-by: Pavel Abramov --- .github/workflows/assets.yml | 4 ++-- .github/workflows/build.yml | 8 ++++---- .github/workflows/buildondemand.yml | 6 +++--- .github/workflows/check-docker-hashes-consistency.yml | 2 +- .github/workflows/go-tests.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/yetus.yml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 509f13e678..8654a6590d 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -6,7 +6,7 @@ # to "emulated" arm64 side on the amd64 runner. # # The trick we play is that we keep it as a matrix job still, but we make -# it use the same GitHub provided x86 ubuntu-20.04 runners. The runner that +# it use the same GitHub provided x86 ubuntu-24.04 runners. The runner that # gets to unpack arm64 artifacts does so with the help of binfmt-support and # qemu-user-static @@ -46,7 +46,7 @@ jobs: echo "release_id=$release_id" >> "$GITHUB_OUTPUT" echo "upload_url=$upload_url" >> "$GITHUB_OUTPUT" build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: create_release strategy: fail-fast: false diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b88cb17973..f40ffd7a79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,17 +20,17 @@ jobs: strategy: fail-fast: false matrix: - os: [buildjet-4vcpu-ubuntu-2204-arm, buildjet-4vcpu-ubuntu-2004] + os: [buildjet-4vcpu-ubuntu-2204-arm, buildjet-4vcpu-ubuntu-2204] arch: [arm64, amd64] platform: [generic, nvidia-jp5, nvidia-jp6] include: - - os: buildjet-4vcpu-ubuntu-2004 + - os: buildjet-4vcpu-ubuntu-2204 arch: riscv64 platform: generic exclude: - os: buildjet-4vcpu-ubuntu-2204-arm arch: amd64 - - os: buildjet-4vcpu-ubuntu-2004 + - os: buildjet-4vcpu-ubuntu-2204 arch: arm64 - arch: amd64 platform: nvidia-jp5 @@ -94,7 +94,7 @@ jobs: eve: needs: packages # all packages for all platforms must be built first - runs-on: buildjet-4vcpu-ubuntu-2004 + runs-on: buildjet-4vcpu-ubuntu-2204 strategy: fail-fast: false matrix: diff --git a/.github/workflows/buildondemand.yml b/.github/workflows/buildondemand.yml index 0035c04c72..f657b42ade 100644 --- a/.github/workflows/buildondemand.yml +++ b/.github/workflows/buildondemand.yml @@ -28,9 +28,9 @@ jobs: include: - os: buildjet-4vcpu-ubuntu-2204-arm arch: arm64 - - os: buildjet-4vcpu-ubuntu-2004 + - os: buildjet-4vcpu-ubuntu-2204 arch: amd64 - - os: buildjet-4vcpu-ubuntu-2004 + - os: buildjet-4vcpu-ubuntu-2204 arch: riscv64 steps: - name: Starting Report @@ -84,7 +84,7 @@ jobs: needs: packages # all packages for all platforms must be built first # Only run for the default branch if: github.ref_name == github.event.repository.default_branch - runs-on: buildjet-4vcpu-ubuntu-2004 + runs-on: buildjet-4vcpu-ubuntu-2204 strategy: fail-fast: false matrix: diff --git a/.github/workflows/check-docker-hashes-consistency.yml b/.github/workflows/check-docker-hashes-consistency.yml index 609fa2bd96..f1f1bbb516 100644 --- a/.github/workflows/check-docker-hashes-consistency.yml +++ b/.github/workflows/check-docker-hashes-consistency.yml @@ -22,7 +22,7 @@ on: # yamllint disable-line rule:truthy jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index f131ec6529..06be45aa69 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a4046d86c..db236f651d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: include: - os: arm64-secure arch: arm64 - - os: ubuntu-20.04 + - os: ubuntu-22.04 arch: amd64 - os: ubuntu-latest arch: riscv64 diff --git a/.github/workflows/yetus.yml b/.github/workflows/yetus.yml index ff5d12cd5d..7ce24a9b2e 100644 --- a/.github/workflows/yetus.yml +++ b/.github/workflows/yetus.yml @@ -16,7 +16,7 @@ on: # yamllint disable-line rule:truthy jobs: yetus: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4