Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin GHA runners to ubuntu-24.04 #1853

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
secrets: inherit

calculate-baseline:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- benchmarks
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-drivers-failures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/collector-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
builder-needs-rebuilding:
name: Determine if builder image needs to be built
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
build-image: ${{ steps.changed.outputs.builder-changed }}

Expand All @@ -40,7 +40,7 @@ jobs:

build-builder-image:
name: Build the builder image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# Multiarch builds sometimes take for eeeeeeeeeever
timeout-minutes: 480
needs:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
needs:
- build-builder-image
name: Create Multiarch manifest
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: |
github.event_name != 'pull_request' ||
(needs.build-builder-image.outputs.collector-builder-tag != 'cache' &&
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
needs:
- build-builder-image
name: Retag x86 builder image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: |
github.event_name == 'pull_request' &&
needs.build-builder-image.outputs.collector-builder-tag != 'cache' &&
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
jobs:
build-collector-image:
name: Build Collector
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

build-collector-image-remote-vm:
name: Build Collector on a remote VM
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-multiarch-builds')
strategy:
fail-fast: false
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- build-collector-image
- build-collector-image-remote-vm
name: Create Multiarch manifest
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: |
github.event_name != 'pull_request' ||
contains(github.event.pull_request.labels.*.name, 'run-multiarch-builds')
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
needs:
- build-collector-image
name: Retag x86 slim image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: |
github.event_name == 'pull_request' &&
!contains(github.event.pull_request.labels.*.name, 'run-multiarch-builds')
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cpaas-sync-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ on:

jobs:
sync-drivers:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
process_gcloudignore: false

merge-drivers-failures:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: sync-drivers
steps:
- name: Merge drivers failures
Expand All @@ -157,7 +157,7 @@ jobs:
pattern: drivers-build-failures-*

update-index:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: sync-drivers
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
process_gcloudignore: false

copy-to-merged-bucket:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- sync-drivers
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cpaas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
should-run:
outputs:
should-run: ${{ steps.should-run.outputs.should-run }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- id: should-run
run: |
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
drivers-build-failures

build-collector:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: init
strategy:
matrix:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
password: ${{ secrets.QUAY_STACKROX_IO_RW_PASSWORD }}

multiarch-manifest:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
COLLECTOR_TAG: ${{ needs.init.outputs.collector-tag }}-cpaas
ARCHS: amd64 ppc64le s390x
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
secrets: inherit

notify:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: always() && contains(join(needs.*.result, ','), 'failure') && github.event_name == 'schedule'
needs:
- init
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gardenlinux-bumper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
run-bumper:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
draft: false

notify:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: always() && contains(join(needs.*.result, ','), 'failure') && github.event_name == 'schedule'
needs:
- run-bumper
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ on:

jobs:
common-variables:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
collector-tag: ${{ steps.collector-env.outputs.collector-tag }}
collector-qa-tag: ${{ steps.collector-env.outputs.collector-qa-tag }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration-test-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
jobs:
should-build-test-image:
name: Determine if tests image needs to be built
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
build-image: ${{ steps.changed.outputs.tests-changed }}

Expand All @@ -47,7 +47,7 @@ jobs:

build-test-image:
name: Build the integration test image
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- should-build-test-image
if: |
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
ansible/ci-build-tests.yml

common-variables:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
build-dirs: ${{ steps.variables.outputs.build-dirs }}

Expand All @@ -133,7 +133,7 @@ jobs:
- common-variables

if: inputs.rebuild-qa-containers
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-vm-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ on:
jobs:
tests:
name: Testing ${{ inputs.vm_type }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
COLLECTOR_IMAGE: ${{ inputs.collector-repo }}:${{ inputs.collector-tag }}
COLLECTOR_QA_TAG: ${{ inputs.collector-qa-tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
secrets: inherit

notify:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: always() && contains(join(needs.*.result, ','), 'failure') && github.event_name != 'pull_request'
needs:
- amd64-integration-tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/k8s-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
jobs:
k8s-integration-tests:
name: Run k8s integration tests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
${{ github.workspace }}/integration-tests/container-logs/**/*

notify:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: always() && contains(join(needs.*.result, ','), 'failure') && github.event_name != 'pull_request'
needs:
- k8s-integration-tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/konflux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
init:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
collector-tag: ${{ steps.generate-tag.outputs.collector-tag }}
collector-qa-tag: ${{ steps.generate-tag.outputs.collector-qa-tag }}
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
echo "collector-qa-tag=${COLLECTOR_QA_TAG}" >> "$GITHUB_OUTPUT"

wait-for-images:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- init
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
secrets: inherit

memory-checked-unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container:
image: quay.io/stackrox-io/collector-builder:${{ needs.build-builder-image.outputs.collector-builder-tag }}
needs:
Expand Down
Loading