-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ccampbell/limit-unprocessed-query
- Loading branch information
Showing
8 changed files
with
110 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,26 +9,37 @@ on: | |
jobs: | ||
deploy_devnet: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
- 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: Build image (with proposed code changes) locally | ||
id: build | ||
- 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: | | ||
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then | ||
GITHUB_SHA_SHORT=$(jq -r .pull_request.head.sha "$GITHUB_EVENT_PATH" | cut -c 1-7) | ||
echo $GITHUB_SHA_SHORT | ||
echo "::set-output name=GITHUB_SHA_SHORT::$GITHUB_SHA_SHORT" | ||
fi | ||
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: Set up Docker | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Deploy Kurtosis CDK package | ||
working-directory: ./kurtosis-cdk | ||
run: kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always . | ||
|
||
- name: Run regression tests against JIT container image | ||
uses: 0xPolygon/[email protected] | ||
with: | ||
zkevm_dac: ${{ steps.build.outputs.GITHUB_SHA_SHORT }} | ||
kurtosis_cli: 0.89.3 | ||
kurtosis_cdk: v0.2.0 | ||
- name: Monitor verified batches | ||
working-directory: ./kurtosis-cdk | ||
shell: bash | ||
run: .github/actions/monitor-cdk-verified-batches/batch_verification_monitor.sh 19 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.