Skip to content

Commit

Permalink
Merge pull request #180 from meyskens/helm-tage
Browse files Browse the repository at this point in the history
Make seperate stage for release-helm
  • Loading branch information
smacker authored Nov 22, 2018
2 parents 9a80c76 + 859b896 commit a9cf8bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .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 @@ -51,6 +53,6 @@ jobs:
- 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.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 a9cf8bd

Please sign in to comment.