Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
debuggin
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelArtists committed Apr 10, 2024
1 parent 26f5c24 commit a4d88a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/regression-test-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ name: Regression Tests - Auto Merge to Main
types: [opened, synchronize] # Trigger on new pull requests and when existing ones are synchronized
branches:
- main
inputs:
bake_time:
description: bake time (minutes)
required: false
default: 20

jobs:
deploy_devnet:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,8 +42,9 @@ jobs:
kurtosis run --enclave cdk-v1 --args-file params.yml .
- name: Monitor and report any potential regressions to CI logs
run: |
bake_time="${{ inputs.bake_time }}"
end_minute=$(( $(date +'%M') + bake_time))
bake_time=20
current_minute=$(date +'%M')
end_minute=$(( (current_minute + bake_time) % 60 ))
export ETH_RPC_URL="$(kurtosis port print cdk-v1 zkevm-node-rpc-001 http-rpc)"
INITIAL_STATUS=$(cast rpc zkevm_verifiedBatchNumber 2>/dev/null)
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/regression-test-manual-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
- name: Monitor and report any potential regressions to CI logs
run: |
bake_time="${{ github.event.inputs.bake_time }}"
end_minute=$(( $(date +'%M') + bake_time))
current_minute=$(date +'%M')
end_minute=$(( (current_minute + bake_time) % 60 ))
export ETH_RPC_URL="$(kurtosis port print cdk-v1 zkevm-node-rpc-001 http-rpc)"
INITIAL_STATUS=$(cast rpc zkevm_verifiedBatchNumber 2>/dev/null)
Expand Down

0 comments on commit a4d88a3

Please sign in to comment.