From a82250e5a7636e92d9afbe2f8b2f0e182d7eb02c Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Thu, 9 Jan 2025 10:50:56 -0800 Subject: [PATCH] chore(ci): change from ubuntu-latest to ubuntu-24.04 (#518) This is (a) to avoid the warnings in workflow runs, e.g.: 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/labeler.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/release-instrumentation-openai.yml | 2 +- .github/workflows/release-mockotlpserver.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/slack.yml | 2 +- .github/workflows/test-edot.yml | 2 +- .github/workflows/test-instrumentation-openai.yml | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 6cf92d5e..14767cc7 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -14,7 +14,7 @@ permissions: jobs: categorize-issues-and-prs: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Get token id: get_token diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 14b0a947..dae550f8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/release-instrumentation-openai.yml b/.github/workflows/release-instrumentation-openai.yml index eef8d5a2..7754dd44 100644 --- a/.github/workflows/release-instrumentation-openai.yml +++ b/.github/workflows/release-instrumentation-openai.yml @@ -15,7 +15,7 @@ permissions: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: PKGDIR: packages/instrumentation-openai PKGNAME: "@elastic/opentelemetry-instrumentation-openai" diff --git a/.github/workflows/release-mockotlpserver.yml b/.github/workflows/release-mockotlpserver.yml index 271034f0..0bedd485 100644 --- a/.github/workflows/release-mockotlpserver.yml +++ b/.github/workflows/release-mockotlpserver.yml @@ -17,7 +17,7 @@ permissions: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: PKGDIR: packages/mockotlpserver PKGNAME: "@elastic/mockotlpserver" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 411ee814..dc092937 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ permissions: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: DOCKER_IMAGE_NAME: docker.elastic.co/observability/elastic-otel-node steps: diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml index 27850465..d300b5ee 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/test-edot.yml b/.github/workflows/test-edot.yml index e3ec446e..38ee72d6 100644 --- a/.github/workflows/test-edot.yml +++ b/.github/workflows/test-edot.yml @@ -41,7 +41,7 @@ jobs: - '14' - '14.18.0' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 services: redis: diff --git a/.github/workflows/test-instrumentation-openai.yml b/.github/workflows/test-instrumentation-openai.yml index 26d4b891..d4842b59 100644 --- a/.github/workflows/test-instrumentation-openai.yml +++ b/.github/workflows/test-instrumentation-openai.yml @@ -25,7 +25,7 @@ permissions: jobs: unit-test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: @@ -48,7 +48,7 @@ jobs: # This runs the unit tests against a number of 'openai' versions in the # supported range. test-all-versions: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -62,7 +62,7 @@ jobs: working-directory: packages/instrumentation-openai integration-test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 services: ollama: # A light fork of Ollama to float some in-progress contributions related