Skip to content

Commit 7ae5aef

Browse files
committed
save Docker logs
1 parent 84dca00 commit 7ae5aef

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/devenv-compat.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,16 @@ jobs:
202202
echo "ci_summary.txt not found" >> $GITHUB_STEP_SUMMARY
203203
fi
204204
205+
- name: Save Smoke tests Docker logs
206+
if: failure()
207+
shell: bash
208+
working-directory: system-tests/tests/smoke/cre
209+
run: |
210+
mkdir -p logs
211+
for c in $(docker ps -a --format '{{.Names}}'); do
212+
docker logs "$c" > "logs/${c}.log" 2>&1
213+
done
214+
205215
- name: Upload Logs
206216
if: always()
207217
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)