fix(backend): use /health for cloud run smoke endpoints
This commit is contained in:
@@ -39,8 +39,8 @@ backend-help:
|
||||
@echo " make backend-deploy-core [ENV=dev] Build + deploy core API service"
|
||||
@echo " make backend-deploy-commands [ENV=dev] Build + deploy command API service"
|
||||
@echo " make backend-deploy-workers [ENV=dev] Deploy worker scaffold"
|
||||
@echo " make backend-smoke-core [ENV=dev] Smoke test core /healthz"
|
||||
@echo " make backend-smoke-commands [ENV=dev] Smoke test commands /healthz"
|
||||
@echo " make backend-smoke-core [ENV=dev] Smoke test core /health"
|
||||
@echo " make backend-smoke-commands [ENV=dev] Smoke test commands /health"
|
||||
@echo " make backend-logs-core [ENV=dev] Read core service logs"
|
||||
|
||||
backend-enable-apis:
|
||||
@@ -149,7 +149,7 @@ backend-smoke-core:
|
||||
exit 1; \
|
||||
fi; \
|
||||
TOKEN=$$(gcloud auth print-identity-token); \
|
||||
curl -fsS -H "Authorization: Bearer $$TOKEN" "$$URL/healthz" >/dev/null && echo "✅ Core smoke check passed: $$URL/healthz"
|
||||
curl -fsS -H "Authorization: Bearer $$TOKEN" "$$URL/health" >/dev/null && echo "✅ Core smoke check passed: $$URL/health"
|
||||
|
||||
backend-smoke-commands:
|
||||
@echo "--> Running commands smoke check..."
|
||||
@@ -159,7 +159,7 @@ backend-smoke-commands:
|
||||
exit 1; \
|
||||
fi; \
|
||||
TOKEN=$$(gcloud auth print-identity-token); \
|
||||
curl -fsS -H "Authorization: Bearer $$TOKEN" "$$URL/healthz" >/dev/null && echo "✅ Commands smoke check passed: $$URL/healthz"
|
||||
curl -fsS -H "Authorization: Bearer $$TOKEN" "$$URL/health" >/dev/null && echo "✅ Commands smoke check passed: $$URL/health"
|
||||
|
||||
backend-logs-core:
|
||||
@echo "--> Reading logs for core backend service [$(BACKEND_CORE_SERVICE_NAME)]..."
|
||||
|
||||
Reference in New Issue
Block a user