Skip to content

Commit

Permalink
[build] Switch to ubuntu-22.04 runner (#3988)
Browse files Browse the repository at this point in the history
ubuntu-20.04 runner is deprecated
actions/runner-images#11101

with ubuntu-latest, huge delays in the executions are observed

Signed-off-by: Violeta Georgieva <[email protected]>
  • Loading branch information
violetagg authored Feb 17, 2025
1 parent 88f2226 commit dedb393
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permissions: read-all
jobs:
preliminary:
name: preliminary sanity checks
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
with:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
echo ""
exit -1
run-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions: read-all
jobs:
run-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions: read-all
jobs:
validation:
name: "validation"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
- uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
prepare:
# Notes on prepare: this job has no access to secrets, only github token. As a result, all non-core actions are centralized here
# This includes the tagging and drafting of release notes. Still, when possible we favor plain run of gradle tasks
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
#deploy the snapshot artifacts to Artifactory
deploySnapshot:
name: deploySnapshot
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: prepare
if: needs.prepare.outputs.versionType == 'SNAPSHOT'
environment: snapshots
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
#sign the milestone artifacts and deploy them to Artifactory
deployMilestone:
name: deployMilestone
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: prepare
if: needs.prepare.outputs.versionType == 'MILESTONE'
environment: releases
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
#sign the release artifacts and deploy them to Artifactory
deployRelease:
name: deployRelease
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: prepare
if: needs.prepare.outputs.versionType == 'RELEASE'
environment: releases
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
tagMilestone:
name: Tag milestone
needs: [ prepare, deployMilestone ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
Expand All @@ -200,7 +200,7 @@ jobs:
tagRelease:
name: Tag release
needs: [ prepare, deployRelease ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions: read-all
jobs:
run-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit dedb393

Please sign in to comment.