forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4588f4
commit 84c15b5
Showing
20 changed files
with
608 additions
and
110 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Test Client Stack" | ||
description: "A custom action to test CL, VC and EL" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Start client combo | ||
run: ./ethd up | ||
shell: bash | ||
- name: Pause for 30 seconds | ||
run: sleep 30 | ||
shell: bash | ||
- name: Test CL | ||
run: ./.github/check-service.sh consensus | ||
shell: bash | ||
- name: Test VC | ||
run: ./.github/check-service.sh validator | ||
shell: bash | ||
- name: Test EL | ||
run: ./.github/check-service.sh execution | ||
shell: bash |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Source build Besu | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-besu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Teku/Besu | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=teku.yml:besu.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
BESU_DOCKERFILE=Dockerfile.source | ||
var=BESU_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack | ||
- name: Set Teku/Besu w/ VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=teku-cl-only.yml:teku-vc-only.yml:besu.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Source build Besu | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-besu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set ethstaker-deposit-cli | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=deposit-cli.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
DEPCLI_DOCKERFILE=Dockerfile.source | ||
var=DEPCLI_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Source build Erigon | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-erigon: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Lodestar/Erigon | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=lodestar.yml:erigon.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
ERIGON_DOCKERFILE=Dockerfile.source | ||
var=ERIGON_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack | ||
- name: Set Lodestar/Erigon w/ VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=lodestar-cl-only.yml:lodestar-vc-only.yml:erigon.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Source build Geth | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-geth: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Prysm/Geth | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=prysm.yml:geth.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
CL_NODE=consensus:4000 | ||
var=CL_NODE | ||
set_value_in_env | ||
GETH_DOCKERFILE=Dockerfile.source | ||
var=GETH_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack | ||
- name: Set Prysm/Geth w/ VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=prysm-cl-only.yml:prysm-vc-only.yml:geth.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Source build Grandine | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-grandine: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Grandine/Reth | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=grandine-allin1.yml:reth.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
GRANDINE_DOCKERFILE=Dockerfile.source | ||
var=GRANDINE_DOCKERFILE | ||
set_value_in_env | ||
- name: Build Grandine | ||
run: ./ethd update | ||
shell: bash | ||
- name: Start Grandine/Reth | ||
run: ./ethd up | ||
shell: bash | ||
- name: Pause for 30 seconds | ||
run: sleep 30 | ||
shell: bash | ||
- name: Test Reth | ||
run: ./.github/check-service.sh execution | ||
shell: bash | ||
- name: Test Grandine CL | ||
run: ./.github/check-service.sh consensus | ||
shell: bash | ||
# - name: Test Grandine VC | ||
# run: ./.github/check-service.sh validator | ||
- name: Set Grandine/Reth w/ Lighthouse VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=grandine-cl-only.yml:lighthouse-vc-only.yml:reth.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Source build Lighthouse | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-lighthouse: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Lighthouse/Reth | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=lighthouse.yml:reth.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
LH_DOCKERFILE=Dockerfile.source | ||
var=LH_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack | ||
- name: Set Lighthouse/Reth w/ VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=lighthouse-cl-only.yml:lighthouse-vc-only.yml:reth.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Source build Lodestar | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-lodestar: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Lodestar/Erigon | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=lodestar.yml:erigon.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
LS_DOCKERFILE=Dockerfile.source | ||
var=LS_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack | ||
- name: Set Lodestar/Erigon w/ VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=lodestar-cl-only.yml:lodestar-vc-only.yml:erigon.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Source build Nethermind | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-nethermind: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Create .env file | ||
run: cp default.env .env | ||
- name: Set Nimbus/Nethermind | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=nimbus.yml:nethermind.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | ||
var=FEE_RECIPIENT | ||
set_value_in_env | ||
NM_DOCKERFILE=Dockerfile.source | ||
var=NM_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
shell: bash | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack | ||
- name: Set Nimbus/Nethermind w/ VC | ||
run: | | ||
source ./.github/helper.sh | ||
COMPOSE_FILE=nimbus-cl-only.yml:nimbus-vc-only.yml:nethermind.yml | ||
var=COMPOSE_FILE | ||
set_value_in_env | ||
- name: Test the stack | ||
uses: ./.github/actions/test_client_stack |
Oops, something went wrong.