Make sure we fail the job and log more details when it does

This commit is contained in:
Davanum Srinivas 2020-03-01 09:14:04 -05:00
parent bdea23380b
commit f92c55a476
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -27,7 +27,9 @@ while true; do
break
elif [[ "$STATUS" == "Failed" ]]; then
echo "$timestamp Failed."
break
kubectl -n conformance describe pods e2e-conformance-test || true
kubectl -n conformance logs e2e-conformance-test || true
exit 1
else
sleep 5
fi