mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Make sure we fail the job and log more details when it does
This commit is contained in:
parent
bdea23380b
commit
f92c55a476
@ -27,7 +27,9 @@ while true; do
|
|||||||
break
|
break
|
||||||
elif [[ "$STATUS" == "Failed" ]]; then
|
elif [[ "$STATUS" == "Failed" ]]; then
|
||||||
echo "$timestamp Failed."
|
echo "$timestamp Failed."
|
||||||
break
|
kubectl -n conformance describe pods e2e-conformance-test || true
|
||||||
|
kubectl -n conformance logs e2e-conformance-test || true
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user