Commit 15357dcb authored by Alicja Reniewicz's avatar Alicja Reniewicz
Browse files

checking-ems: revert changes for building all components

parent 0d3c750f
Pipeline #11886 failed with stage
in 13 minutes and 17 seconds
......@@ -111,77 +111,77 @@ build:melodic-commons:
paths:
- $CI_PROJECT_DIR/melodic-commons/target
#build:melodic-cache:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $MELODIC_CACHE_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/melodic-cache/target
#
#build:dlms:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $DLMS_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/dlms/target
#
#build:dlms-utility:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $DLMS_UTILITY_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/dlms/DLMSUtility/target
#
#build:penalty-calculator:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $PENALTY_CALCULATOR_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/penalty-calculator/target
#
#build:utility-generator:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $UTILITY_GENERATOR_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/utility-generator/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:zpp-solver:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $ZPP_SOLVER_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/zpp-solver/target
#
#build:dlms-agent:
# stage: build
# image: $MAVEN_IMAGE
# script:
# - $DLMS_AGENT_CLI -Pwithout-docker clean install
# artifacts:
# paths:
# - $CI_PROJECT_DIR/dlmsAgent/target
build:melodic-cache:
stage: build
image: $MAVEN_IMAGE
script:
- $MELODIC_CACHE_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/melodic-cache/target
build:dlms:
stage: build
image: $MAVEN_IMAGE
script:
- $DLMS_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/dlms/target
build:dlms-utility:
stage: build
image: $MAVEN_IMAGE
script:
- $DLMS_UTILITY_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/dlms/DLMSUtility/target
build:penalty-calculator:
stage: build
image: $MAVEN_IMAGE
script:
- $PENALTY_CALCULATOR_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/penalty-calculator/target
build:utility-generator:
stage: build
image: $MAVEN_IMAGE
script:
- $UTILITY_GENERATOR_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/utility-generator/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:zpp-solver:
stage: build
image: $MAVEN_IMAGE
script:
- $ZPP_SOLVER_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/zpp-solver/target
build:dlms-agent:
stage: build
image: $MAVEN_IMAGE
script:
- $DLMS_AGENT_CLI -Pwithout-docker clean install
artifacts:
paths:
- $CI_PROJECT_DIR/dlmsAgent/target
build:ems:
stage: build
......@@ -317,91 +317,91 @@ deploy:melodic-commons:
script:
- $DOCKER_CLI $MELODIC_COMMONS_CLI deploy
#deploy:melodic-cache:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:melodic-cache
# script:
# - $DOCKER_CLI $MELODIC_CACHE_CLI deploy
#
#deploy:dlms:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:dlms
# script:
# - $DOCKER_CLI $DLMS_CLI deploy
#
#deploy:dlms-utility:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:dlms-utility
# script:
# - $DOCKER_CLI $DLMS_UTILITY_CLI deploy
#
#deploy:dlms-controller:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $DOCKER_CLI $DLMS_CONTROLLER_CLI -Ddocker.imagePrefix=melodic/ clean install
# - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
# - docker tag $LOCAL_REPO/melodic/dlms-controller:unknown $CI_REGISTRY_IMAGE/dlms-controller:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/dlms-controller:$CI_COMMIT_BRANCH
#
#deploy:dlms-webservice:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $DOCKER_CLI $DLMS_WEB_SERVICE_CLI -Ddocker.imagePrefix=melodic/ clean install
# - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
# - docker tag $LOCAL_REPO/melodic/dlms-webservice:unknown $CI_REGISTRY_IMAGE/dlms-webservice:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/dlms-webservice:$CI_COMMIT_BRANCH
#
#deploy:penalty-calculator:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:penalty-calculator
# script:
# - $DOCKER_CLI $PENALTY_CALCULATOR_CLI deploy
deploy:melodic-cache:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:melodic-cache
script:
- $DOCKER_CLI $MELODIC_CACHE_CLI deploy
deploy:dlms:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:dlms
script:
- $DOCKER_CLI $DLMS_CLI deploy
deploy:dlms-utility:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:dlms-utility
script:
- $DOCKER_CLI $DLMS_UTILITY_CLI deploy
deploy:dlms-controller:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $DOCKER_CLI $DLMS_CONTROLLER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/dlms-controller:unknown $CI_REGISTRY_IMAGE/dlms-controller:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/dlms-controller:$CI_COMMIT_BRANCH
deploy:dlms-webservice:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $DOCKER_CLI $DLMS_WEB_SERVICE_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/dlms-webservice:unknown $CI_REGISTRY_IMAGE/dlms-webservice:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/dlms-webservice:$CI_COMMIT_BRANCH
deploy:penalty-calculator:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:penalty-calculator
script:
- $DOCKER_CLI $PENALTY_CALCULATOR_CLI deploy
deploy:jwt-server:
stage: deploy
......@@ -418,102 +418,104 @@ deploy:jwt-server:
- docker tag $LOCAL_REPO/melodic/jwtserver:unknown $CI_REGISTRY_IMAGE/jwt-server:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/jwt-server:$CI_COMMIT_BRANCH
#deploy:utility-generator:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:utility-generator
# script:
# - $DOCKER_CLI $UTILITY_GENERATOR_CLI deploy
#
#deploy:zpp-solver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:zpp-solver
# script:
# - $DOCKER_CLI $ZPP_SOLVER_CLI deploy
#
#deploy:adapter:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $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
# - docker tag $LOCAL_REPO/melodic/adapter:unknown $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH
#
#deploy:cp-generator:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $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
# - docker tag $LOCAL_REPO/melodic/generator:unknown $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH
#
#deploy:cp-solver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $DOCKER_CLI $CP_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
# - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
# - docker tag $LOCAL_REPO/melodic/cpsolver:unknown $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH
#
#deploy:dlms-agent:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: "python:latest"
# before_script:
# - pip install awscli
# dependencies:
# - build:dlms-agent
# script:
# - export AWS_ACCESS_KEY_ID=$K8S_SECRET_AWS_USER
# - export AWS_SECRET_ACCESS_KEY=$K8S_SECRET_AWS_PASSWORD
# - export AWS_DEFAULT_REGION=eu-west-1
# - ls -l $CI_PROJECT_DIR/dlmsAgent
# - ls -l $CI_PROJECT_DIR/dlmsAgent/target
# - aws s3 cp $CI_PROJECT_DIR/dlmsAgent/target/DLMSAgent-3.1.0-SNAPSHOT.jar s3://melodic.testing.data/ARTIFACTS/ow2/dlmsagent/
deploy:utility-generator:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:utility-generator
script:
- $DOCKER_CLI $UTILITY_GENERATOR_CLI deploy
deploy:zpp-solver:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:zpp-solver
script:
- $DOCKER_CLI $ZPP_SOLVER_CLI deploy
deploy:adapter:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $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
- docker tag $LOCAL_REPO/melodic/adapter:unknown $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH
deploy:cp-generator:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $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
- docker tag $LOCAL_REPO/melodic/generator:unknown $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH
deploy:cp-solver:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $DOCKER_CLI $CP_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic/cpsolver:unknown $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH
deploy:dlms-agent:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: "python:latest"
before_script:
- pip install awscli
dependencies:
- build:dlms-agent
script:
- export AWS_ACCESS_KEY_ID=$K8S_SECRET_AWS_USER
- export AWS_SECRET_ACCESS_KEY=$K8S_SECRET_AWS_PASSWORD
- export AWS_DEFAULT_REGION=eu-west-1
- ls -l $CI_PROJECT_DIR/dlmsAgent
- ls -l $CI_PROJECT_DIR/dlmsAgent/target
- aws s3 cp $CI_PROJECT_DIR/dlmsAgent/target/DLMSAgent-3.1.0-SNAPSHOT.jar s3://melodic.testing.data/ARTIFACTS/ow2/dlmsagent/
deploy:ems:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -525,7 +527,9 @@ deploy:ems:
deploy:ems-util:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -537,7 +541,9 @@ deploy:ems-util:
deploy:ems-broker-client:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -549,7 +555,9 @@ deploy:ems-broker-client:
deploy:ems-broker-cep:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -561,7 +569,9 @@ deploy:ems-broker-cep:
deploy:ems-baguette-client:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -573,7 +583,9 @@ deploy:ems-baguette-client:
deploy:ems-baguette-server:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -585,7 +597,9 @@ deploy:ems-baguette-server:
deploy:ems-baguette-client-install:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -597,7 +611,9 @@ deploy:ems-baguette-client-install:
deploy:ems-translator:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -609,7 +625,9 @@ deploy:ems-translator:
deploy:ems-server:
stage: deploy
only:
- rc3.1--checking-ems
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
......@@ -618,131 +636,131 @@ deploy:ems-server:
- 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 push $CI_REGISTRY_IMAGE/ems-server:$CI_COMMIT_BRANCH
#
#deploy:gen-solver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:cp-solver
# script:
# - $DOCKER_CLI $GEN_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install
# - echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $CI_REGISTRY -u $K8S_SECRET_DOCKER_USER --password-stdin
# - docker tag $LOCAL_REPO/melodic/geneticsolver:unknown $CI_REGISTRY_IMAGE/geneticsolver:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/geneticsolver:$CI_COMMIT_BRANCH
#
#deploy:metasolver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $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
# - docker tag $LOCAL_REPO/melodic/metasolver:unknown $CI_REGISTRY_IMAGE/metasolver:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/metasolver:$CI_COMMIT_BRANCH
#
#deploy:mq-adapter:
# stage: deploy
# only: