Commit 933335d3 authored by maciek riedl's avatar maciek riedl
Browse files

Merge branch 'checking-zpp-solvers' into 'rc3.1'

Checking zpp solvers

See merge request !10
parents 82702652 090070ac
Pipeline #10988 failed with stage
in 39 minutes and 29 seconds
...@@ -32,6 +32,7 @@ variables: ...@@ -32,6 +32,7 @@ variables:
ADAPTER_SERVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f adapter/pom.xml" ADAPTER_SERVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f adapter/pom.xml"
CP_GENERATOR_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f cp_generator/pom.xml" CP_GENERATOR_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f cp_generator/pom.xml"
CP_PARSER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f zpp-solver/cp-parser/pom.xml"
CP_SOLVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f cp-solver/pom.xml" CP_SOLVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f cp-solver/pom.xml"
GEN_SOLVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f zpp-solver/genetic-solver/pom.xml" GEN_SOLVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f zpp-solver/genetic-solver/pom.xml"
NC_SOLVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f zpp-solver/node-candidates-solver/pom.xml" NC_SOLVER_CLI: "mvn --batch-mode -N -Dmaven.test.skip=$SKIP_TESTS -Ddocker.push=false -f zpp-solver/node-candidates-solver/pom.xml"
...@@ -99,7 +100,7 @@ build:jwt-commons: ...@@ -99,7 +100,7 @@ build:jwt-commons:
script: script:
- $JWT_COMMONS_CLI -Pwithout-docker clean install - $JWT_COMMONS_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/jwt-commons/target - $CI_PROJECT_DIR/jwt-commons/target
build:melodic-commons: build:melodic-commons:
...@@ -180,7 +181,7 @@ build:dlms-agent: ...@@ -180,7 +181,7 @@ build:dlms-agent:
script: script:
- $DLMS_AGENT_CLI -Pwithout-docker clean install - $DLMS_AGENT_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/dlmsAgent/target - $CI_PROJECT_DIR/dlmsAgent/target
build:ems: build:ems:
...@@ -189,7 +190,7 @@ build:ems: ...@@ -189,7 +190,7 @@ build:ems:
script: script:
- $EMS_CLI -Pwithout-docker clean install - $EMS_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/target - $CI_PROJECT_DIR/event-management/target
build:ems-util: build:ems-util:
...@@ -198,7 +199,7 @@ build:ems-util: ...@@ -198,7 +199,7 @@ build:ems-util:
script: script:
- $EMS_UTIL_CLI -Pwithout-docker clean install - $EMS_UTIL_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/util/target - $CI_PROJECT_DIR/event-management/util/target
build:ems-broker-client: build:ems-broker-client:
...@@ -207,7 +208,7 @@ build:ems-broker-client: ...@@ -207,7 +208,7 @@ build:ems-broker-client:
script: script:
- $EMS_BROKER_CLIENT_CLI -Pwithout-docker clean install - $EMS_BROKER_CLIENT_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/broker-client/target - $CI_PROJECT_DIR/event-management/broker-client/target
build:ems-broker-cep: build:ems-broker-cep:
...@@ -216,7 +217,7 @@ build:ems-broker-cep: ...@@ -216,7 +217,7 @@ build:ems-broker-cep:
script: script:
- $EMS_BROKER_CEP_CLI -Pwithout-docker clean install - $EMS_BROKER_CEP_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/broker-cep/target - $CI_PROJECT_DIR/event-management/broker-cep/target
build:ems-baguette-client: build:ems-baguette-client:
...@@ -227,14 +228,14 @@ build:ems-baguette-client: ...@@ -227,14 +228,14 @@ build:ems-baguette-client:
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/baguette-client/target - $CI_PROJECT_DIR/event-management/baguette-client/target
build:ems-baguette-server: build:ems-baguette-server:
stage: build stage: build
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
script: script:
- $EMS_BAGUETTE_SERVER_CLI -Pwithout-docker clean install - $EMS_BAGUETTE_SERVER_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/baguette-server/target - $CI_PROJECT_DIR/event-management/baguette-server/target
build:ems-baguette-client-install: build:ems-baguette-client-install:
...@@ -243,7 +244,7 @@ build:ems-baguette-client-install: ...@@ -243,7 +244,7 @@ build:ems-baguette-client-install:
script: script:
- $EMS_BAGUETTE_CLIENT_INSTALL_CLI -Pwithout-docker clean install - $EMS_BAGUETTE_CLIENT_INSTALL_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/baguette-client-install/target - $CI_PROJECT_DIR/event-management/baguette-client-install/target
build:ems-translator: build:ems-translator:
...@@ -252,7 +253,7 @@ build:ems-translator: ...@@ -252,7 +253,7 @@ build:ems-translator:
script: script:
- $EMS_TRANSLATOR_CLI -Pwithout-docker clean install - $EMS_TRANSLATOR_CLI -Pwithout-docker clean install
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/event-management/translator/target - $CI_PROJECT_DIR/event-management/translator/target
deploy:melodic-upperware: deploy:melodic-upperware:
...@@ -285,14 +286,14 @@ deploy:upperware-metamodel: ...@@ -285,14 +286,14 @@ deploy:upperware-metamodel:
deploy:jwt-commons: deploy:jwt-commons:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:jwt-commons - build:jwt-commons
script: script:
- $DOCKER_CLI $JWT_COMMONS_CLI deploy - $DOCKER_CLI $JWT_COMMONS_CLI deploy
...@@ -399,14 +400,14 @@ deploy:penalty-calculator: ...@@ -399,14 +400,14 @@ deploy:penalty-calculator:
deploy:jwt-server: deploy:jwt-server:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $JWT_SERVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $JWT_SERVER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/jwtserver:unknown $CI_REGISTRY_IMAGE/jwt-server:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/jwtserver:unknown $CI_REGISTRY_IMAGE/jwt-server:$CI_COMMIT_BRANCH
...@@ -442,14 +443,14 @@ deploy:zpp-solver: ...@@ -442,14 +443,14 @@ deploy:zpp-solver:
deploy:adapter: deploy:adapter:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $ADAPTER_SERVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $ADAPTER_SERVER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/adapter:unknown $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/adapter:unknown $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH
...@@ -457,14 +458,14 @@ deploy:adapter: ...@@ -457,14 +458,14 @@ deploy:adapter:
deploy:cp-generator: deploy:cp-generator:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $CP_GENERATOR_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $CP_GENERATOR_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/generator:unknown $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/generator:unknown $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH
...@@ -506,131 +507,145 @@ deploy:dlms-agent: ...@@ -506,131 +507,145 @@ deploy:dlms-agent:
deploy:ems: deploy:ems:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems - build:ems
script: script:
- $DOCKER_CLI $EMS_CLI deploy - $DOCKER_CLI $EMS_CLI deploy
deploy:ems-util: deploy:ems-util:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-util - build:ems-util
script: script:
- $DOCKER_CLI $EMS_UTIL_CLI deploy - $DOCKER_CLI $EMS_UTIL_CLI deploy
deploy:ems-broker-client: deploy:ems-broker-client:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-broker-client - build:ems-broker-client
script: script:
- $DOCKER_CLI $EMS_BROKER_CLIENT_CLI deploy - $DOCKER_CLI $EMS_BROKER_CLIENT_CLI deploy
deploy:ems-broker-cep: deploy:ems-broker-cep:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-broker-cep - build:ems-broker-cep
script: script:
- $DOCKER_CLI $EMS_BROKER_CEP_CLI deploy - $DOCKER_CLI $EMS_BROKER_CEP_CLI deploy
deploy:ems-baguette-client: deploy:ems-baguette-client:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-baguette-client - build:ems-baguette-client
script: script:
- $DOCKER_CLI $EMS_BAGUETTE_CLIENT_CLI deploy - $DOCKER_CLI $EMS_BAGUETTE_CLIENT_CLI deploy
deploy:ems-baguette-server: deploy:ems-baguette-server:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-baguette-server - build:ems-baguette-server
script: script:
- $DOCKER_CLI $EMS_BAGUETTE_SERVER_CLI deploy - $DOCKER_CLI $EMS_BAGUETTE_SERVER_CLI deploy
deploy:ems-baguette-client-install: deploy:ems-baguette-client-install:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-baguette-client-install - build:ems-baguette-client-install
script: script:
- $DOCKER_CLI $EMS_BAGUETTE_CLIENT_INSTALL_CLI deploy - $DOCKER_CLI $EMS_BAGUETTE_CLIENT_INSTALL_CLI deploy
deploy:ems-translator: deploy:ems-translator:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
dependencies: dependencies:
- build:ems-translator - build:ems-translator
script: script:
- $DOCKER_CLI $EMS_TRANSLATOR_CLI deploy - $DOCKER_CLI $EMS_TRANSLATOR_CLI deploy
deploy:ems-server: deploy:ems-server:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $EMS_SERVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $EMS_SERVER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/ems-server:UNKNOWN $CI_REGISTRY_IMAGE/ems-server:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/ems-server:UNKNOWN $CI_REGISTRY_IMAGE/ems-server:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/ems-server:$CI_COMMIT_BRANCH - docker push $CI_REGISTRY_IMAGE/ems-server:$CI_COMMIT_BRANCH
deploy:cp-parser:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:cp-solver
script:
- $DOCKER_CLI $CP_PARSER_CLI -Ddocker.imagePrefix=melodic/ clean install
deploy:gen-solver: deploy:gen-solver:
stage: deploy stage: deploy
only: only:
...@@ -650,14 +665,14 @@ deploy:gen-solver: ...@@ -650,14 +665,14 @@ deploy:gen-solver:
deploy:metasolver: deploy:metasolver:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $METASOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $METASOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/metasolver:unknown $CI_REGISTRY_IMAGE/metasolver:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/metasolver:unknown $CI_REGISTRY_IMAGE/metasolver:$CI_COMMIT_BRANCH
...@@ -665,14 +680,14 @@ deploy:metasolver: ...@@ -665,14 +680,14 @@ deploy:metasolver:
deploy:mq-adapter: deploy:mq-adapter:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $MQ_ADAPTER_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $MQ_ADAPTER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/mq-http-adapter:unknown $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/mq-http-adapter:unknown $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH
...@@ -731,14 +746,14 @@ deploy:mcts-solver: ...@@ -731,14 +746,14 @@ deploy:mcts-solver:
deploy:gui-backend: deploy:gui-backend:
stage: deploy stage: deploy
only: only:
- master - master
- rc3.0 - rc3.0
- rc3.1 - rc3.1
image: $DOCKER_DIND_IMAGE image: $DOCKER_DIND_IMAGE
services: services:
- $DOCKER_DIND_SERVICE - $DOCKER_DIND_SERVICE
script: script:
- $DOCKER_CLI $GUI_BACKEND_CLI -Ddocker.imagePrefix=melodic/ clean install - $DOCKER_CLI $GUI_BACKEND_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/gui-backend:unknown $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH - docker tag $LOCAL_REPO/melodic/gui-backend:unknown $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH
......
...@@ -281,4 +281,4 @@ class NCSolverTest { ...@@ -281,4 +281,4 @@ class NCSolverTest {
assertTrue(solution.extractVMConfiguration(1).equals(new VMConfiguration(4,3,3))); assertTrue(solution.extractVMConfiguration(1).equals(new VMConfiguration(4,3,3)));
} }
} }
\ No newline at end of file
...@@ -51,4 +51,4 @@ ...@@ -51,4 +51,4 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
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