Skip to content

Commit a258d51

Browse files
fedorovclaude
andcommitted
ci: verify /v3/health after the /v3 route move (fixes dev deploy)
PR #10 moved every REST route under /v3 (health -> /v3/health) but left the deploy job's REST verify step curling $URL/health, which now 404s so curl --fail exits 22 and the dev deploy fails. Point it at /v3/health and also check /v3/version. These hit the *.run.app URL directly (no LB/ESP), so the bare-/v3 LB limitation does not apply here. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8b1381e commit a258d51

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ jobs:
154154
run: |
155155
set -euo pipefail
156156
URL=$(gcloud run services describe idc-api-v3 --project "$PROJECT" --region "$REGION" --format='value(status.url)')
157-
curl -sf "$URL/health"; echo
157+
# All REST routes live under /v3 (health included); the *.run.app URL has no LB/ESP in
158+
# front, so these hit the container directly.
159+
curl -sf "$URL/v3/health"; echo
160+
curl -sf "$URL/v3/version"; echo
158161
{
159162
echo "### REST API deployed to ${{ inputs.environment }}"
160163
echo "- URL: $URL"

0 commit comments

Comments
 (0)