Use healthcheck to test deployment is up

This commit is contained in:
Claudio Ortolina
2025-09-15 07:28:42 +03:00
parent bdb88b3412
commit 57deea2f4c
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ jobs:
HURL_coolify_host: ${{ vars.COOLIFY_HOST }} HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
HURL_coolify_app_uuid: ${{ vars.COOLIFY_APP_UUID }} HURL_coolify_app_uuid: ${{ vars.COOLIFY_APP_UUID }}
- name: Wait for container to start - name: Wait for container to start
run: sleep 10s run: hurl --test test/healthcheck.hurl
- name: Run verification tests - name: Run verification tests
run: hurl --test test/prod.hurl run: hurl --test test/prod.hurl
env: env:
+4
View File
@@ -1,2 +1,6 @@
GET https://music-library.claudio-ortolina.org/health GET https://music-library.claudio-ortolina.org/health
[Options]
delay: 3s
retry: 10
retry-interval: 2s
HTTP 200 HTTP 200