Skip to content

Commit 712f287

Browse files
(MAINT) output bolt debug log
1 parent 0ad1e3c commit 712f287

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test-install-matrix.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,17 @@ jobs:
335335
console_password=${{ secrets.CONSOLE_PASSWORD }} \
336336
--targets pe_nodes \
337337
--verbose
338+
- name: output value of bolt-debug.log
339+
if: ${{ failure() }}
340+
run: |
341+
echo ::group::bolt-debug-log
342+
if [ -f bolt-debug.log ]; then
343+
echo "=== bolt-debug.log contents ==="
344+
cat bolt-debug.log || echo "bolt-debug.log is empty"
345+
else
346+
echo "No bolt-debug.log file found"
347+
fi
348+
echo ::endgroup::
338349
- name: Tear down test cluster
339350
if: ${{ always() }}
340351
continue-on-error: true

0 commit comments

Comments
 (0)