ci: probe compose health inside service
This commit is contained in:
@@ -131,7 +131,10 @@ jobs:
|
||||
docker compose exec -T creator-hub ffprobe -version
|
||||
docker compose images --quiet creator-hub docker-gateway \
|
||||
| sort -u | tee evidence/compose-image-ids.txt
|
||||
curl --fail --retry 10 --retry-delay 2 http://127.0.0.1:8080/readyz
|
||||
docker compose exec -T creator-hub python3 - <<'PY'
|
||||
import urllib.request
|
||||
urllib.request.urlopen("http://127.0.0.1:8080/readyz", timeout=5)
|
||||
PY
|
||||
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
|
||||
if: always()
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user