0xPolygon / kurtosis-cdk

A Kurtosis package that deploys a private, portable, and modular Polygon CDK devnet
https://docs.polygon.technology/cdk
Apache License 2.0
29 stars 47 forks source link

add shared cdk regression test action #108

Closed rebelArtists closed 2 months ago

rebelArtists commented 2 months ago

Description

Deploys local kurtosis CDK devnet entirely on a git action runner and performs a series of regression tests. User has option to fully configure devent by specifying commit id/release tag of each upstream repo!

References (if applicable)

latest git action code working fully in forked repo here: https://github.com/rebelArtists/agglayer/actions/runs/8973618743/job/24644212228

How to publish new version of public git action

git tag -a v0.1.6 -m "new release"
git push --tags

then, action can referenced anywhere, as exampled below:

name: Custom CDK Devnets

on:
  push:

jobs:
  regression_tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v2

      - name: Run Regression Tests
        uses: 0xPolygon/kurtosis-cdk@v0.1.6
        with:
          zkevm_agglayer: '0.1.4'
          zkevm_bridge_service: 'v0.4.2'
          zkevm_bridge_ui: '0006445'
          zkevm_dac: '0.0.7'
          zkevm_node: '0.6.5-cdk'
          kurtosis_cli: '0.89.3'
          kurtosis_cdk: 'v0.2.0'
          bake_time: 30
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud