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"