From 5331a2d49d57e2b67e692326737f41ee2a1bb301 Mon Sep 17 00:00:00 2001 From: Vasi Vasireddy <41936996+vasireddy99@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:16:42 -0800 Subject: [PATCH] Use ubuntu-22.04 as gh action runner image (#1001) --- .github/workflows/canary.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/docker-build-lambda-soak.yml | 4 ++-- .github/workflows/main-build-java.yml | 2 +- .github/workflows/main-build-python.yml | 2 +- .github/workflows/main-build.yml | 2 +- .github/workflows/pr-build.yml | 2 +- .github/workflows/publish-status.yml | 2 +- .github/workflows/release.yml | 8 ++++---- .github/workflows/soaking.yml | 6 +++--- .github/workflows/stale-bot.yml | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index b1ef4e998..fbcfd40de 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -14,7 +14,7 @@ permissions: jobs: canary-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: Canary Test - (${{ matrix.aws_region }} - ${{ matrix.language }} - ${{ matrix.sample-app }} - ${{ matrix.instrumentation-type }} - ${{ matrix.architecture }}) strategy: fail-fast: false diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6a56a4535..660040a08 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,7 +23,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false diff --git a/.github/workflows/docker-build-lambda-soak.yml b/.github/workflows/docker-build-lambda-soak.yml index fc914f3b9..a6becf48d 100644 --- a/.github/workflows/docker-build-lambda-soak.yml +++ b/.github/workflows/docker-build-lambda-soak.yml @@ -11,7 +11,7 @@ permissions: jobs: build-lambda-soak: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Configure AWS Credentials @@ -41,4 +41,4 @@ jobs: tags: | public.ecr.aws/aws-otel-test/lambda-soak:latest cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache \ No newline at end of file + cache-to: type=local,dest=/tmp/.buildx-cache diff --git a/.github/workflows/main-build-java.yml b/.github/workflows/main-build-java.yml index a862d74bc..58b0f987c 100644 --- a/.github/workflows/main-build-java.yml +++ b/.github/workflows/main-build-java.yml @@ -17,7 +17,7 @@ permissions: jobs: integration-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: java-${{ matrix.sample-app }}-${{ matrix.instrumentation-type }}-${{ matrix.architecture }}-${{matrix.confmap}} strategy: fail-fast: false diff --git a/.github/workflows/main-build-python.yml b/.github/workflows/main-build-python.yml index 1dde4f230..519d60e82 100644 --- a/.github/workflows/main-build-python.yml +++ b/.github/workflows/main-build-python.yml @@ -17,7 +17,7 @@ permissions: jobs: integration-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: python-wrapper-${{ matrix.architecture }} strategy: fail-fast: false diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 2730ec79d..63714a73a 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -23,7 +23,7 @@ permissions: jobs: integration-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: ${{ matrix.language }}-${{ matrix.instrumentation-type }}-${{ matrix.architecture }} strategy: fail-fast: false diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 538f8da84..48abc629d 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -11,7 +11,7 @@ permissions: jobs: build-artifacts: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Build artifacts - ${{ matrix.language }} strategy: matrix: diff --git a/.github/workflows/publish-status.yml b/.github/workflows/publish-status.yml index d9bf2db58..5762e3cd5 100644 --- a/.github/workflows/publish-status.yml +++ b/.github/workflows/publish-status.yml @@ -31,7 +31,7 @@ on: jobs: publish-status: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: id-token: write contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be854147e..1cd3eeda0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,13 +32,13 @@ permissions: jobs: validate-inputs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Validate `layer_name_keyword` (${{ github.event.inputs.layer_name_keyword }}) run: | grep -Eq "aws-otel-(collector|java-agent|java-wrapper|nodejs|python)--ver-[0-9]+-[0-9]+-[0-9]+" <<< "${{ github.event.inputs.layer_name_keyword }}" publish-prod: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: validate-inputs strategy: matrix: @@ -112,7 +112,7 @@ jobs: run: | aws s3 rb --force s3://${{ env.BUCKET_NAME }} generate-note: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: publish-prod strategy: matrix: @@ -177,7 +177,7 @@ jobs: smoke-test: name: Smoke Test - (${{ matrix.aws_region }} - ${{ github.event.inputs.layer_name_keyword }} - ${{ matrix.architecture }}) needs: generate-note - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: architecture: ${{ fromJson(github.event.inputs.architecture) }} diff --git a/.github/workflows/soaking.yml b/.github/workflows/soaking.yml index 5fd790376..76013cb39 100644 --- a/.github/workflows/soaking.yml +++ b/.github/workflows/soaking.yml @@ -16,10 +16,10 @@ on: permissions: id-token: write contents: read - + jobs: soaking-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: Soak Test - (${{ matrix.language }}, ${{ matrix.sample-app }}, ${{ matrix.instrumentation-type }}, ${{ matrix.architecture }}) strategy: fail-fast: false @@ -277,7 +277,7 @@ jobs: output-keywords: if: ${{ always() }} name: Output (${{ matrix.language }}, ${{ matrix.instrumentation-type }}) Layer Keyword - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: - soaking-test strategy: diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml index 4b05581ab..b901bd785 100644 --- a/.github/workflows/stale-bot.yml +++ b/.github/workflows/stale-bot.yml @@ -18,7 +18,7 @@ on: jobs: stale-close: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Mark the issues/pr uses: actions/stale@v9