.gitlab-ci.yml updated

This commit is contained in:
Ivan Nikolaev-Axenov 2024-05-30 11:16:32 +03:00
parent eb652a105b
commit 0c6736b9c9

View file

@ -12,21 +12,19 @@ stages:
- build
- test
cache:
key: "$CI_BUILD_REF_NAME"
paths:
- .m2/repository
- z-distr/target/clearing/
build:
image: ${DOCKER_PROXY}/maven:latest
stage: build
script:
- mvn clean package -DskipTests -Pdistributive
artifacts:
name: "$CI_COMMIT_REF_NAME"
paths:
- z-distr/target/clearing/
test:
stage: test
script:
- docker compose down
- cd clr_test
- docker compose build
- docker compose up --abort-on-container-exit --exit-code-from clearing_system