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

chore(gha): runs-on: noble numbat #13179

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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/auto-assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:
pull-requests: write
jobs:
assign-author:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: assign-author
# ignore the pull requests opened from PR because token is not correct
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/autodocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
build:
name: Build dependencies
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

env:
DOWNLOAD_ROOT: $HOME/download-root
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
source .ci/setup_env_github.sh
make dev
autodoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [build]
steps:
- name: Set environment variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport-fail-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
check_comment:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event.issue.pull_request != null && contains(github.event.comment.body, 'cherry-pick the changes locally and resolve any conflicts')

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
jobs:
backport:
name: Backport
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
name: Build dependencies
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

outputs:
cache-key: ${{ steps.cache-key.outputs.cache-key }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

lint-and-doc-tests:
name: Lint and Doc tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build

steps:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

schedule:
name: Schedule busted tests to run
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build

env:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:

busted-tests:
name: Busted test runner ${{ matrix.runner }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [build,schedule]

strategy:
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:

pdk-tests:
name: PDK tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build

steps:
Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
needs: [lint-and-doc-tests,pdk-tests,busted-tests]
name: Cleanup and Luacov stats aggregator
if: ${{ always() && (inputs.coverage == true || github.event_name == 'schedule') }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout source code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

autoformat:
name: Auto-format and Check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-requirement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
require-changelog:
if: ${{ !contains(github.event.*.labels.*.name, 'skip-changelog') }}
name: Requires changelog
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
validate-changelog:
name: Validate changelog
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry-picks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
cross-repo-cherrypick:
name: Cherry pick to remote repository
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# Only run when pull request is merged, or labeled
# or when a comment containing `/cherry-pick` is created
# and the author is a member, collaborator or owner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/community-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
close-issues:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
check-labels:
name: prevent merge labels
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: backport master label found
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-community-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
check_author:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
schema-change-labels:
if: "${{ contains(github.event.*.labels.*.name, 'schema-change-noteworthy') }}"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Schema change label found
uses: rtCamp/action-slack-notify@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/labeler@v5
2 changes: 1 addition & 1 deletion .github/workflows/openresty-patches-companion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
create-pr:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Dispatch the workflow
if: ${{ github.repository_owner == 'Kong' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
build-packages:
name: Build dependencies
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: |
github.event_name == 'schedule' ||
(github.event_name == 'pull_request' && startsWith(github.event.pull_request.title, 'perf(')) ||
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
perf:
name: RPS, latency and flamegraphs
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build-packages

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-and-tests-fail-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
notify_failure:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event != 'schedule' }}
steps:
- name: Fetch mapping file
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ env:
jobs:
metadata:
name: Metadata
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
kong-version: ${{ steps.build-info.outputs.kong-version }}
prerelease-docker-repository: ${{ env.PRERELEASE_DOCKER_REPOSITORY }}
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
verify-manifest-packages:
needs: [metadata, build-packages]
name: Verify Manifest - Package ${{ matrix.label }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
build-images:
name: Build Images - ${{ matrix.label }}
needs: [metadata, build-packages]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
# create comments on commits for docker images needs the `write` permission
Expand Down Expand Up @@ -416,7 +416,7 @@ jobs:
verify-manifest-images:
needs: [metadata, build-images]
name: Verify Manifest - Image ${{ matrix.label }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')

strategy:
Expand Down Expand Up @@ -450,7 +450,7 @@ jobs:
scan-images:
name: Scan Images - ${{ matrix.label }}
needs: [metadata, build-images]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: |-
always()
&& fromJSON(needs.metadata.outputs.matrix)['scan-vulnerabilities'] != ''
Expand Down Expand Up @@ -514,7 +514,7 @@ jobs:
release-packages:
name: Release Packages - ${{ matrix.label }} - ${{ needs.metadata.outputs.release-desc }}
needs: [metadata, build-packages, build-images]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: fromJSON(needs.metadata.outputs.matrix)['release-packages'] != ''
timeout-minutes: 5 # PULP takes a while to publish
environment: release
Expand Down Expand Up @@ -579,7 +579,7 @@ jobs:
release-images:
name: Release Images - ${{ matrix.label }} - ${{ needs.metadata.outputs.release-desc }}
needs: [metadata, build-images]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: fromJSON(needs.metadata.outputs.matrix)['release-images'] != ''

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-ngx-wasm-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
update:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
# required to create a branch and push commits
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-test-runtime-statistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
process-statistics:
name: Download statistics from GitHub and combine them
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

upgrade-test:
name: Run migration tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build

steps:
Expand Down
Loading