Commit 8cd58876 authored by mriedl's avatar mriedl
Browse files

v2

parent 751e63ce
Pipeline #10209 failed
...@@ -317,91 +317,91 @@ deploy:melodic-commons: ...@@ -317,91 +317,91 @@ deploy:melodic-commons:
script: script:
- $DOCKER_CLI $MELODIC_COMMONS_CLI deploy - $DOCKER_CLI $MELODIC_COMMONS_CLI deploy
deploy:melodic-cache: #deploy:melodic-cache:
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:melodic-cache # - build:melodic-cache
script: # script:
- $DOCKER_CLI $MELODIC_CACHE_CLI deploy # - $DOCKER_CLI $MELODIC_CACHE_CLI deploy
#
deploy:dlms: #deploy:dlms:
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:dlms # - build:dlms
script: # script:
- $DOCKER_CLI $DLMS_CLI deploy # - $DOCKER_CLI $DLMS_CLI deploy
#
deploy:dlms-utility: #deploy:dlms-utility:
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:dlms-utility # - build:dlms-utility
script: # script:
- $DOCKER_CLI $DLMS_UTILITY_CLI deploy # - $DOCKER_CLI $DLMS_UTILITY_CLI deploy
#
deploy:dlms-controller: #deploy:dlms-controller:
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 $DLMS_CONTROLLER_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 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 # - docker push $CI_REGISTRY_IMAGE/dlms-controller:$CI_COMMIT_BRANCH
#
deploy:dlms-webservice: #deploy:dlms-webservice:
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 $DLMS_WEB_SERVICE_CLI -Ddocker.imagePrefix=melodic/ clean install # - $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 # - 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 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 # - docker push $CI_REGISTRY_IMAGE/dlms-webservice:$CI_COMMIT_BRANCH
#
deploy:penalty-calculator: #deploy:penalty-calculator:
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:penalty-calculator # - build:penalty-calculator
script: # script:
- $DOCKER_CLI $PENALTY_CALCULATOR_CLI deploy # - $DOCKER_CLI $PENALTY_CALCULATOR_CLI deploy
deploy:jwt-server: deploy:jwt-server:
stage: deploy stage: deploy
......
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