forked from 0xPolygonHermez/cdk-erigon
-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (42 loc) · 1.47 KB
/
nightly-ansible.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
name: Nightly - Ansible
on:
schedule:
- cron: '30 1 * * *' # run at 1:30am to stagger tests
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: "Integration 5"
rpc_url: "http://34.175.214.161:8500"
eth_address: "0x41BB6960a5156aC29d6e9E04273837AD19d6691A"
secret_name: "NETWORK5_PRIVATE_KEY"
log_file: "/tmp/rpc-tests.d/evm-rpc-tests.log"
work_dir: "/tmp/rpc-tests.d"
max_block_size: "25000000"
legacy_flag: "--legacy"
block_interval: "12"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Run Docker Compose
env:
RPC_URL: ${{ matrix.rpc_url }}
PRIVATE_KEY: ${{ secrets[matrix.secret_name] }}
ETH_ADDRESS: ${{ matrix.eth_address }}
LOG_FILE: ${{ matrix.log_file }}
WORK_DIR: ${{ matrix.work_dir }}
MAX_BLOCK_SIZE: ${{ matrix.max_block_size }}
LEGACY_FLAG: ${{ matrix.legacy_flag }}
BLOCK_INTERVAL: ${{ matrix.block_interval }}
run: |
cd zk/tests/ansible/evm-rpc-tests && docker-compose up --build
- name: Upload logs
uses: actions/upload-artifact@v3
with:
name: evm-rpc-tests-logs-${{ matrix.nodes.name }}
path: ./logs/evm-rpc-tests.log