.gitlab-ci.yml updated v8
This commit is contained in:
parent
e6c3137d25
commit
b21fd76137
2 changed files with 6 additions and 1 deletions
|
|
@ -25,5 +25,8 @@ test:
|
|||
stage: test
|
||||
script:
|
||||
- cd clr_test
|
||||
- pwd
|
||||
- ls -la
|
||||
- ls -la ./clearing-all/db
|
||||
- docker-compose down --volumes
|
||||
- docker compose up --build --force-recreate --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
|
||||
- type: volume
|
||||
source: ./clearing-all/db
|
||||
target: /docker-entrypoint-initdb.d
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U clearing -h db -p 5432 -d clearing"]
|
||||
interval: 5s
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue