-
Notifications
You must be signed in to change notification settings - Fork 18
70 lines (54 loc) · 1.72 KB
/
build-testnet-config.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Build Testnet Config
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build_config:
name: Build Testnet Config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build testnet configs
run: bash ./scripts/build-genesis.sh
- name: Build validator names
run: bash ./scripts/build-validator-names.sh
- name: Build bootnodes
run: bash ./scripts/build-bootnodes.sh
- name: Build nodevars.env
run: bash ./scripts/build-nodevars.sh
- name: Build legacy configs
run: bash ./scripts/build-legacy-config.sh
- name: Check all generated configs
run: bash ./scripts/check-genesis.sh
- name: Pack testnet configs
run: cd dist && tar cfz network-config.tar.gz *
- name: Upload full config artifact
uses: actions/upload-artifact@v3
with:
path: ./dist/network-config.tar.gz
name: network-config.tar.gz
- name: Pack legacy testnet configs
run: cd dist2 && tar cfz testnet-all.tar.gz *
- name: Upload full config artifact
uses: actions/upload-artifact@v3
with:
path: ./dist2/testnet-all.tar.gz
name: testnet-all.tar.gz
- name: Upload genesis.json artifact
uses: actions/upload-artifact@v3
with:
path: ./dist/metadata/genesis.json
name: genesis.json
- name: Upload config.yaml artifact
uses: actions/upload-artifact@v3
with:
path: ./dist/metadata/config.yaml
name: config.yaml
- name: Upload genesis.ssz artifact
uses: actions/upload-artifact@v3
with:
path: ./dist/metadata/genesis.ssz
name: genesis.ssz