From 829d49fcf718a99278bcdf1e752b951e9724cfe1 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 10 Mar 2026 16:15:22 +0000 Subject: [PATCH] Fix deployment test script --- scripts/prod/deploy.hurl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/prod/deploy.hurl b/scripts/prod/deploy.hurl index 31761b3d..1b884d2a 100644 --- a/scripts/prod/deploy.hurl +++ b/scripts/prod/deploy.hurl @@ -11,8 +11,10 @@ deployment_uuid: jsonpath "$.deployments[0].deployment_uuid" # Watch the deployment until it's finished # It normally takes around 5 minutes if no layers are cached, # We make it longer to account for potential other issues +# Due to a potential bug in Coolify, we need to take the long way around +# instead of querying for the direct deployment UUID. -GET {{coolify_host}}/api/v1/deployments/{{deployment_uuid}} +GET {{coolify_host}}/api/v1/deployments/applications/{{coolify_app_uuid}}?take=1 Authorization: Bearer {{coolify_token}} [Options] delay: 20s @@ -20,4 +22,4 @@ retry: 40 retry-interval: 10s HTTP 200 [Asserts] -jsonpath "$.status" == "finished" +jsonpath "$.deployments[0].status" == "finished"