Refactor ethd config #769
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Client Combination | |
| defaults: | |
| run: | |
| shell: bash | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize, labeled, unlabeled] | |
| branches: [main] | |
| jobs: | |
| test-client-combo: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| combo: | |
| - label1: test-vero | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=nimbus-cl-only.yml:vero-vc-only.yml:nethermind.yml:web3signer.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| WEB3SIGNER=true | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-caplin | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=caplin.yml:erigon.yml:lodestar-vc-only.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| CL_NODE=http://execution:5052 | |
| EL_EXTRAS=--torrent.download.rate 1mb | |
| test_cl: false | |
| test_el: true | |
| test_vc: true | |
| - label1: test-grandine | |
| label2: test-nimbus-el | |
| env: |- | |
| COMPOSE_FILE=grandine-allin1.yml:nimbus-el.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: false | |
| - label1: test-grandine | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=grandine-cl-only.yml:lighthouse-vc-only.yml:nimbus-el.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-grandine-plugin | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=grandine-plugin.yml:lighthouse-vc-only.yml:nethermind.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| NM_DOCKER_REPO=sifrai/grandine | |
| NM_DOCKER_TAG=unstable-nethermind | |
| test_cl: false | |
| test_el: true | |
| test_vc: true | |
| - label1: test-grandine-plugin | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=grandine-plugin-allin1.yml:nethermind.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| NM_DOCKER_REPO=sifrai/grandine | |
| NM_DOCKER_TAG=unstable-nethermind | |
| test_cl: false | |
| test_el: true | |
| test_vc: false | |
| - label1: test-ethrex | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=lighthouse.yml:ethrex.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-lighthouse | |
| label2: test-reth | |
| env: |- | |
| COMPOSE_FILE=lighthouse.yml:reth.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-lighthouse | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=lighthouse-cl-only.yml:lighthouse-vc-only.yml:reth.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-lodestar | |
| label2: test-erigon | |
| env: |- | |
| COMPOSE_FILE=lodestar.yml:erigon.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-lodestar | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=lodestar-cl-only.yml:lodestar-vc-only.yml:erigon.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-nimbus | |
| label2: test-nethermind | |
| env: |- | |
| COMPOSE_FILE=nimbus.yml:nethermind.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-nimbus | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=nimbus-cl-only.yml:nimbus-vc-only.yml:nethermind.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-prysm | |
| label2: test-geth | |
| env: |- | |
| COMPOSE_FILE=prysm.yml:geth.yml:mev-boost.yml | |
| CL_NODE=consensus:4000 | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-prysm | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=prysm-cl-only.yml:prysm-vc-only.yml:geth.yml:mev-boost.yml | |
| CL_NODE=consensus:4000 | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-teku | |
| label2: test-besu | |
| env: |- | |
| COMPOSE_FILE=teku.yml:besu.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| - label1: test-teku | |
| label2: na | |
| env: |- | |
| COMPOSE_FILE=teku-cl-only.yml:teku-vc-only.yml:besu.yml:mev-boost.yml | |
| FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
| test_cl: true | |
| test_el: true | |
| test_vc: true | |
| env-var: | |
| - MEV_BOOST=false | |
| - "MEV_BOOST=true MEV_BUILD_FACTOR=" | |
| - "MEV_BOOST=true MEV_BUILD_FACTOR=90" | |
| - "MEV_BOOST=true MEV_BUILD_FACTOR=100" | |
| - "MEV_BOOST=true MEV_BUILD_FACTOR=0" | |
| - MAX_BLOBS=6 | |
| - "CL_MAX_PEER_COUNT=100 CL_MIN_PEER_COUNT=20 EL_MAX_PEER_COUNT=10" | |
| - IPV6=true | |
| - IPV6=false | |
| - EL_NODE_TYPE=full | |
| - CHECKPOINT_SYNC_URL= | |
| steps: | |
| - name: Checkout | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label1) || | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label2) || | |
| contains(github.event.pull_request.labels.*.name, 'test-all') || | |
| github.event_name == 'push' | |
| uses: actions/checkout@v6 | |
| - name: Set up Docker buildx | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label1) || | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label2) || | |
| contains(github.event.pull_request.labels.*.name, 'test-all') || | |
| github.event_name == 'push' | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Create .env file | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label1) || | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label2) || | |
| contains(github.event.pull_request.labels.*.name, 'test-all') || | |
| github.event_name == 'push' | |
| run: cp default.env .env | |
| - name: Set env variables | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label1) || | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label2) || | |
| contains(github.event.pull_request.labels.*.name, 'test-all') || | |
| github.event_name == 'push' | |
| run: | | |
| source ./.github/helper.sh | |
| while IFS= read -r varpair; do | |
| IFS='=' read var val <<< "$varpair" | |
| export "$var=$val" | |
| var=$var | |
| set_value_in_env | |
| done <<< "${{ matrix.combo.env }}" | |
| for varpair in ${{ matrix.env-var }}; do | |
| IFS="=" read var val <<< "$varpair" | |
| export "$var=$val" | |
| var=$var | |
| set_value_in_env | |
| done | |
| - name: Test the stack | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label1) || | |
| contains(github.event.pull_request.labels.*.name, matrix.combo.label2) || | |
| contains(github.event.pull_request.labels.*.name, 'test-all') || | |
| github.event_name == 'push' | |
| uses: ./.github/actions/test_client_stack | |
| with: | |
| test_cl: ${{ matrix.combo.test_cl }} | |
| test_el: ${{ matrix.combo.test_el }} | |
| test_vc: ${{ matrix.combo.test_vc }} |