Skip to content

Commit

Permalink
workflows: Switch to pin ubuntu runners
Browse files Browse the repository at this point in the history
Switch all our workflows to use the pinned ubuntu-24.04 runner
rather than ubuntu-latest

Signed-off-by: stevenhorsman <[email protected]>
  • Loading branch information
stevenhorsman committed Nov 13, 2024
1 parent 04ccaf6 commit 1cd0cc3
Show file tree
Hide file tree
Showing 19 changed files with 29 additions and 29 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/azure-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
jobs:
build-caa-container-image:
if: github.event.inputs.caa-image == ''
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: src/cloud-api-adaptor
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
echo "caa-image=${ACR_URL}/cloud-api-adaptor:dev-${GITHUB_SHA}" >> "$GITHUB_OUTPUT"
install-aks:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: src/cloud-api-adaptor
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
./caa-provisioner-cli -action=createcluster
run-e2e-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: src/cloud-api-adaptor
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
make test-e2e RUN_TESTS="^Test\(CreateSimplePodAzure\|RemoteAttestation\)$"
cleanup:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- run-e2e-test
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
generate-podvm-image-version:
if: github.event.inputs.podvm-image-id == ''
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
image-version: "${{ steps.generate-image-version.outputs.image-version }}"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-golang-fedora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ concurrency:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- dev
- release
runner:
- ubuntu-latest
- ubuntu-24.04
defaults:
run:
working-directory: src/cloud-api-adaptor
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:

controllers:
name: controllers
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

volumes:
name: volume controllers
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
echo "::endgroup::"
webhook:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: src/webhook
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/caa_build_and_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defaults:
jobs:
build_push_job:
name: build and push
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/caa_build_and_push_per_arch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defaults:

jobs:
upload_tags:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
build_push_job:
name: build and push
needs: [upload_tags]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
manifest_job:
name: generate images manifest
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [build_push_job]
steps:
- name: Checkout the code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-message-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
commit-message-check:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
name: Commit Message Check
steps:
- name: Get PR Commits
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/csi_wrapper_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
build_push_job:
name: build and push
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-e2e-tests-ibmcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
daily-e2e-tests:
name: e2e tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_on_pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ concurrency:

jobs:
authorize:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: contains(github.event.pull_request.labels.*.name, 'test_e2e_libvirt')
steps:
- run: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_run_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
# "aws libvirt").
prep_install:
needs: [image]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

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/peerpod-ctrl_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
peerpod_push:
name: build and push peerpod-ctrl
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: src/peerpod-ctrl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/podvm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defaults:
jobs:
build:
name: Create pod vm image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/podvm_binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defaults:
jobs:
build:
name: Create pod vm binaries image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/podvm_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Please keep this list in alphabetical order.
- ubuntu
runner:
- ubuntu-latest
- ubuntu-24.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/podvm_mkosi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build-binaries:
name: Build binaries
if : ${{ github.event.inputs.binaries-image == '' }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
github.event.inputs.binaries-image != ''
)
)
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:

jobs:
list-dockerfiles:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
matrix: ${{ env.MATRIX }}
steps:
Expand All @@ -25,7 +25,7 @@ jobs:
build:
name: Create Test Images
needs: list-dockerfiles
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/webhook_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
jobs:
build_push_webhook:
name: build and push webhook
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
working-directory: src/webhook
Expand Down

0 comments on commit 1cd0cc3

Please sign in to comment.