CI: Log details about failed containers
Change-Id: I5df9cf14f16a7c08cccf053302bbda227526a4a8
This commit is contained in:
parent
a6120f231a
commit
695fda401e
@ -13,6 +13,11 @@ check_podman_failures() {
|
||||
--filter status=paused \
|
||||
--filter status=exited \
|
||||
--filter status=unknown)
|
||||
|
||||
for container in $failed_containers; do
|
||||
podman inspect $container
|
||||
podman logs $container
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@ -34,6 +39,11 @@ check_docker_failures() {
|
||||
--filter status=paused \
|
||||
--filter status=exited \
|
||||
--filter status=dead)
|
||||
|
||||
for container in $failed_containers; do
|
||||
docker inspect $container
|
||||
docker logs $container
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user