From 0c6736b9c981414181859142e1943c0945a1e702 Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Thu, 30 May 2024 11:16:32 +0300 Subject: [PATCH] .gitlab-ci.yml updated --- .gitlab-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 218078000..4a7257224 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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