Use healthcheck to test deployment is up
This commit is contained in:
@@ -90,7 +90,7 @@ jobs:
|
||||
HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
|
||||
HURL_coolify_app_uuid: ${{ vars.COOLIFY_APP_UUID }}
|
||||
- name: Wait for container to start
|
||||
run: sleep 10s
|
||||
run: hurl --test test/healthcheck.hurl
|
||||
- name: Run verification tests
|
||||
run: hurl --test test/prod.hurl
|
||||
env:
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
GET https://music-library.claudio-ortolina.org/health
|
||||
[Options]
|
||||
delay: 3s
|
||||
retry: 10
|
||||
retry-interval: 2s
|
||||
HTTP 200
|
||||
|
||||
Reference in New Issue
Block a user