Browse Source

Add displaynames and fix migrator delete job

pull/55/head
Halil İbrahim Kalkan 5 years ago
parent
commit
b30b224aed
  1. 19
      etc/azure/deploy-to-k8s.yml

19
etc/azure/deploy-to-k8s.yml

@ -5,23 +5,38 @@ pool:
steps:
- task: PowerShell@2
displayName: Build docker images
inputs:
filePath: 'etc/k8s/scripts/build-images.ps1'
arguments: '-version $(Build.BuildId)'
- task: Docker@2
displayName: Login to ACR
inputs:
containerRegistry: 'volocr'
command: 'login'
- task: PowerShell@2
displayName: Push images to ACR
inputs:
filePath: 'etc/azure/scripts/push-images.ps1'
arguments: '-version $(Build.BuildId)'
- task: CmdLine@2
- task: Kubernetes@1
displayName: Delete migrator job
inputs:
script: 'kubectl delete job eh-az-dbmigrator --namespace eventhub'
connectionType: 'Azure Resource Manager'
azureSubscriptionEndpoint: 'volosoft (fe02ef9f-9e1c-4e40-b924-505981688dd8)'
azureResourceGroup: 'volo'
kubernetesCluster: 'volo'
namespace: 'eventhub'
command: 'delete'
arguments: 'job eh-az-dbmigrator'
secretType: 'dockerRegistry'
containerRegistryType: 'Azure Container Registry'
- task: HelmDeploy@0
displayName: Helm deploy
inputs:
connectionType: 'Azure Resource Manager'
azureSubscription: 'volosoft(fe02ef9f-9e1c-4e40-b924-505981688dd8)'

Loading…
Cancel
Save