forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (42 loc) · 1.24 KB
/
build-erigon.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Source build Erigon
defaults:
run:
shell: bash
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
- 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