diff --git a/etc/azure/deploy-to-k8s.yml b/etc/azure/deploy-to-k8s.yml index 23b8290..3a5f114 100644 --- a/etc/azure/deploy-to-k8s.yml +++ b/etc/azure/deploy-to-k8s.yml @@ -18,7 +18,9 @@ steps: inputs: filePath: 'etc/azure/scripts/push-images.ps1' arguments: '-version $(Build.BuildId)' - +- task: CmdLine@2 + inputs: + script: 'kubectl delete job eh-az-dbmigrator --namespace eventhub' - task: HelmDeploy@0 inputs: connectionType: 'Azure Resource Manager'