Skip to content

Commit a14cd87

Browse files
authored
Merge pull request #12 from ImagingDataCommons/ci/verify-v3-health
ci: verify /v3/health after the /v3 route move (fix dev deploy)
2 parents 8b1381e + a258d51 commit a14cd87

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)