Commit 42c92a79 authored by mriedl's avatar mriedl
Browse files

v3

parent 8cd58876
Pipeline #10210 failed with stages
in 21 minutes and 1 second
......@@ -418,97 +418,97 @@ 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
......@@ -618,131 +618,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:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $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
- docker tag $LOCAL_REPO/melodic/mq-http-adapter:unknown $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH
deploy:nc-solver:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:cp-solver
script:
- $DOCKER_CLI $NC_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/ncsolver:unknown $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH
deploy:pt-solver:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:cp-solver
script:
- $DOCKER_CLI $PT_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/ptsolver:unknown $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH
deploy:mcts-solver:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
dependencies:
- build:cp-solver
script:
- $DOCKER_CLI $MCTS_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/mctssolver:unknown $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH
deploy:gui-backend:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $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
- docker tag $LOCAL_REPO/melodic/gui-backend:unknown $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH
deploy:functionizer-testing-tool:
stage: deploy
only:
- master
- rc3.0
- rc3.1
image: $DOCKER_DIND_IMAGE
services:
- $DOCKER_DIND_SERVICE
script:
- $DOCKER_CLI $FUNCTIONIZER_TESTING_TOOL_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/functionizer-testing-tool:unknown $CI_REGISTRY_IMAGE/functionizer-testing-tool:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/functionizer-testing-tool:$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:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $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
# - docker tag $LOCAL_REPO/melodic/mq-http-adapter:unknown $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH
#
#deploy:nc-solver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:cp-solver
# script:
# - $DOCKER_CLI $NC_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/ncsolver:unknown $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH
#
#deploy:pt-solver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:cp-solver
# script:
# - $DOCKER_CLI $PT_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/ptsolver:unknown $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH
#
#deploy:mcts-solver:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# dependencies:
# - build:cp-solver
# script:
# - $DOCKER_CLI $MCTS_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/mctssolver:unknown $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH
#
#deploy:gui-backend:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $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
# - docker tag $LOCAL_REPO/melodic/gui-backend:unknown $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH
#
#deploy:functionizer-testing-tool:
# stage: deploy
# only:
# - master
# - rc3.0
# - rc3.1
# image: $DOCKER_DIND_IMAGE
# services:
# - $DOCKER_DIND_SERVICE
# script:
# - $DOCKER_CLI $FUNCTIONIZER_TESTING_TOOL_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/functionizer-testing-tool:unknown $CI_REGISTRY_IMAGE/functionizer-testing-tool:$CI_COMMIT_BRANCH
# - docker push $CI_REGISTRY_IMAGE/functionizer-testing-tool:$CI_COMMIT_BRANCH
Markdown is supported
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