Skip to content

Commit

Permalink
target self-hosted runners using labels; increment test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
mriccobene committed Dec 11, 2024
1 parent 83f8b1c commit 2a043db
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/testing-release-with-qa-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ run-name: test - Release ${{ inputs.release_version }} from branch ${{ inputs.ch

env:
APPLICATION: "erigon"
APPLICATION_VERSION: "Erigon2"
BUILDER_IMAGE: "golang:1.22-bookworm"
TARGET_BASE_IMAGE: "debian:12.7-slim"
APP_REPO: "erigontech/erigon"
CHECKOUT_REF: "release/2.60"
DOCKERHUB_REPOSITORY: "erigontech/dev-erigon"
TEST_TRACKING_TIME_SECONDS: 7200 # 2 hours
TEST_TOTAL_TIME_SECONDS: 18000 # 5 hours
TEST_TOTAL_TIME_SECONDS: 432000 # 5 days
TEST_CHAIN: "mainnet"
LABEL_DESCRIPTION: "Erigon is an implementation of Ethereum (execution layer with embeddable consensus layer), on the efficiency frontier. Archive Node by default."

Expand Down Expand Up @@ -165,25 +166,26 @@ jobs:

test-release:
name: test on ${{ matrix.id }}
runs-on: ${{ matrix.runner }}
runs-on: [ self-hosted, Release, "${{ matrix.runner-arch }}" ]
timeout-minutes: 7200 # 5 days
needs: [ build-release ]
strategy:
matrix:
include:
- id: linux/amd64
#runner: ubuntu-latest-release-test-amd64
#runner: ubuntu-latest-devops-large
runner: BMHZ-QA-Test_Runner-Erigon-n5
runner-arch: X64
artifact: linux_amd64
- id: linux/amd64/v2
#runner: ubuntu-latest-release-test-amd64
#runner: ubuntu-latest-devops-large
runner: BMHZ-QA-Test_Runner-Erigon-n5
runner-arch: X64
artifact: linux_amd64v2
- id: linux/arm64
#runner: ubuntu-latest-release-test-arm64
#runner: ubuntu-latest-devops-large-arm
runner: BMHZ-QA-Test_Runner-Erigon-n6
runner-arch: ARM64
artifact: linux_arm64


Expand Down Expand Up @@ -231,7 +233,7 @@ jobs:
# Run Erigon, wait sync and check ability to maintain sync
python3 qa-tests/tip-tracking/run_and_check_tip_tracking.py \
${GITHUB_WORKSPACE}/${{ env.APPLICATION }}_${{ inputs.release_version }}_${{ matrix.artifact }} \
${RUNNER_WORKSPACE}/erigon-data ${{ env.TEST_TRACKING_TIME_SECONDS }} ${{ env.TEST_TOTAL_TIME_SECONDS }} Erigon2 ${{ env.TEST_CHAIN }}
${RUNNER_WORKSPACE}/erigon-data ${{ env.TEST_TRACKING_TIME_SECONDS }} ${{ env.TEST_TOTAL_TIME_SECONDS }} ${{ env.APPLICATION_VERSION }} ${{ env.TEST_CHAIN }}
# Capture monitoring script exit status
test_exit_status=$?
# Save the subsection reached status
Expand Down

0 comments on commit 2a043db

Please sign in to comment.