Skip to content
Snippets Groups Projects
Commit 695fda40 authored by Michal Nasiadka's avatar Michal Nasiadka Committed by Pierre Riteau
Browse files

CI: Log details about failed containers

Change-Id: I5df9cf14f16a7c08cccf053302bbda227526a4a8
parent a6120f23
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,11 @@ check_podman_failures() { ...@@ -13,6 +13,11 @@ check_podman_failures() {
--filter status=paused \ --filter status=paused \
--filter status=exited \ --filter status=exited \
--filter status=unknown) --filter status=unknown)
for container in $failed_containers; do
podman inspect $container
podman logs $container
done
} }
...@@ -34,6 +39,11 @@ check_docker_failures() { ...@@ -34,6 +39,11 @@ check_docker_failures() {
--filter status=paused \ --filter status=paused \
--filter status=exited \ --filter status=exited \
--filter status=dead) --filter status=dead)
for container in $failed_containers; do
docker inspect $container
docker logs $container
done
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment