Skip to content

Commit

Permalink
Upload kurtosis logs on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Jun 12, 2024
1 parent 11191f5 commit c8bef4c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci_zkevm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,21 @@ jobs:
working-directory: ./kurtosis-cdk
shell: bash
run: .github/actions/monitor-cdk-verified-batches/batch_verification_monitor.sh 20 600 cdk-erigon-node-001

- name: Prepare logs
working-directory: ./kurtosis-cdk
if: failure()
run: |
mkdir -p ci_logs
cd ci_logs
kurtosis service logs cdk-v1 cdk-erigon-node-001 --all > cdk-erigon-node-001.log
kurtosis service logs cdk-v1 cdk-erigon-sequencer-001 --all > cdk-erigon-sequencer-001.log
- name: Upload logs
working-directory: ./kurtosis-cdk
if: failure()
uses: actions/upload-artifact@v3
with:
name: logs_${{ github.run_id }}
path: |
ci_logs

0 comments on commit c8bef4c

Please sign in to comment.