This commit is contained in:
parent
1f2354ae8d
commit
2bc2b9adab
@ -88,7 +88,7 @@ jobs:
|
|||||||
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
|
while ! curl --output /dev/null --silent --head --fail http://live-server:8081; do
|
||||||
if [ $attempts -eq $max_attempts ]; then
|
if [ $attempts -eq $max_attempts ]; then
|
||||||
echo "Live server not ready after $max_attempts attempts"
|
echo "Live server not ready after $max_attempts attempts"
|
||||||
nc -z live-server 8081
|
docker logs "${{ job.services.live-server.id }}"
|
||||||
curl -v http://live-server:8081
|
curl -v http://live-server:8081
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user