Commit 0bdabb7c authored by Alicja Reniewicz's avatar Alicja Reniewicz
Browse files

fixes for builds order v2

parent 414ab4bc
Pipeline #12084 failed
...@@ -81,6 +81,7 @@ stages: ...@@ -81,6 +81,7 @@ stages:
- build-required-part1 - build-required-part1
- build-required-part2 - build-required-part2
- build-required-part3 - build-required-part3
- build-required-part4
- build - build
- deploy - deploy
...@@ -138,17 +139,24 @@ build-required-part3:dlms: ...@@ -138,17 +139,24 @@ build-required-part3:dlms:
paths: paths:
- $CI_PROJECT_DIR/dlms/target - $CI_PROJECT_DIR/dlms/target
build-required-part3:dlms-utility: build-required-part4:dlms-utility:
stage: build-required-part3 stage: build-required-part4
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build-required-part3:dlms
script: script:
- $DLMS_UTILITY_CLI -Pwithout-docker clean install - $DLMS_UTILITY_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/dlms/DLMSUtility/target - $CI_PROJECT_DIR/dlms/DLMSUtility/target
build-required-part4:cp-solver:
stage: build-required-part4
image: $MAVEN_IMAGE
script:
- $CP_SOLVER_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/cp-solver/target
build-required-part3:penalty-calculator: build-required-part3:penalty-calculator:
stage: build-required-part3 stage: build-required-part3
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
...@@ -194,27 +202,18 @@ build:dlms-agent: ...@@ -194,27 +202,18 @@ build:dlms-agent:
paths: paths:
- $CI_PROJECT_DIR/dlmsAgent/target - $CI_PROJECT_DIR/dlmsAgent/target
build:cp-solver:
stage: build
image: $MAVEN_IMAGE
script:
- $CP_SOLVER_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/cp-solver/target
build:cp-parser: build:cp-parser:
stage: build stage: build
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
needs: dependencies:
- build:cp-solver - build-required-part4:cp-solver
script: script:
- $DOCKER_CLI $CP_PARSER_CLI -Pwithout-docker clean install - $DOCKER_CLI $CP_PARSER_CLI -Pwithout-docker clean install
build:ems-util: build-required-part4:ems-util:
stage: build stage: build-required-part4
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
script: script:
- $EMS_UTIL_CLI -Pwithout-docker clean install - $EMS_UTIL_CLI -Pwithout-docker clean install
...@@ -225,8 +224,8 @@ build:ems-util: ...@@ -225,8 +224,8 @@ build:ems-util:
build:ems-broker-client: build:ems-broker-client:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs: dependencies:
- build:ems-util - build-required-part4:ems-util
script: script:
- $EMS_BROKER_CLIENT_CLI -Pwithout-docker clean install - $EMS_BROKER_CLIENT_CLI -Pwithout-docker clean install
artifacts: artifacts:
...@@ -236,8 +235,6 @@ build:ems-broker-client: ...@@ -236,8 +235,6 @@ build:ems-broker-client:
build:ems-broker-cep: build:ems-broker-cep:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build:ems-broker-client
script: script:
- $EMS_BROKER_CEP_CLI -Pwithout-docker clean install - $EMS_BROKER_CEP_CLI -Pwithout-docker clean install
artifacts: artifacts:
...@@ -247,16 +244,12 @@ build:ems-broker-cep: ...@@ -247,16 +244,12 @@ build:ems-broker-cep:
build:ems-baguette-client: build:ems-baguette-client:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build:ems-broker-cep
script: script:
- $EMS_BAGUETTE_CLIENT_CLI -Pwithout-docker clean install - $EMS_BAGUETTE_CLIENT_CLI -Pwithout-docker clean install
build:ems-baguette-server: build:ems-baguette-server:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build:ems-broker-cep
script: script:
- $EMS_BAGUETTE_SERVER_CLI -Pwithout-docker clean install - $EMS_BAGUETTE_SERVER_CLI -Pwithout-docker clean install
artifacts: artifacts:
...@@ -266,8 +259,6 @@ build:ems-baguette-server: ...@@ -266,8 +259,6 @@ build:ems-baguette-server:
build:ems-baguette-client-install: build:ems-baguette-client-install:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build:ems-baguette-client
script: script:
- $EMS_BAGUETTE_CLIENT_INSTALL_CLI -Pwithout-docker clean install - $EMS_BAGUETTE_CLIENT_INSTALL_CLI -Pwithout-docker clean install
artifacts: artifacts:
...@@ -277,8 +268,6 @@ build:ems-baguette-client-install: ...@@ -277,8 +268,6 @@ build:ems-baguette-client-install:
build:ems-translator: build:ems-translator:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build:ems-baguette-server
script: script:
- $EMS_TRANSLATOR_CLI -Pwithout-docker clean install - $EMS_TRANSLATOR_CLI -Pwithout-docker clean install
artifacts: artifacts:
...@@ -288,8 +277,6 @@ build:ems-translator: ...@@ -288,8 +277,6 @@ build:ems-translator:
build:ems-server: build:ems-server:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
needs:
- build:ems-translator
script: script:
- $EMS_SERVER_CLI -Pwithout-docker clean install - $EMS_SERVER_CLI -Pwithout-docker clean install
artifacts: artifacts:
...@@ -697,7 +684,7 @@ deploy:gen-solver: ...@@ -697,7 +684,7 @@ deploy:gen-solver:
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:cp-solver - build-required-part4:cp-solver
- build:cp-parser - build:cp-parser
script: script:
- $DOCKER_CLI $GEN_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $GEN_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
...@@ -745,7 +732,7 @@ deploy:nc-solver: ...@@ -745,7 +732,7 @@ deploy:nc-solver:
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:cp-solver - build-required-part4:cp-solver
- build:cp-parser - build:cp-parser
script: script:
- $DOCKER_CLI $NC_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $NC_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
...@@ -763,7 +750,7 @@ deploy:pt-solver: ...@@ -763,7 +750,7 @@ deploy:pt-solver:
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:cp-solver - build-required-part4:cp-solver
- build:cp-parser - build:cp-parser
script: script:
- $DOCKER_CLI $PT_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $PT_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
...@@ -781,7 +768,7 @@ deploy:mcts-solver: ...@@ -781,7 +768,7 @@ deploy:mcts-solver:
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:cp-solver - build-required-part4:cp-solver
- build:cp-parser - build:cp-parser
script: script:
- $DOCKER_CLI $MCTS_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $MCTS_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment