-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/eth-educators/eth-docker in…
…to remove-extnetwork
- Loading branch information
Showing
9 changed files
with
179 additions
and
22 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,64 @@ | ||
name: Source build Nimbus on Gnosis | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-nimbus: | ||
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 | ||
NIM_DOCKERFILE=Dockerfile.sourcegnosis | ||
var=NIM_DOCKERFILE | ||
set_value_in_env | ||
NETWORK=gnosis | ||
var=NETWORK | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
- name: Start Nimbus/Nethermind | ||
run: ./ethd up | ||
- name: Pause for 30 seconds | ||
run: sleep 30 | ||
- name: Test Nimbus CL | ||
run: ./.github/check-service.sh consensus | ||
- name: Test Nimbus VC | ||
run: ./.github/check-service.sh validator | ||
- name: Test Nethermind | ||
run: ./.github/check-service.sh execution | ||
- 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: Start Nimbus/Nethermind | ||
run: ./ethd up | ||
- name: Pause for 30 seconds | ||
run: sleep 30 | ||
- name: Test Nimbus CL | ||
run: ./.github/check-service.sh consensus | ||
- name: Test Nimbus VC | ||
run: ./.github/check-service.sh validator | ||
- name: Test Nethermind | ||
run: ./.github/check-service.sh execution |
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,61 @@ | ||
name: Source build Nimbus with Ethereum slot time | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
on: | ||
schedule: | ||
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-nimbus: | ||
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 | ||
NIM_DOCKERFILE=Dockerfile.sourceslottime | ||
var=NIM_DOCKERFILE | ||
set_value_in_env | ||
- name: Build clients | ||
run: ./ethd update | ||
- name: Start Nimbus/Nethermind | ||
run: ./ethd up | ||
- name: Pause for 30 seconds | ||
run: sleep 30 | ||
- name: Test Nimbus CL | ||
run: ./.github/check-service.sh consensus | ||
- name: Test Nimbus VC | ||
run: ./.github/check-service.sh validator | ||
- name: Test Nethermind | ||
run: ./.github/check-service.sh execution | ||
- 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: Start Nimbus/Nethermind | ||
run: ./ethd up | ||
- name: Pause for 30 seconds | ||
run: sleep 30 | ||
- name: Test Nimbus CL | ||
run: ./.github/check-service.sh consensus | ||
- name: Test Nimbus VC | ||
run: ./.github/check-service.sh validator | ||
- name: Test Nethermind | ||
run: ./.github/check-service.sh execution |
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
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
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
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
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
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
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