check the loop
This commit is contained in:
@@ -53,11 +53,10 @@ jobs:
|
||||
if [ "$status" = "healthy" ]; then
|
||||
echo "Container is healthy"
|
||||
exit 0
|
||||
else
|
||||
elif [ "$status" = "unhealthy" ]; then
|
||||
echo "Container is unhealthy"
|
||||
exit 1
|
||||
fi
|
||||
echo "sleep for recheck"
|
||||
sleep 1
|
||||
done
|
||||
echo "Timed out waiting for container to become healthy"
|
||||
|
||||
Reference in New Issue
Block a user