fix: extend CI health check timeout from 15s to 90s (6 retries × 15s)
Pull Request / unit-tests (pull_request) Successful in 2m4s
Pull Request / analyze-bump-type (pull_request) Successful in 13s
Pull Request / build-and-deploy-ci (pull_request) Failing after 5m45s

This commit is contained in:
2026-05-18 16:55:45 -07:00
parent 98b18de00a
commit f16ad054dd
4 changed files with 13 additions and 11 deletions
+7 -5
View File
@@ -83,14 +83,16 @@ jobs:
- name: Wait for CI site to be ready
run: |
for i in {1..15}; do
if docker ps --filter name=euchre-camp-ci --format '{{.Status}}' | grep -q Up; then
echo "CI site container is running"
for i in {1..6}; do
if curl -sf https://euchre-ci.notsosm.art/api/health > /dev/null 2>&1; then
echo "CI site is healthy"
exit 0
fi
sleep 2
sleep 15
done
echo "CI site container failed to start"
echo "CI site failed to become healthy after 90 seconds"
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
exit 1
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
exit 1