Commit 0532ae52 authored by Sandro Lutz's avatar Sandro Lutz Committed by Sandro Lutz
Browse files

Add deploy_pazuzu to CI script

parent 8443c690
...@@ -33,6 +33,9 @@ build_master: ...@@ -33,6 +33,9 @@ build_master:
- docker push "$CI_REGISTRY_IMAGE" - docker push "$CI_REGISTRY_IMAGE"
only: only:
- master - master
environment:
name: production
url: https://future.amiv.ethz.ch
# On branches except master: verify that build works, do not push to registry # On branches except master: verify that build works, do not push to registry
build: build:
...@@ -47,10 +50,20 @@ build: ...@@ -47,10 +50,20 @@ build:
except: except:
- master - master
deploy: deploy_cluster:
stage: deploy stage: deploy
image: amiveth/service-update-helper image: amiveth/service-update-helper
script: script:
- /update.py - /update.py
only: only:
- master - master
deploy_pazuzu:
stage: deploy
image: amiveth/service-update-helper
before_script:
- export CI_DEPLOY_URL="$CI_DEPLOY_URL_PAZUZU"
script:
- /update.py
only:
- master
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