.gitlab-ci.yml updated
This commit is contained in:
parent
eb652a105b
commit
0c6736b9c9
1 changed files with 5 additions and 7 deletions
|
|
@ -12,21 +12,19 @@ stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
cache:
|
|
||||||
key: "$CI_BUILD_REF_NAME"
|
|
||||||
paths:
|
|
||||||
- .m2/repository
|
|
||||||
- z-distr/target/clearing/
|
|
||||||
|
|
||||||
build:
|
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
|
||||||
|
artifacts:
|
||||||
|
name: "$CI_COMMIT_REF_NAME"
|
||||||
|
paths:
|
||||||
|
- z-distr/target/clearing/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- docker compose down
|
- cd clr_test
|
||||||
- docker compose build
|
- docker compose build
|
||||||
- docker compose up --abort-on-container-exit --exit-code-from clearing_system
|
- docker compose up --abort-on-container-exit --exit-code-from clearing_system
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue