devops(ci): add --wait to observability stack startup
Prometheus, Loki, Tempo, and Grafana all define healthchecks in docker-compose.observability.yml. Without --wait, the step exits 0 as soon as containers are created, masking startup failures silently. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -132,7 +132,7 @@ jobs:
|
|||||||
docker compose \
|
docker compose \
|
||||||
-f docker-compose.observability.yml \
|
-f docker-compose.observability.yml \
|
||||||
--env-file .env.staging \
|
--env-file .env.staging \
|
||||||
up -d
|
up -d --wait
|
||||||
|
|
||||||
- name: Reload Caddy
|
- name: Reload Caddy
|
||||||
# Apply any committed Caddyfile changes before smoke-testing the
|
# Apply any committed Caddyfile changes before smoke-testing the
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ jobs:
|
|||||||
docker compose \
|
docker compose \
|
||||||
-f docker-compose.observability.yml \
|
-f docker-compose.observability.yml \
|
||||||
--env-file .env.production \
|
--env-file .env.production \
|
||||||
up -d
|
up -d --wait
|
||||||
|
|
||||||
- name: Reload Caddy
|
- name: Reload Caddy
|
||||||
# See nightly.yml — same rationale and mechanism: DooD job containers
|
# See nightly.yml — same rationale and mechanism: DooD job containers
|
||||||
|
|||||||
Reference in New Issue
Block a user