mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-10-23 06:12:27 +00:00
ci: use liveness for alert-receiver in the smoke stack
CI has no ALERT_FORWARD_URL, so the receiver reports archive-only mode as not-ready on /readyz by design (503) and the stack never settles. Probe /healthz in CI only; production keeps the strict delivery readiness gate.
This commit is contained in:
1 parent
663901257a
commit
d2f24b7caf
1 file changed
+10
@@ -117,3 +117,13 @@ services:
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
alert-receiver:
|
||||
# CI does not configure ALERT_FORWARD_URL, so the receiver correctly reports
|
||||
# archive-only mode as NOT ready (/readyz = 503). The smoke stack only needs
|
||||
# the process alive; production keeps the strict /readyz delivery gate.
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/healthz >/dev/null"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
Reference in new issue
Block a user