-
Notifications
You must be signed in to change notification settings - Fork 89
45 lines (37 loc) · 1.42 KB
/
regression-tests.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: Regression Tests
on:
pull_request:
types: [opened, synchronize] # Trigger on new PR and existing with new commits
branches:
- main
jobs:
deploy_devnet:
runs-on: ubuntu-latest
steps:
- name: Checkout cdk-data-availability
uses: actions/checkout@v4
with:
path: cdk-data-availability
- name: Checkout kurtosis-cdk
uses: actions/checkout@v4
with:
repository: 0xPolygon/kurtosis-cdk
ref: feat/cdk-erigon-zkevm
path: kurtosis-cdk
- name: Install Kurtosis CDK tools
uses: ./kurtosis-cdk/.github/actions/setup-kurtosis-cdk
- name: Build docker image
working-directory: ./cdk-data-availability
run: docker build -t cdk-data-availability:local --file Dockerfile .
- name: Configure Kurtosis CDK
working-directory: ./kurtosis-cdk
run: |
yq -Y --in-place '.args.data_availability_mode = "cdk-validium"' params.yml
yq -Y --in-place '.args.zkevm_da_image = "cdk-data-availability:local"' params.yml
- name: Deploy Kurtosis CDK package
working-directory: ./kurtosis-cdk
run: kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .
- name: Monitor verified batches
working-directory: ./kurtosis-cdk
shell: bash
run: .github/actions/monitor-cdk-verified-batches/batch_verification_monitor.sh 19 600