Skip to content

Commit 5331a2d

Browse files
authored
Use ubuntu-22.04 as gh action runner image (#1001)
1 parent 01b405c commit 5331a2d

11 files changed

+17
-17
lines changed

Diff for: .github/workflows/canary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
canary-test:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818
name: Canary Test - (${{ matrix.aws_region }} - ${{ matrix.language }} - ${{ matrix.sample-app }} - ${{ matrix.instrumentation-type }} - ${{ matrix.architecture }})
1919
strategy:
2020
fail-fast: false

Diff for: .github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
jobs:
2424
analyze:
2525
name: Analyze
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-22.04
2727

2828
strategy:
2929
fail-fast: false

Diff for: .github/workflows/docker-build-lambda-soak.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
build-lambda-soak:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Configure AWS Credentials
@@ -41,4 +41,4 @@ jobs:
4141
tags: |
4242
public.ecr.aws/aws-otel-test/lambda-soak:latest
4343
cache-from: type=local,src=/tmp/.buildx-cache
44-
cache-to: type=local,dest=/tmp/.buildx-cache
44+
cache-to: type=local,dest=/tmp/.buildx-cache

Diff for: .github/workflows/main-build-java.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
integration-test:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
name: java-${{ matrix.sample-app }}-${{ matrix.instrumentation-type }}-${{ matrix.architecture }}-${{matrix.confmap}}
2222
strategy:
2323
fail-fast: false

Diff for: .github/workflows/main-build-python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
integration-test:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
name: python-wrapper-${{ matrix.architecture }}
2222
strategy:
2323
fail-fast: false

Diff for: .github/workflows/main-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323

2424
jobs:
2525
integration-test:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727
name: ${{ matrix.language }}-${{ matrix.instrumentation-type }}-${{ matrix.architecture }}
2828
strategy:
2929
fail-fast: false

Diff for: .github/workflows/pr-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
build-artifacts:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
name: Build artifacts - ${{ matrix.language }}
1616
strategy:
1717
matrix:

Diff for: .github/workflows/publish-status.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131

3232
jobs:
3333
publish-status:
34-
runs-on: ubuntu-latest
34+
runs-on: ubuntu-22.04
3535
permissions:
3636
id-token: write
3737
contents: read

Diff for: .github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ permissions:
3232

3333
jobs:
3434
validate-inputs:
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-22.04
3636
steps:
3737
- name: Validate `layer_name_keyword` (${{ github.event.inputs.layer_name_keyword }})
3838
run: |
3939
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 }}"
4040
publish-prod:
41-
runs-on: ubuntu-latest
41+
runs-on: ubuntu-22.04
4242
needs: validate-inputs
4343
strategy:
4444
matrix:
@@ -112,7 +112,7 @@ jobs:
112112
run: |
113113
aws s3 rb --force s3://${{ env.BUCKET_NAME }}
114114
generate-note:
115-
runs-on: ubuntu-latest
115+
runs-on: ubuntu-22.04
116116
needs: publish-prod
117117
strategy:
118118
matrix:
@@ -177,7 +177,7 @@ jobs:
177177
smoke-test:
178178
name: Smoke Test - (${{ matrix.aws_region }} - ${{ github.event.inputs.layer_name_keyword }} - ${{ matrix.architecture }})
179179
needs: generate-note
180-
runs-on: ubuntu-latest
180+
runs-on: ubuntu-22.04
181181
strategy:
182182
matrix:
183183
architecture: ${{ fromJson(github.event.inputs.architecture) }}

Diff for: .github/workflows/soaking.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ on:
1616
permissions:
1717
id-token: write
1818
contents: read
19-
19+
2020
jobs:
2121
soaking-test:
22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-22.04
2323
name: Soak Test - (${{ matrix.language }}, ${{ matrix.sample-app }}, ${{ matrix.instrumentation-type }}, ${{ matrix.architecture }})
2424
strategy:
2525
fail-fast: false
@@ -277,7 +277,7 @@ jobs:
277277
output-keywords:
278278
if: ${{ always() }}
279279
name: Output (${{ matrix.language }}, ${{ matrix.instrumentation-type }}) Layer Keyword
280-
runs-on: ubuntu-20.04
280+
runs-on: ubuntu-22.04
281281
needs:
282282
- soaking-test
283283
strategy:

Diff for: .github/workflows/stale-bot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
jobs:
2020
stale-close:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-22.04
2222
steps:
2323
- name: Mark the issues/pr
2424
uses: actions/stale@v9

0 commit comments

Comments
 (0)