Skip to content

Commit

Permalink
Use ubuntu-22.04 as gh action runner image (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasireddy99 authored Nov 20, 2024
1 parent 01b405c commit 5331a2d
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-lambda-soak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
cache-to: type=local,dest=/tmp/.buildx-cache
2 changes: 1 addition & 1 deletion .github/workflows/main-build-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:

jobs:
publish-status:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)-<ARCHITECTURE>-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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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) }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/soaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5331a2d

Please sign in to comment.