From dbb66c4094c2869e0e5628756700030b6df606ae Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sat, 21 Mar 2026 21:09:51 +0000 Subject: [PATCH] Account for failures in deploy script --- scripts/prod/deploy.hurl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/prod/deploy.hurl b/scripts/prod/deploy.hurl index 31761b3d..66f2b6c9 100644 --- a/scripts/prod/deploy.hurl +++ b/scripts/prod/deploy.hurl @@ -20,4 +20,13 @@ retry: 40 retry-interval: 10s HTTP 200 [Asserts] +jsonpath "$.status" != "in_progress" + +# Verify the deployment actually succeeded - due to Coolify's architecture, we +# need to perform another request to isolate assertions + +GET {{coolify_host}}/api/v1/deployments/{{deployment_uuid}} +Authorization: Bearer {{coolify_token}} +HTTP 200 +[Asserts] jsonpath "$.status" == "finished"