Setup CI healthcheck after deploy
This commit is contained in:
@@ -119,6 +119,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: gacts/install-hurl@v1
|
- uses: gacts/install-hurl@v1
|
||||||
|
- name: Wait until instance is up
|
||||||
|
run: hurl --test test/healthcheck.hurl --retry 3 --retry-interval 5000
|
||||||
- name: Run production tests
|
- name: Run production tests
|
||||||
run: hurl --test test/prod.hurl
|
run: hurl --test test/prod.hurl
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
GET https://music-library.claudio-ortolina.org/health
|
||||||
|
HTTP 200
|
||||||
Reference in New Issue
Block a user