Skip to content

Commit 8ab585c

Browse files
authored
Update ubuntu images (#6732)
ubuntu-18.04 is deprecated. For that reason, `azure` module is being deprecated from the CI.
1 parent 000cba7 commit 8ab585c

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/ci-docker-wormhole.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
in-docker_test:
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-20.04
1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Build with Gradle

.github/workflows/ci-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
find_gradle_jobs:
22-
runs-on: ubuntu-18.04
22+
runs-on: ubuntu-20.04
2323
outputs:
2424
matrix: ${{ steps.set-matrix.outputs.matrix }}
2525
steps:
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix: ${{ fromJson(needs.find_gradle_jobs.outputs.matrix) }}
48-
runs-on: ubuntu-18.04
48+
runs-on: ubuntu-20.04
4949
steps:
5050
- uses: actions/checkout@v3
5151
- uses: actions/setup-java@v3

.github/workflows/ci-rootless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
test:
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-20.04
1717
strategy:
1818
fail-fast: false
1919
matrix:

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
find_gradle_jobs:
22-
runs-on: ubuntu-18.04
22+
runs-on: ubuntu-20.04
2323
outputs:
2424
matrix: ${{ steps.set-matrix.outputs.matrix }}
2525
steps:
@@ -36,15 +36,15 @@ jobs:
3636
# we should not push empty results to the cache
3737
READ_ONLY_REMOTE_GRADLE_CACHE: true
3838
run: |
39-
TASKS=$(./gradlew --no-daemon --parallel -q testMatrix)
39+
TASKS=$(./gradlew --no-daemon --parallel -q testMatrix | jq 'del(.[] | select(. == ":azure:check"))' --compact-output)
4040
echo $TASKS
4141
echo "matrix={\"gradle_args\":$TASKS}" >> $GITHUB_OUTPUT
4242
check:
4343
needs: [find_gradle_jobs]
4444
strategy:
4545
fail-fast: false
4646
matrix: ${{ fromJson(needs.find_gradle_jobs.outputs.matrix) }}
47-
runs-on: ubuntu-18.04
47+
runs-on: ubuntu-20.04
4848
steps:
4949
- uses: actions/checkout@v3
5050
- uses: actions/setup-java@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
release:
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-20.04
1717
steps:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-java@v3

.github/workflows/update-docs-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
contents: write # for peter-evans/create-pull-request to create branch
1414
pull-requests: write # for peter-evans/create-pull-request to create a PR
1515
if: github.repository == 'testcontainers/testcontainers-java'
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-20.04
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:

.github/workflows/update-testcontainers-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
contents: write # for peter-evans/create-pull-request to create branch
1414
pull-requests: write # for peter-evans/create-pull-request to create a PR
1515
if: github.repository == 'testcontainers/testcontainers-java'
16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-20.04
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:

0 commit comments

Comments
 (0)