diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-01-10 14:37:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 14:37:14 +0200 |
commit | 6bf91be85af47859304c153520e621d9ac12cfe1 (patch) | |
tree | 4e570d3599f624e8795deb840a23d6414fb9197a /.github/scripts | |
parent | 340201c4ea12052e671d1194e37bc5f34e659176 (diff) |
ci: show docker logs if docker-test fails (#14219)
Diffstat (limited to '.github/scripts')
-rwxr-xr-x | .github/scripts/docker-test.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/scripts/docker-test.sh b/.github/scripts/docker-test.sh index 22821d17eb..0f5fa469cf 100755 --- a/.github/scripts/docker-test.sh +++ b/.github/scripts/docker-test.sh @@ -26,6 +26,10 @@ wait_for() { sleep 1 if [ "$i" -gt "$timeout" ]; then printf "Timed out!\n" + docker ps -a + echo "::group::Netdata container logs" + docker logs netdata 2>&1 + echo "::endgroup::" return 1 fi i="$((i + 1))" |