.gitlab-ci.yml updated v7
This commit is contained in:
parent
a57ba0ae6b
commit
e6c3137d25
2 changed files with 3 additions and 4 deletions
|
|
@ -14,7 +14,8 @@ build:
|
||||||
image: ${DOCKER_PROXY}/maven:latest
|
image: ${DOCKER_PROXY}/maven:latest
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- mvn clean package -DskipTests -Pdistributive
|
# - mvn clean package -DskipTests -Pdistributive
|
||||||
|
- mvn --version
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "$CI_COMMIT_REF_NAME"
|
name: "$CI_COMMIT_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
|
|
||||||
|
|
@ -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