diff --git a/.github/actions/snapsync-run/action.yml b/.github/actions/snapsync-run/action.yml index 6197d042d8d..7d38e68326d 100644 --- a/.github/actions/snapsync-run/action.yml +++ b/.github/actions/snapsync-run/action.yml @@ -15,6 +15,14 @@ inputs: description: Ethrex Docker image tag. required: false default: main + cl_type: + description: Consensus layer type (lighthouse, prysm, etc). + required: false + default: lighthouse + cl_image: + description: Consensus layer Docker image and tag. + required: false + default: sigp/lighthouse:v8.0.1 runs: using: composite @@ -33,6 +41,8 @@ runs: TIMEOUT: ${{ inputs.timeout }} ETHREX_IMAGE: ${{ inputs.ethrex_image }} ETHREX_TAG: ${{ inputs.ethrex_tag }} + CL_TYPE: ${{ inputs.cl_type }} + CL_IMAGE: ${{ inputs.cl_image }} run: | cat > .github/config/assertoor/network_params.generated.yaml <> "$GITHUB_OUTPUT" - sync: + sync-lighthouse: needs: prepare - name: Sync ${{ matrix.network }} + name: Sync ${{ matrix.network }} - Lighthouse runs-on: ethrex-sync strategy: fail-fast: false @@ -70,3 +70,25 @@ jobs: with: network: ${{ matrix.network }} timeout: ${{ matrix.timeout }} + cl_type: lighthouse + cl_image: "sigp/lighthouse:v8.0.1" + + sync-prysm: + needs: prepare + name: Sync ${{ matrix.network }} - Prysm + runs-on: ethrex-sync + strategy: + fail-fast: false + matrix: + include: ${{ fromJson(needs.prepare.outputs.matrix) }} + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Run Snapsync Test + uses: ./.github/actions/snapsync-run + with: + network: ${{ matrix.network }} + timeout: ${{ matrix.timeout }} + cl_type: prysm + cl_image: "gcr.io/offchainlabs/prysm/beacon-chain:v7.1.0"