ci: retry frontend smoke check

nginx needs a few seconds for its entrypoint scripts; the single-shot
curl raced the container start. Same retry loop as the backend check,
with a log dump on failure.

Authored By: TDvorak <[email protected]>

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Tomas DvorakandDevin committed 2026-09-17 20:46:33 +02:00
1 parent 0f984fb579
commit d0bdf0a441
1 file changed
+7 -1
+7 -1
View File
@@ -100,7 +100,13 @@ jobs:
exit 1
- name: Check frontend responds
run: curl -sf http://localhost:3000/ -o /dev/null
run: |
for i in $(seq 1 30); do
if curl -sf http://localhost:3000/ -o /dev/null; then exit 0; fi
sleep 2
done
docker compose -f infra/docker-compose.yml logs --tail 50 frontend
exit 1
- name: Teardown
if: always()