fix: nginx build context, playout health check retry loop
CI / test (push) Successful in 1m39s
CI / docker (push) Successful in 3m4s
CI / release (push) Skipped
CD / deploy (push) Failing after 1m17s

This commit is contained in:
zwitschi committed 2026-08-04 10:21:18 +02:00
1 parent afb9a41404
commit 43c1a31660
2 files changed
+31 -9

No files matched your search

+14 -2
View File
@@ -69,9 +69,21 @@ jobs:
env:
DOCKER_HOST: tcp://192.168.88.40:2375
run: |
sleep 10
# Wait for playout to stabilize (it may restart during init)
sleep 20
curl -f http://192.168.88.40:3000/health || exit 1
docker exec linearvoid-playout curl -sf http://localhost
# Retry playout health check since it may still be initializing
for i in $(seq 1 6); do
if docker exec linearvoid-playout curl -sf http://localhost:8081/health; then
echo "Playout is healthy"
exit 0
fi
echo "Playout not ready yet (attempt $i/6), waiting 5s..."
sleep 5
done
echo "Playout failed to become healthy after 6 attempts"
docker logs linearvoid-playout --tail 50
exit 1
curl -f http://192.168.88.40:3000/health || exit 1
docker exec linearvoid-playout curl -sf http://localhost:8081/health || exit 1