Skip to content

Commit

Permalink
update runners to ubuntu-24.04 (#6308)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored Aug 29, 2024
1 parent 81bcf96 commit 6f51ffb
Show file tree
Hide file tree
Showing 41 changed files with 87 additions and 87 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
checks:
name: Checks and variables
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
docker_md5: ${{ steps.vars.outputs.docker_md5 }}
ic_version: ${{ steps.vars.outputs.ic_version }}
Expand All @@ -44,7 +44,7 @@ jobs:
build-oss:
name: Build OSS base images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: checks
permissions:
contents: read
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
build-plus:
name: Build Plus base images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: checks
permissions:
contents: read
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
build-plus-nap:
name: Build Plus NAP base images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: checks
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read # for docker/build-push-action to read repo content
id-token: write # for OIDC login to GCR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ot-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions:
jobs:
build-docker:
name: Build Docker Image
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
contents: read # for docker/build-push-action to read repo content
id-token: write # for OIDC login to AWS
pull-requests: write # for scout report
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-single-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
permissions:
contents: read # for docker/build-push-action to read repo content
id-token: write # for login to GCP
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ permissions:
jobs:
build:
name: Build test image
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ubi-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ permissions:
jobs:
checks:
name: Check versions
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
packages: read
contents: read
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
name: Build Binary Container Image
if: ${{ needs.checks.outputs.target_exists != 'true' || inputs.force }}
needs: checks
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
checks:
name: Checks and variables
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
go_code_md5: ${{ steps.vars.outputs.go_code_md5 }}
docker_md5: ${{ steps.vars.outputs.docker_md5 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Cherry pick into release branch
if: ${{ (contains(github.event.pull_request.labels.*.name, 'dependencies') || contains(github.event.pull_request.labels.*.name, 'needs cherry pick')) && github.event.pull_request.merged == true }}
steps:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ permissions:
jobs:
checks:
name: Checks and variables
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
verify-codegen:
name: Verify generated code
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: checks
steps:
- name: Checkout Repository
Expand All @@ -215,7 +215,7 @@ jobs:

binaries:
name: Build Binaries
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks, unit-tests, verify-codegen]
permissions:
contents: write # for goreleaser/goreleaser-action to manage releases
Expand Down Expand Up @@ -353,7 +353,7 @@ jobs:
helm-tests:
if: ${{ needs.checks.outputs.docs_only != 'true' }}
name: Helm Tests ${{ matrix.base-os }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks, binaries, build-docker, build-docker-plus]
strategy:
fail-fast: false
Expand Down Expand Up @@ -486,7 +486,7 @@ jobs:
setup-matrix:
if: ${{ inputs.force || needs.checks.outputs.docs_only != 'true' }}
name: Setup Matrix for Smoke Tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [binaries, checks]
permissions:
contents: read
Expand Down Expand Up @@ -642,7 +642,7 @@ jobs:

final-results:
if: ${{ !cancelled() }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: Final CI Results
needs: [tag-stable, smoke-tests-oss, smoke-tests-plus, smoke-tests-nap]
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions:
jobs:
checks:
name: Checks and variables
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
docs_only: ${{ github.event.pull_request && steps.docs.outputs.docs_only == 'true' }}
steps:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:

jobs:
dependabot:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
permissions:
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defaults:
jobs:
build:
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write
pull-requests: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read # for actions/checkout
pull-requests: write # for actions/dependency-review-action to post comments
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
dockerHubDescription:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.event.repository.fork == false }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permissions:
jobs:
checks:
name: Checks and variables
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
scan:
name: Fossa
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Checkout Repository
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/image-promotion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ permissions:
jobs:
checks:
name: Checks and variables
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
govulncheck:
name: Run govulncheck
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
security-events: write
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

binaries:
name: Build Binaries
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks]
permissions:
contents: read
Expand Down Expand Up @@ -366,7 +366,7 @@ jobs:
certify-openshift-images:
if: ${{ !cancelled() && !failure() && github.ref_name == github.event.repository.default_branch }}
name: Certify OpenShift UBI images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [release-oss]
steps:
- name: Checkout Repository
Expand All @@ -382,7 +382,7 @@ jobs:

scan-docker-oss:
name: Scan ${{ matrix.image }}-${{ matrix.target }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks]
permissions:
contents: read
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:

scan-docker-plus:
name: Scan ${{ matrix.image }}-${{ matrix.target }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks]
permissions:
contents: read
Expand Down Expand Up @@ -562,7 +562,7 @@ jobs:

scan-docker-nap:
name: Scan ${{ matrix.image }}-${{ matrix.target }}-${{ matrix.nap_modules }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks]
permissions:
contents: read
Expand Down Expand Up @@ -659,7 +659,7 @@ jobs:

update-release-draft:
name: Update Release Draft
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [checks]
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
comment:
name: Issue comment
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
issues: write # for actions/github-script to create comments
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
contents: read
pull-requests: write # for actions/labeler to add labels
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

format:
name: Format
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -38,7 +38,7 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: read # for golangci-lint-action
Expand All @@ -58,7 +58,7 @@ jobs:

actionlint:
name: Actionlint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -69,7 +69,7 @@ jobs:

chart-lint:
name: Chart Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -79,7 +79,7 @@ jobs:

markdown-lint:
name: Markdown Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ permissions:
jobs:
scan:
name: Mend
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
Loading

0 comments on commit 6f51ffb

Please sign in to comment.