Files
music_library/scripts/prod/deploy.hurl
T
Claudio Ortolina 95cd00c6bf Revert "Fix deployment test script"
This reverts commit 829d49fcf7.

In version 4.0.0-beta.468, Coolify fixed the API issue that triggered
the need for this change - reverting to keep using the simplest and most
idiomatic approach
2026-03-12 21:42:11 +00:00

24 lines
610 B
Plaintext

# Trigger a deploy and capture the deployment ID
GET {{coolify_host}}/api/v1/deploy
Authorization: Bearer {{coolify_token}}
[Query]
uuid: {{coolify_app_uuid}}
HTTP 200
[Captures]
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
GET {{coolify_host}}/api/v1/deployments/{{deployment_uuid}}
Authorization: Bearer {{coolify_token}}
[Options]
delay: 20s
retry: 40
retry-interval: 10s
HTTP 200
[Asserts]
jsonpath "$.status" == "finished"