From 6e047fefe0f95973fccdf7698506c5a674a81c24 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Thu, 9 Jan 2025 10:35:02 -0800 Subject: [PATCH] chore(ci): change from ubuntu-latest to ubuntu-24.04 (#4404) 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 https://github.com/actions/runner-images/issues/10636 and (b) to try it out ahead of the switch. --- .github/workflows/addToProject.yml | 2 +- .github/workflows/edge.yml | 4 ++-- .github/workflows/labeler.yml | 2 +- .github/workflows/microbenchmark.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/slack.yml | 2 +- .github/workflows/tav-command.yml | 4 ++-- .github/workflows/tav.yml | 4 ++-- .github/workflows/test-docs.yml | 2 +- .github/workflows/test.yml | 6 +++--- .github/workflows/updatecli.yml | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/addToProject.yml b/.github/workflows/addToProject.yml index 52611a9b9d9..3bdfd0a8959 100644 --- a/.github/workflows/addToProject.yml +++ b/.github/workflows/addToProject.yml @@ -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 diff --git a/.github/workflows/edge.yml b/.github/workflows/edge.yml index 14c9b4e0bd7..207cf01b3f4 100644 --- a/.github/workflows/edge.yml +++ b/.github/workflows/edge.yml @@ -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 @@ -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 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index f339b4d31c5..b1e3607c70e 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -13,7 +13,7 @@ permissions: jobs: triage: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Get token id: get_token diff --git a/.github/workflows/microbenchmark.yml b/.github/workflows/microbenchmark.yml index 09d525ea12e..3e63af3025f 100644 --- a/.github/workflows/microbenchmark.yml +++ b/.github/workflows/microbenchmark.yml @@ -17,7 +17,7 @@ permissions: jobs: microbenchmark: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - name: Run microbenchmark diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 157641c53a1..098fa3829d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml index 27850465cdb..d300b5eebc0 100644 --- a/.github/workflows/slack.yml +++ b/.github/workflows/slack.yml @@ -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 diff --git a/.github/workflows/tav-command.yml b/.github/workflows/tav-command.yml index ea6fb43adb7..68d44316ba9 100644 --- a/.github/workflows/tav-command.yml +++ b/.github/workflows/tav-command.yml @@ -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 @@ -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 diff --git a/.github/workflows/tav.yml b/.github/workflows/tav.yml index 0bcb52399df..a0dcdeb9451 100644 --- a/.github/workflows/tav.yml +++ b/.github/workflows/tav.yml @@ -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 }} @@ -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 diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index ee10f943fe8..2b99309092c 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -17,6 +17,6 @@ permissions: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - run: echo "No build required" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 600b93a3593..af8212411e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index e2d67bd22e3..92d28867d9e 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -10,7 +10,7 @@ permissions: jobs: compose: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read packages: read