mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 15:27:27 +00:00
Fix wait service
This commit is contained in:
@@ -58,13 +58,13 @@ jobs:
|
|||||||
load: true
|
load: true
|
||||||
- name: Start Infisical
|
- name: Start Infisical
|
||||||
run: docker compose -f docker-compose.dev.yml up -d
|
run: docker compose -f docker-compose.dev.yml up -d
|
||||||
- name: Wait for service to return 200
|
- name: Wait for API to be ready
|
||||||
uses: nev7n/wait_for_response@v1
|
uses: nick-fields/retry@v3
|
||||||
with:
|
with:
|
||||||
url: "http://localhost:8080/api/v1/admin/config" # Replace with your service URL
|
timeout_seconds: 60
|
||||||
responseCode: "200"
|
max_attempts: 12
|
||||||
timeout: 60000
|
command: |
|
||||||
interval: 500
|
curl -f -X GET http://localhost:8080/api/v1/admin/config
|
||||||
- name: Run bdd tests
|
- name: Run bdd tests
|
||||||
run: npm run test:bdd
|
run: npm run test:bdd
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
|
|||||||
Reference in New Issue
Block a user