CI: Log details about failed containers

Change-Id: I5df9cf14f16a7c08cccf053302bbda227526a4a8
This commit is contained in:
Michal Nasiadka 2023-08-23 12:04:12 +02:00 committed by Pierre Riteau
parent a6120f231a
commit 695fda401e

View File

@ -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
}