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: ...@@ -418,97 +418,97 @@ deploy:jwt-server:
- 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
- docker push $CI_REGISTRY_IMAGE/jwt-server:$CI_COMMIT_BRANCH - docker push $CI_REGISTRY_IMAGE/jwt-server:$CI_COMMIT_BRANCH
deploy:utility-generator: #deploy:utility-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
dependencies: # dependencies:
- build:utility-generator # - build:utility-generator
script: # script:
- $DOCKER_CLI $UTILITY_GENERATOR_CLI deploy # - $DOCKER_CLI $UTILITY_GENERATOR_CLI deploy
#
deploy:zpp-solver: #deploy:zpp-solver:
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:zpp-solver # - build:zpp-solver
script: # script:
- $DOCKER_CLI $ZPP_SOLVER_CLI deploy # - $DOCKER_CLI $ZPP_SOLVER_CLI deploy
#
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
- docker push $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/adapter:$CI_COMMIT_BRANCH
#
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
- docker push $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/generator:$CI_COMMIT_BRANCH
#
deploy:cp-solver: #deploy:cp-solver:
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_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 tag $LOCAL_REPO/melodic/cpsolver:unknown $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/cpsolver:$CI_COMMIT_BRANCH
#
deploy:dlms-agent: #deploy:dlms-agent:
stage: deploy # stage: deploy
only: # only:
- master # - master
- rc3.0 # - rc3.0
- rc3.1 # - rc3.1
image: "python:latest" # image: "python:latest"
before_script: # before_script:
- pip install awscli # - pip install awscli
dependencies: # dependencies:
- build:dlms-agent # - build:dlms-agent
script: # script:
- export AWS_ACCESS_KEY_ID=$K8S_SECRET_AWS_USER # - export AWS_ACCESS_KEY_ID=$K8S_SECRET_AWS_USER
- export AWS_SECRET_ACCESS_KEY=$K8S_SECRET_AWS_PASSWORD # - export AWS_SECRET_ACCESS_KEY=$K8S_SECRET_AWS_PASSWORD
- export AWS_DEFAULT_REGION=eu-west-1 # - export AWS_DEFAULT_REGION=eu-west-1
- ls -l $CI_PROJECT_DIR/dlmsAgent # - ls -l $CI_PROJECT_DIR/dlmsAgent
- ls -l $CI_PROJECT_DIR/dlmsAgent/target # - 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/ # - aws s3 cp $CI_PROJECT_DIR/dlmsAgent/target/DLMSAgent-3.1.0-SNAPSHOT.jar s3://melodic.testing.data/ARTIFACTS/ow2/dlmsagent/
deploy:ems: deploy:ems:
stage: deploy stage: deploy
...@@ -618,131 +618,131 @@ deploy:ems-server: ...@@ -618,131 +618,131 @@ deploy:ems-server:
- 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:gen-solver: #deploy:gen-solver:
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:cp-solver # - build:cp-solver
script: # script:
- $DOCKER_CLI $GEN_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 tag $LOCAL_REPO/melodic/geneticsolver:unknown $CI_REGISTRY_IMAGE/geneticsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/geneticsolver:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/geneticsolver:$CI_COMMIT_BRANCH
#
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
- docker push $CI_REGISTRY_IMAGE/metasolver:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/metasolver:$CI_COMMIT_BRANCH
#
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
- docker push $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/mq-http-adapter:$CI_COMMIT_BRANCH
#
deploy:nc-solver: #deploy:nc-solver:
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:cp-solver # - build:cp-solver
script: # script:
- $DOCKER_CLI $NC_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 tag $LOCAL_REPO/melodic/ncsolver:unknown $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/ncsolver:$CI_COMMIT_BRANCH
#
deploy:pt-solver: #deploy:pt-solver:
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:cp-solver # - build:cp-solver
script: # script:
- $DOCKER_CLI $PT_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 tag $LOCAL_REPO/melodic/ptsolver:unknown $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/ptsolver:$CI_COMMIT_BRANCH
#
deploy:mcts-solver: #deploy:mcts-solver:
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:cp-solver # - build:cp-solver
script: # script:
- $DOCKER_CLI $MCTS_SOLVER_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 tag $LOCAL_REPO/melodic/mctssolver:unknown $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH
- docker push $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/mctssolver:$CI_COMMIT_BRANCH
#
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
- docker push $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH # - docker push $CI_REGISTRY_IMAGE/gui-backend:$CI_COMMIT_BRANCH
#
deploy:functionizer-testing-tool: #deploy:functionizer-testing-tool:
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 $FUNCTIONIZER_TESTING_TOOL_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 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 # - docker push $CI_REGISTRY_IMAGE/functionizer-testing-tool:$CI_COMMIT_BRANCH
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