Skip to content

Commit

Permalink
Make seperate stage for release-helm
Browse files Browse the repository at this point in the history
Signed-off-by: Maartje Eyskens <[email protected]>
  • Loading branch information
meyskens committed Nov 22, 2018
1 parent bc844a6 commit 859b896
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ stages:
if: branch = master AND type = push
- name: release
if: tag IS present
- name: release-helm
if: tag IS present

jobs:
include:
Expand Down Expand Up @@ -49,8 +51,8 @@ jobs:
script:
- make packages
- DOCKER_PUSH_MASTER=true make docker-push
- HELM_RELEASE=bblfsh-web HELM_CHART=bblfsh-web K8S_NAMESPACE=default HELM_ARGS="--repo https://src-d.github.io/charts/ --version 0.6.0 --set image.tag=dev-$(git rev-parse --short HEAD)-dirty -f .helm_staging.yml" make deploy
- HELM_RELEASE=bblfsh-web HELM_CHART=bblfsh-web K8S_NAMESPACE=default HELM_ARGS="--repo https://src-d.github.io/charts/ --version 0.6.1 --set image.tag=dev-$(git rev-parse --short HEAD)-dirty -f .helm_staging.yml" make deploy
- name: 'Deploy to production'
stage: release
stage: release-helm
script:
- B64_CA_CRT=$B64_CA_CRT_PROD SERVICE_ACCOUNT_TOKEN=$SERVICE_ACCOUNT_TOKEN_PROD CLUSTER_ENDPOINT=$CLUSTER_ENDPOINT_PROD HELM_RELEASE=bblfsh-web HELM_CHART=bblfsh-web K8S_NAMESPACE=default HELM_ARGS="--repo https://src-d.github.io/charts/ --version 0.6.0 --set image.tag=$TRAVIS_TAG -f .helm_production.yml" make deploy

0 comments on commit 859b896

Please sign in to comment.