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
This commit is contained in:
@@ -11,10 +11,8 @@ deployment_uuid: jsonpath "$.deployments[0].deployment_uuid"
|
|||||||
# Watch the deployment until it's finished
|
# Watch the deployment until it's finished
|
||||||
# It normally takes around 5 minutes if no layers are cached,
|
# It normally takes around 5 minutes if no layers are cached,
|
||||||
# We make it longer to account for potential other issues
|
# 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/applications/{{coolify_app_uuid}}?take=1
|
GET {{coolify_host}}/api/v1/deployments/{{deployment_uuid}}
|
||||||
Authorization: Bearer {{coolify_token}}
|
Authorization: Bearer {{coolify_token}}
|
||||||
[Options]
|
[Options]
|
||||||
delay: 20s
|
delay: 20s
|
||||||
@@ -22,4 +20,4 @@ retry: 40
|
|||||||
retry-interval: 10s
|
retry-interval: 10s
|
||||||
HTTP 200
|
HTTP 200
|
||||||
[Asserts]
|
[Asserts]
|
||||||
jsonpath "$.deployments[0].status" == "finished"
|
jsonpath "$.status" == "finished"
|
||||||
|
|||||||
Reference in New Issue
Block a user