Skip to content

Commit

Permalink
Update Github Actions runners image version
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
  • Loading branch information
fab-10 committed Feb 3, 2025
1 parent a94f376 commit 79bb8c9
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
acceptanceTestEthereum:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: "Acceptance Runner"
permissions:
statuses: write
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
path: 'acceptance-tests/tests/build/reports/tests/**'
accepttests-passed:
name: "accepttests-passed"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ acceptanceTestEthereum ]
permissions:
checks: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
hadolint:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -35,15 +35,15 @@ jobs:
fail-fast: false
matrix:
platform:
- ubuntu-22.04
- ubuntu-24.04
- besu-arm64
runs-on: ${{ matrix.platform }}
steps:
- name: Prepare
id: prep
run: |
platform=${{ matrix.platform }}
if [ "$platform" = 'ubuntu-22.04' ]; then
if [ "$platform" = 'ubuntu-24.04' ]; then
echo "PLATFORM_PAIR=linux-amd64" >> $GITHUB_OUTPUT
echo "ARCH=amd64" >> $GITHUB_OUTPUT
else
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
run: ./gradlew --no-daemon dockerUpload -PdockerOrgName=${{ env.registry }}/${{ secrets.DOCKER_ORG }} -Pversion=${{ env.BUILD_TARGET_NAME }} -Prelease.releaseVersion=develop
multiArch:
needs: buildDocker
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
validate:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
RELEASE_VERSION: "${{ github.event.release.name }}"
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
needs: [validate]
env:
RELEASE_VERSION: ${{ needs.validate.outputs.release_version }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
combination:
- tag: latest-amd64
platform: 'linux/amd64'
runner: ubuntu-22.04
runner: ubuntu-24.04
- tag: latest
platform: ''
runner: ubuntu-22.04
runner: ubuntu-24.04
- tag: latest-arm64
platform: ''
runner: besu-arm64
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
validate:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
RELEASE_VERSION: "${{ inputs.tag }}"
steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
release_version: ${{ steps.validate_release_version.outputs.release_version }}

build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: validate
env:
RELEASE_VERSION: ${{ needs.validate.outputs.release_version }} # Use the output from the pre_process_release job
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
besu\bin\besu.bat --version
test-linux:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: ["build"]
timeout-minutes: 5
steps:
Expand All @@ -169,7 +169,7 @@ jobs:
besu-test/bin/besu --version
docker-lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [test-linux, test-windows]
env:
RELEASE_VERSION: ${{ needs.validate.outputs.release_version }} # Use the output from the pre_process_release job
Expand All @@ -190,15 +190,15 @@ jobs:
fail-fast: false
matrix:
platform:
- ubuntu-22.04
- ubuntu-24.04
- besu-arm64
runs-on: ${{ matrix.platform }}
steps:
- name: Prepare
id: prep
run: |
platform=${{ matrix.platform }}
if [ "$platform" = 'ubuntu-22.04' ]; then
if [ "$platform" = 'ubuntu-24.04' ]; then
echo "PLATFORM_PAIR=linux-amd64" >> $GITHUB_OUTPUT
echo "ARCH=amd64" >> $GITHUB_OUTPUT
else
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:

docker-manifest:
needs: [validate, docker-publish]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
RELEASE_VERSION: ${{ needs.validate.outputs.release_version }}
steps:
Expand Down Expand Up @@ -295,10 +295,10 @@ jobs:
combination:
- tag: ${{ needs.validate.outputs.release_version }}
platform: ''
runner: ubuntu-22.04
runner: ubuntu-24.04
- tag: ${{ needs.validate.outputs.release_version }}-amd64
platform: 'linux/amd64'
runner: ubuntu-22.04
runner: ubuntu-24.04
- tag: ${{ needs.validate.outputs.release_version }}-arm64
platform: ''
runner: besu-arm64
Expand All @@ -325,7 +325,7 @@ jobs:
run: docker stop ${{ env.CONTAINER_NAME }}

release-draft:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [validate, test-linux, test-windows]
permissions:
contents: write
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
GH_TOKEN: ${{ github.token }}

artifactory:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [validate, test-linux, test-windows]
env:
RELEASE_VERSION: ${{ needs.validate.outputs.release_version }}
Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
run: ./gradlew -Prelease.releaseVersion=${{ env.RELEASE_VERSION }} -Pversion=${{env.RELEASE_VERSION}} artifactoryPublish

verify_artifactory:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [artifactory, validate, test-linux, test-windows]
steps:
- name: checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
integration-tests:
name: "integration-passed"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
statuses: write
checks: write
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pre-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
repolint:
name: "Repository Linting"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container: ghcr.io/todogroup/repolinter:v0.11.2
steps:
- name: Checkout Code
Expand All @@ -29,14 +29,14 @@ jobs:
run: bundle exec /app/bin/repolinter.js --rulesetUrl https://raw.githubusercontent.com/hyperledger-labs/hyperledger-community-management-tools/main/repo_structure/repolint.json --format markdown
gradle-wrapper:
name: "Gradle Wrapper Validation"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4
spotless:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand All @@ -54,7 +54,7 @@ jobs:
- name: run spotless
run: ./gradlew spotlessCheck
compile:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30
needs: [spotless, gradle-wrapper, repolint]
steps:
Expand All @@ -76,7 +76,7 @@ jobs:
unitTests:
env:
GRADLEW_UNIT_TEST_ARGS: ${{matrix.gradle_args}}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [spotless, gradle-wrapper, repolint]
permissions:
checks: write
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
path: '**/build/reports/tests/test/**'
unittests-passed:
name: "unittests-passed"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [compile, unitTests]
permissions:
checks: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reference-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
referenceTestEthereum:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
statuses: write
checks: write
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
path: '**/build/test-results/referenceTests/TEST-*.xml'
reftests-passed:
name: "reftests-passed"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ referenceTestEthereum ]
permissions:
checks: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-test-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
syncTestReports:
if: github.repository == 'hyperledger/besu'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Get latest merge PR number
id: latest_merged_pr_number
Expand Down

0 comments on commit 79bb8c9

Please sign in to comment.