fix:increased health check retires on workflow
Build & Deploy (develop) / build-and-deploy (push) Failing after 3m2s
Build & Deploy (develop) / build-and-deploy (push) Failing after 3m2s
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Health check (retries for ~30s)
|
- name: Health check (retries for ~30s)
|
||||||
run: |
|
run: |
|
||||||
for i in $(seq 1 6); do
|
for i in $(seq 1 15); do
|
||||||
if docker exec robot-market wget -qO- --timeout=5 http://localhost:3000 > /dev/null 2>&1; then
|
if docker exec robot-market wget -qO- --timeout=5 http://localhost:3000 > /dev/null 2>&1; then
|
||||||
echo "Container is healthy"
|
echo "Container is healthy"
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user