Skip to content

Commit 4e1a3c1

Browse files
committed
RANGER-4898: updated ci.yml to print logs from failed container to help troubleshoot CI failures
1 parent 2b49f7a commit 4e1a3c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ jobs:
177177
echo "Container $container is running!";
178178
else
179179
flag=false;
180-
echo "Container $container is NOT running!";
180+
echo "Container $container is NOT running! Status: $(docker inspect -f '{{.State.Status}}' $container 2>/dev/null)";
181+
echo "docker logs $container:";
182+
docker logs $container
181183
fi
182184
done
183185

0 commit comments

Comments
 (0)