50 seconds

This commit is contained in:
msojocs 2024-07-06 22:24:09 +08:00
parent 1a81a9a8b2
commit 0615ae3a37
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ runs:
run: | run: |
until $(curl --output /dev/null --silent --head --fail http://127.0.0.1:8080); do until $(curl --output /dev/null --silent --head --fail http://127.0.0.1:8080); do
printf '.' printf '.'
curl http://127.0.0.1:8080
sleep 1 sleep 1
done done
shell: bash shell: bash

View File

@ -52,7 +52,7 @@ until $(curl --output /dev/null --silent --head --fail http://127.0.0.1:8083/che
curl http://127.0.0.1:8083/check curl http://127.0.0.1:8083/check
sleep 1 sleep 1
let i=$i+1 let i=$i+1
if [ $i -ge 5 ];then if [ $i -ge 50 ];then
echo "error" echo "error"
docker ps -a docker ps -a
exit 1 exit 1