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