Skip to content

Commit

Permalink
chore: Save kind smoke test logs as artifact (#11212)
Browse files Browse the repository at this point in the history
Saves the logs from the kind-smoke test as an artifact so we can debug
failures. See
[here](https://github.com/AztecProtocol/aztec-packages/actions/runs/12768996955?pr=11212)
for an example run.
  • Loading branch information
spalladino authored Jan 14, 2025
1 parent 107f175 commit 1389a5b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,15 @@ jobs:
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u aztecprotocolci --password-stdin
cd yarn-project/end-to-end
NAMESPACE=smoke FRESH_INSTALL=true VALUES_FILE=ci-smoke.yaml ./scripts/network_test.sh ./src/spartan/smoke.test.ts
- name: Copy Network Logs
if: always()
run: scripts/copy_from_tester yarn-project/end-to-end/scripts/network-test.log network-test.log || true
- name: Upload Network Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: kind-network-smoke.log
path: network-test.log

kind-network-test:
needs: [images-e2e, configure]
Expand Down
1 change: 0 additions & 1 deletion yarn-project/end-to-end/scripts/network_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ fi
STERN_PID=""
function copy_stern_to_log() {
stern spartan -n $NAMESPACE >$SCRIPT_DIR/network-test.log &
echo "disabled until less resource intensive solution than stern implemented" >$SCRIPT_DIR/network-test.log &
STERN_PID=$!
}

Expand Down

0 comments on commit 1389a5b

Please sign in to comment.