diff --git a/.travis.yml b/.travis.yml index c4714bc7..d0e54bc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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