.gitlab-ci.yml updated v2
This commit is contained in:
parent
0c6736b9c9
commit
852fc61e2f
2 changed files with 2 additions and 5 deletions
|
|
@ -26,5 +26,4 @@ test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd clr_test
|
- cd clr_test
|
||||||
- docker compose build
|
- docker compose up --build --abort-on-container-exit --exit-code-from clearing_system
|
||||||
- docker compose up --abort-on-container-exit --exit-code-from clearing_system
|
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "5433:5432"
|
- "5433:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- ./clearing-all/db/DDL.sql:/docker-entrypoint-initdb.d/1-schema.sql
|
- ./clearing-all/db:/docker-entrypoint-initdb.d
|
||||||
- ./clearing-all/db/export.sql:/docker-entrypoint-initdb.d/data.sql
|
|
||||||
- ./clearing-all/db/test-data.sql:/docker-entrypoint-initdb.d/test-data.sql
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U clearing -h db -p 5432 -d clearing"]
|
test: ["CMD-SHELL", "pg_isready -U clearing -h db -p 5432 -d clearing"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue