Skip to content

Commit

Permalink
ci: pin to Ubuntu 24.04 runners
Browse files Browse the repository at this point in the history
ubuntu-latest and ubuntu-22.04 used to be the same but ubuntu-latest
now points to ubuntu-24.04.

Make all Ubuntu runners to use 24.04 consistently.

Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi authored and Xynnn007 committed Feb 5, 2025
1 parent ee36889 commit 838e49c
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [pull_request]
jobs:
actionlint:
name: Workflow Files
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/as-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# generate_evidence: true
# grpc_tee_enum: 3
# restful_tee_enum: tdx
- runner: ubuntu-22.04
- runner: ubuntu-24.04
generate_evidence: false
grpc_tee_enum: 2
restful_tee_enum: snp
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
key: rust-${{ hashFiles('./Cargo.lock') }}

- name: Install dependencies
if: ${{ matrix.runner == 'ubuntu-22.04' }}
if: ${{ matrix.runner == 'ubuntu-24.04' }}
working-directory: attestation-service/tests/e2e
run: |
make install-dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/as-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
basic_ci:
if: github.event_name == 'pull_request' || github.event_name == 'push'
name: Check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
RUSTC_VERSION: 1.76.0
steps:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install TDX build dependencies
run: |
sudo curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu noble main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo apt-get update
sudo apt-get install -y libsgx-dcap-quote-verify-dev libsgx-dcap-default-qpl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-as-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- target_arch: x86_64
target_platform: linux/amd64
build_platform: linux/amd64
instance: ubuntu-latest
instance: ubuntu-24.04
verifier: all-verifier
- target_arch: s390x
target_platform: linux/s390x
Expand All @@ -46,7 +46,7 @@ jobs:
- target_arch: aarch64
target_platform: linux/arm64
build_platform: linux/amd64
instance: ubuntu-latest
instance: ubuntu-24.04
verifier: cca-verifier
runs-on: ${{ matrix.instance }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-kbs-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
- target_arch: x86_64
target_platform: linux/amd64
build_platform: linux/amd64
instance: ubuntu-latest
instance: ubuntu-24.04
- target_arch: s390x
target_platform: linux/s390x
build_platform: linux/s390x
instance: s390x
- target_arch: aarch64
target_platform: linux/arm64
build_platform: linux/amd64
instance: ubuntu-latest
instance: ubuntu-24.04

runs-on: ${{ matrix.instance }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kbs-docker-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
e2e-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
RUSTC_VERSION: 1.76.0
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kbs-e2e-azure-vtpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ on:

jobs:
authorize:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'test_e2e')
steps:
- run: "true"

checkout-and-rebase:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: authorize
steps:
- name: Checkout Code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kbs-e2e-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
checkout:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kbs-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true
runs-on:
type: string
default: '["ubuntu-22.04"]'
default: '["ubuntu-24.04"]'
description: JSON representation of runner labels
tarball:
type: string
Expand All @@ -22,7 +22,7 @@ defaults:

jobs:
build-binaries:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
RUSTC_VERSION: 1.76.0
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kbs-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fail-fast: false
env:
RUSTC_VERSION: 1.76.0
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Code checkout
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Install TDX dependencies
run: |
sudo curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add -
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu noble main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
sudo apt-get update
sudo apt-get install -y libtdx-attest-dev libsgx-dcap-quote-verify-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
checklinks:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-as-image-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: RESTful CoCo-AS
- tag: rvps
name: RVPS
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-kbs-client-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- x86_64
- s390x
- aarch64
runs-on: ${{ matrix.arch == 's390x' && 's390x' || 'ubuntu-22.04' }}
runs-on: ${{ matrix.arch == 's390x' && 's390x' || 'ubuntu-24.04' }}
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-kbs-image-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- kbs-grpc-as
permissions:
packages: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Login to GHCR Container Registry
Expand Down

0 comments on commit 838e49c

Please sign in to comment.