ci: fix CD not working correctly

This commit is contained in:
Jens Langhammer 2020-09-30 15:41:04 +02:00
parent c0b334eb02
commit e699dfe88c
1 changed files with 12 additions and 11 deletions

View File

@ -337,14 +337,15 @@ stages:
- job: deploy_dev
pool:
vmImage: 'ubuntu-latest'
steps:
- task: HelmDeploy@0
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceConnection: 'k8s-beryjuorg-prd'
namespace: 'passbook-dev'
command: 'upgrade'
chartType: 'FilePath'
chartPath: 'helm/'
releaseName: 'passbook-dev'
recreate: true
steps:
- task: HelmDeploy@0
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceConnection: 'k8s-beryjuorg-prd'
namespace: 'passbook-dev'
command: 'upgrade'
chartType: 'FilePath'
chartPath: 'helm/'
releaseName: 'passbook-dev'
recreate: true