Skip to content

Commit

Permalink
chore(ci): change from ubuntu-latest to ubuntu-24.04
Browse files Browse the repository at this point in the history
This is (a) to avoid the warnings in workflow runs, e.g.:

    test-tav (@apollo/server 22) ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see actions/runner-images#10636

and (b) to try it out ahead of the switch.
  • Loading branch information
trentm committed Jan 9, 2025
1 parent e14a25f commit 1d616bd
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/addToProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
jobs:
add_to_project:
if: github.event.issue && github.event.issue.milestone
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Get token
id: get_token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# made, these will stop and there will be no value in testing v17 nightlies.
#
test-nightly:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
fail-fast: false
Expand All @@ -44,7 +44,7 @@ jobs:
# The node.js project *sometimes* produces "rc" builds leading up to a new
# release. They get uploaded to: https://nodejs.org/download/rc/
test-rc:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 30
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
triage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Get token
id: get_token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/microbenchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
microbenchmark:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Run microbenchmark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
DOCKER_IMAGE_NAME: docker.elastic.co/observability/apm-agent-nodejs
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if: ${{ !(github.event.action == 'opened' && github.event.pull_request.draft) ||
github.event.pull_request.user.login != 'dependabot[bot]' ||
github.event.pull_request.user.login != 'elastic-renovate-prod[bot]' }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Prepare Slack message
id: prepare
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tav-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
command-validation:
if: startsWith(github.event.review.body, '/test tav')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
pull-requests: write
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
test-tav:
needs: command-validation
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 40
strategy:
max-parallel: 15
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
prepare-matrix:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 5
outputs:
permutations: ${{ steps.transform.outputs.permutations }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
test-tav:
needs: prepare-matrix
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 40
strategy:
max-parallel: 15
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ permissions:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: echo "No build required"
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions:
jobs:

lint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- '16.0'
- '14'
- '14.17'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
# failure if at least one job listed "needs" is not successful.
test:
if: always()
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- lint
- test-vers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
compose:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
packages: read
Expand Down

0 comments on commit 1d616bd

Please sign in to comment.