Wait for API health separately from the projection worker
Docker test deployment / test-build-deploy (push) Successful in 3m7s
Docker test deployment / test-build-deploy (push) Successful in 3m7s
This commit is contained in:
@@ -63,7 +63,8 @@ if docker container inspect adcloud-server-test >/dev/null 2>&1; then
|
||||
docker stop --time 20 adcloud-server-test >/dev/null
|
||||
legacy_stopped=true
|
||||
fi
|
||||
docker compose -f compose.yml up -d --wait --wait-timeout 180 api worker
|
||||
docker compose -f compose.yml up -d --wait --wait-timeout 180 api
|
||||
docker compose -f compose.yml up -d worker
|
||||
docker compose -f compose.yml --profile checks run --rm smoke
|
||||
# Verify the published host port too; config stays read-only in this probe.
|
||||
docker run --rm --network host --volume "$CONFIG_VOLUME:/config:ro" --entrypoint python "$DEPLOY_IMAGE" /app/scripts/smoke_api.py --base-url "http://127.0.0.1:$DEPLOY_PORT" --require-projection
|
||||
|
||||
Reference in New Issue
Block a user