Skip to content

Nightly - Ansible

Nightly - Ansible #1

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