Skip to content

Commit

Permalink
Add a local kurtosis devnet to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Jun 7, 2024
1 parent b43e4d2 commit 0a25a59
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .github/workflows/ci_zkevm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,41 @@ jobs:
# version: v1.54

- name: Test
run: make test
run: make test

kurtosis-cdk:
runs-on: ubuntu-latest
steps:
- name: Checkout cdk-erigon
uses: actions/checkout@v4
with:
path: cdk-erigon

- 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
run: |
cd cdk-erigon
docker build -t cdk-erigon:local --file Dockerfile .
- name: Configure Kurtosis CDK
run: |
cd kurtosis-cdk
yq -Y --in-place '.args.data_availability_mode = "rollup"' params.yml
yq -Y --in-place '.args.cdk_erigon_node_image = "cdk-erigon:local"' params.yml
- name: Deploy Kurtosis CDK package
run: |
cd kurtosis-cdk
kurtosis run --enclave cdk-v1 --image-download always .
- name: Monitor verified batches
uses: ./.github/actions/monitor-cdk-verified-batches

0 comments on commit 0a25a59

Please sign in to comment.