mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 01:47:33 +00:00
ci(e2e): wait until server is ready (#4302)
ci: wait until server is ready
This commit is contained in:
@@ -33,13 +33,13 @@ services:
|
||||
networks:
|
||||
- zitadel
|
||||
|
||||
npm-install:
|
||||
prepare:
|
||||
image: node:18-alpine3.15
|
||||
working_dir: /e2e
|
||||
user: "$UID"
|
||||
volumes:
|
||||
- .:/e2e
|
||||
command: "npm ci --omit=dev"
|
||||
command: "npm ci --omit=dev && npx run wait-on http://localhost:8080"
|
||||
|
||||
e2e:
|
||||
image: cypress/included:10.3.0
|
||||
@@ -48,7 +48,7 @@ services:
|
||||
condition: 'service_started'
|
||||
db:
|
||||
condition: 'service_healthy'
|
||||
npm-install:
|
||||
prepare:
|
||||
condition: 'service_completed_successfully'
|
||||
working_dir: /e2e
|
||||
user: "$UID"
|
||||
|
Reference in New Issue
Block a user