From 7059bc8267be81665072eb1f3f7150e51a579c42 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 09:34:58 +0300 Subject: [PATCH 01/11] separate build and deploy stages --- etc/azure/build-push.yaml | 39 +++++++++++++++++++++ etc/azure/deploy-to-k8s.yml | 67 ------------------------------------- 2 files changed, 39 insertions(+), 67 deletions(-) create mode 100644 etc/azure/build-push.yaml delete mode 100644 etc/azure/deploy-to-k8s.yml diff --git a/etc/azure/build-push.yaml b/etc/azure/build-push.yaml new file mode 100644 index 0000000..b8a5bb1 --- /dev/null +++ b/etc/azure/build-push.yaml @@ -0,0 +1,39 @@ +variables: + version: $(Build.BuildId) + +trigger: + branches: + include: + - refs/heads/main + +pool: + vmImage: "ubuntu-latest" + +steps: + - task: UseDotNet@2 + displayName: "Use .NET sdk" + inputs: + packageType: sdk + version: 7.0.x + installationPath: $(Agent.ToolsDirectory)/dotnet + includePreviewVersions: true + + - task: PowerShell@2 + displayName: Build docker images + inputs: + filePath: "etc/k8s/scripts/build-images.ps1" + arguments: "-version $(version)" + + - task: Docker@2 + displayName: Login to ACR + inputs: + containerRegistry: "volosoft" + command: "login" + + - task: PowerShell@2 + displayName: Push images to ACR + inputs: + filePath: "etc/azure/scripts/push-images.ps1" + arguments: "-version $(version)" + + diff --git a/etc/azure/deploy-to-k8s.yml b/etc/azure/deploy-to-k8s.yml deleted file mode 100644 index e97f314..0000000 --- a/etc/azure/deploy-to-k8s.yml +++ /dev/null @@ -1,67 +0,0 @@ -variables: - version: $(Build.BuildId) - -trigger: - branches: - include: - - refs/heads/main - -pool: - vmImage: "ubuntu-latest" - -steps: - - task: UseDotNet@2 - displayName: "Use .NET sdk" - inputs: - packageType: sdk - version: 7.0.x - installationPath: $(Agent.ToolsDirectory)/dotnet - includePreviewVersions: true - - - task: PowerShell@2 - displayName: Build docker images - inputs: - filePath: "etc/k8s/scripts/build-images.ps1" - arguments: "-version $(version)" - - - 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 $(version)" - - - task: Kubernetes@1 - displayName: Delete migrator job - continueOnError: true - inputs: - 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)" - azureResourceGroup: "volo" - kubernetesCluster: "volo" - useClusterAdmin: true - namespace: "eventhub" - command: "upgrade" - chartType: "Name" - chartName: "etc/k8s/helm-chart/eventhub" - releaseName: "eh-az" - valueFile: "etc/k8s/helm-chart/eventhub/values.azure.yaml" - arguments: "--timeout 20m --namespace eventhub --create-namespace --set global.eventHubImageVersion=$(version)" From 5636b49065e4e9095e0bb100d1ef77c605229b6d Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 09:35:24 +0300 Subject: [PATCH 02/11] fix cr name --- etc/azure/deploy.yaml | 67 +++++++++++++++++++++++++++++++ etc/azure/scripts/push-images.ps1 | 44 ++++++++++---------- 2 files changed, 89 insertions(+), 22 deletions(-) create mode 100644 etc/azure/deploy.yaml diff --git a/etc/azure/deploy.yaml b/etc/azure/deploy.yaml new file mode 100644 index 0000000..e97f314 --- /dev/null +++ b/etc/azure/deploy.yaml @@ -0,0 +1,67 @@ +variables: + version: $(Build.BuildId) + +trigger: + branches: + include: + - refs/heads/main + +pool: + vmImage: "ubuntu-latest" + +steps: + - task: UseDotNet@2 + displayName: "Use .NET sdk" + inputs: + packageType: sdk + version: 7.0.x + installationPath: $(Agent.ToolsDirectory)/dotnet + includePreviewVersions: true + + - task: PowerShell@2 + displayName: Build docker images + inputs: + filePath: "etc/k8s/scripts/build-images.ps1" + arguments: "-version $(version)" + + - 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 $(version)" + + - task: Kubernetes@1 + displayName: Delete migrator job + continueOnError: true + inputs: + 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)" + azureResourceGroup: "volo" + kubernetesCluster: "volo" + useClusterAdmin: true + namespace: "eventhub" + command: "upgrade" + chartType: "Name" + chartName: "etc/k8s/helm-chart/eventhub" + releaseName: "eh-az" + valueFile: "etc/k8s/helm-chart/eventhub/values.azure.yaml" + arguments: "--timeout 20m --namespace eventhub --create-namespace --set global.eventHubImageVersion=$(version)" diff --git a/etc/azure/scripts/push-images.ps1 b/etc/azure/scripts/push-images.ps1 index a1fdd44..657bb7f 100644 --- a/etc/azure/scripts/push-images.ps1 +++ b/etc/azure/scripts/push-images.ps1 @@ -1,31 +1,31 @@ param ($version='latest') -az acr login --name volocr +az acr login --name volosoft -docker tag eventhub.dbmigrator:$version volocr.azurecr.io/eventhub.dbmigrator:$version -docker push volocr.azurecr.io/eventhub.dbmigrator:$version -docker tag volocr.azurecr.io/eventhub.dbmigrator:$version volocr.azurecr.io/eventhub.dbmigrator:latest +docker tag eventhub.dbmigrator:$version volosoft.azurecr.io/eventhub.dbmigrator:$version +docker push volosoft.azurecr.io/eventhub.dbmigrator:$version +docker tag volosoft.azurecr.io/eventhub.dbmigrator:$version volosoft.azurecr.io/eventhub.dbmigrator:latest -docker tag eventhub.www:$version volocr.azurecr.io/eventhub.www:$version -docker push volocr.azurecr.io/eventhub.www:$version -docker tag volocr.azurecr.io/eventhub.www:$version volocr.azurecr.io/eventhub.www:latest +docker tag eventhub.www:$version volosoft.azurecr.io/eventhub.www:$version +docker push volosoft.azurecr.io/eventhub.www:$version +docker tag volosoft.azurecr.io/eventhub.www:$version volosoft.azurecr.io/eventhub.www:latest -docker tag eventhub.api:$version volocr.azurecr.io/eventhub.api:$version -docker push volocr.azurecr.io/eventhub.api:$version -docker tag volocr.azurecr.io/eventhub.api:$version volocr.azurecr.io/eventhub.api:latest +docker tag eventhub.api:$version volosoft.azurecr.io/eventhub.api:$version +docker push volosoft.azurecr.io/eventhub.api:$version +docker tag volosoft.azurecr.io/eventhub.api:$version volosoft.azurecr.io/eventhub.api:latest -docker tag eventhub.admin:$version volocr.azurecr.io/eventhub.admin:$version -docker push volocr.azurecr.io/eventhub.admin:$version -docker tag volocr.azurecr.io/eventhub.admin:$version volocr.azurecr.io/eventhub.admin:latest +docker tag eventhub.admin:$version volosoft.azurecr.io/eventhub.admin:$version +docker push volosoft.azurecr.io/eventhub.admin:$version +docker tag volosoft.azurecr.io/eventhub.admin:$version volosoft.azurecr.io/eventhub.admin:latest -docker tag eventhub.admin-api:$version volocr.azurecr.io/eventhub.admin-api:$version -docker push volocr.azurecr.io/eventhub.admin-api:$version -docker tag volocr.azurecr.io/eventhub.admin-api:$version volocr.azurecr.io/eventhub.admin-api:latest +docker tag eventhub.admin-api:$version volosoft.azurecr.io/eventhub.admin-api:$version +docker push volosoft.azurecr.io/eventhub.admin-api:$version +docker tag volosoft.azurecr.io/eventhub.admin-api:$version volosoft.azurecr.io/eventhub.admin-api:latest -docker tag eventhub.account:$version volocr.azurecr.io/eventhub.account:$version -docker push volocr.azurecr.io/eventhub.account:$version -docker tag volocr.azurecr.io/eventhub.account:$version volocr.azurecr.io/eventhub.account:latest +docker tag eventhub.account:$version volosoft.azurecr.io/eventhub.account:$version +docker push volosoft.azurecr.io/eventhub.account:$version +docker tag volosoft.azurecr.io/eventhub.account:$version volosoft.azurecr.io/eventhub.account:latest -docker tag eventhub.background-services:$version volocr.azurecr.io/eventhub.background-services:$version -docker push volocr.azurecr.io/eventhub.background-services:$version -docker tag volocr.azurecr.io/eventhub.background-services:$version volocr.azurecr.io/eventhub.background-services:latest +docker tag eventhub.background-services:$version volosoft.azurecr.io/eventhub.background-services:$version +docker push volosoft.azurecr.io/eventhub.background-services:$version +docker tag volosoft.azurecr.io/eventhub.background-services:$version volosoft.azurecr.io/eventhub.background-services:latest From 4a50a5431a033cec1b7dbec6f171b7a5c39f318e Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 10:22:31 +0300 Subject: [PATCH 03/11] Update build-push.yaml --- etc/azure/build-push.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/etc/azure/build-push.yaml b/etc/azure/build-push.yaml index b8a5bb1..fe4f57f 100644 --- a/etc/azure/build-push.yaml +++ b/etc/azure/build-push.yaml @@ -1,5 +1,10 @@ variables: - version: $(Build.BuildId) + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: 'volosoft-reg' + buildContextBasePath: '$(Build.SourcesDirectory)' + # tag: $[replace(variables['Build.SourceBranch'], 'refs/tags/', '')] + tag: $(Build.BuildNumber) + DOCKER_BUILDKIT: 1 trigger: branches: @@ -22,18 +27,18 @@ steps: displayName: Build docker images inputs: filePath: "etc/k8s/scripts/build-images.ps1" - arguments: "-version $(version)" + arguments: "-version $(tag)" - task: Docker@2 displayName: Login to ACR inputs: - containerRegistry: "volosoft" + containerRegistry: $(dockerRegistryServiceConnection) command: "login" - task: PowerShell@2 displayName: Push images to ACR inputs: filePath: "etc/azure/scripts/push-images.ps1" - arguments: "-version $(version)" + arguments: "-version $(tag)" From 01ce07809cd29e55b4b2beea7ef878533d791fce Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 10:45:21 +0300 Subject: [PATCH 04/11] added artifact --- etc/azure/build-push.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/etc/azure/build-push.yaml b/etc/azure/build-push.yaml index fe4f57f..258d47d 100644 --- a/etc/azure/build-push.yaml +++ b/etc/azure/build-push.yaml @@ -41,4 +41,12 @@ steps: filePath: "etc/azure/scripts/push-images.ps1" arguments: "-version $(tag)" + - bash: | + sed -i "s/eventHubImageVersion: latest/eventHubImageVersion: $(tag)/" etc/k8s/helm-chart/eventhub/values.azure.yaml + + - task: PublishPipelineArtifact@1 + inputs: + targetPath: '$(buildContextBasePath)/etc/k8s/helm-chart/eventhub' + artifact: helm + publishLocation: pipeline From 06dceb577b1a732a7964dec69d99de22cdcf6187 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 10:46:39 +0300 Subject: [PATCH 05/11] Update build-push.yaml --- etc/azure/build-push.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/azure/build-push.yaml b/etc/azure/build-push.yaml index 258d47d..65ff79b 100644 --- a/etc/azure/build-push.yaml +++ b/etc/azure/build-push.yaml @@ -45,8 +45,8 @@ steps: sed -i "s/eventHubImageVersion: latest/eventHubImageVersion: $(tag)/" etc/k8s/helm-chart/eventhub/values.azure.yaml - task: PublishPipelineArtifact@1 - inputs: - targetPath: '$(buildContextBasePath)/etc/k8s/helm-chart/eventhub' - artifact: helm - publishLocation: pipeline + inputs: + targetPath: '$(buildContextBasePath)/etc/k8s/helm-chart/eventhub' + artifact: helm + publishLocation: pipeline From c8ff21bc0515f2585b5ba9a92cf9ee35e4c49724 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 11:03:05 +0300 Subject: [PATCH 06/11] fix sc --- .../eventhub/charts/postgresql/templates/postgresql.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/k8s/helm-chart/eventhub/charts/postgresql/templates/postgresql.yaml b/etc/k8s/helm-chart/eventhub/charts/postgresql/templates/postgresql.yaml index 1dfc47a..b029816 100644 --- a/etc/k8s/helm-chart/eventhub/charts/postgresql/templates/postgresql.yaml +++ b/etc/k8s/helm-chart/eventhub/charts/postgresql/templates/postgresql.yaml @@ -36,8 +36,8 @@ spec: name: {{ .Release.Name }}-{{ .Chart.Name }}-database-volume spec: accessModes: [ "ReadWriteOnce" ] - storageClassName: "managed-premium-retain" + storageClassName: "managed-csi" resources: requests: - storage: 64Gi + storage: 32Gi {{- end }} \ No newline at end of file From b8f55dcffdf64c422224565e83dd5c7815568254 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 11:03:22 +0300 Subject: [PATCH 07/11] fix cr name --- etc/k8s/helm-chart/eventhub/values.azure.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/k8s/helm-chart/eventhub/values.azure.yaml b/etc/k8s/helm-chart/eventhub/values.azure.yaml index 4aba737..4568f89 100644 --- a/etc/k8s/helm-chart/eventhub/values.azure.yaml +++ b/etc/k8s/helm-chart/eventhub/values.azure.yaml @@ -21,16 +21,16 @@ global: imagePullPolicy: Always eventHubImageVersion: latest account: - containerImage: "volocr.azurecr.io/eventhub.account" + containerImage: "volosoft.azurecr.io/eventhub.account" api: - containerImage: "volocr.azurecr.io/eventhub.api" + containerImage: "volosoft.azurecr.io/eventhub.api" www: - containerImage: "volocr.azurecr.io/eventhub.www" + containerImage: "volosoft.azurecr.io/eventhub.www" admin-api: - containerImage: "volocr.azurecr.io/eventhub.admin-api" + containerImage: "volosoft.azurecr.io/eventhub.admin-api" admin: - containerImage: "volocr.azurecr.io/eventhub.admin" + containerImage: "volosoft.azurecr.io/eventhub.admin" dbmigrator: - containerImage: "volocr.azurecr.io/eventhub.dbmigrator" + containerImage: "volosoft.azurecr.io/eventhub.dbmigrator" background-services: - containerImage: "volocr.azurecr.io/eventhub.background-services" \ No newline at end of file + containerImage: "volosoft.azurecr.io/eventhub.background-services" \ No newline at end of file From d6ac494703f8d6f84710931a81566acb429c7aa2 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 11:25:25 +0300 Subject: [PATCH 08/11] Update build-push.yaml --- etc/azure/build-push.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/azure/build-push.yaml b/etc/azure/build-push.yaml index 65ff79b..0fdfdcc 100644 --- a/etc/azure/build-push.yaml +++ b/etc/azure/build-push.yaml @@ -42,7 +42,8 @@ steps: arguments: "-version $(tag)" - bash: | - sed -i "s/eventHubImageVersion: latest/eventHubImageVersion: $(tag)/" etc/k8s/helm-chart/eventhub/values.azure.yaml + sed -i "s/eventHubImageVersion: latest/eventHubImageVersion: \"${tag}\"/" etc/k8s/helm-chart/eventhub/values.azure.yaml + - task: PublishPipelineArtifact@1 inputs: From 394574834ea577dd4b6df7be510b8799fb5717e2 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 11:25:28 +0300 Subject: [PATCH 09/11] Delete deploy.yaml --- etc/azure/deploy.yaml | 67 ------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 etc/azure/deploy.yaml diff --git a/etc/azure/deploy.yaml b/etc/azure/deploy.yaml deleted file mode 100644 index e97f314..0000000 --- a/etc/azure/deploy.yaml +++ /dev/null @@ -1,67 +0,0 @@ -variables: - version: $(Build.BuildId) - -trigger: - branches: - include: - - refs/heads/main - -pool: - vmImage: "ubuntu-latest" - -steps: - - task: UseDotNet@2 - displayName: "Use .NET sdk" - inputs: - packageType: sdk - version: 7.0.x - installationPath: $(Agent.ToolsDirectory)/dotnet - includePreviewVersions: true - - - task: PowerShell@2 - displayName: Build docker images - inputs: - filePath: "etc/k8s/scripts/build-images.ps1" - arguments: "-version $(version)" - - - 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 $(version)" - - - task: Kubernetes@1 - displayName: Delete migrator job - continueOnError: true - inputs: - 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)" - azureResourceGroup: "volo" - kubernetesCluster: "volo" - useClusterAdmin: true - namespace: "eventhub" - command: "upgrade" - chartType: "Name" - chartName: "etc/k8s/helm-chart/eventhub" - releaseName: "eh-az" - valueFile: "etc/k8s/helm-chart/eventhub/values.azure.yaml" - arguments: "--timeout 20m --namespace eventhub --create-namespace --set global.eventHubImageVersion=$(version)" From f62f5c4bfd5a89dde46d8768ecd8795d84a9d86f Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 11:40:15 +0300 Subject: [PATCH 10/11] fix tag --- etc/azure/build-push.yaml | 2 +- etc/k8s/helm-chart/eventhub/values.azure.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/azure/build-push.yaml b/etc/azure/build-push.yaml index 0fdfdcc..59409c8 100644 --- a/etc/azure/build-push.yaml +++ b/etc/azure/build-push.yaml @@ -42,7 +42,7 @@ steps: arguments: "-version $(tag)" - bash: | - sed -i "s/eventHubImageVersion: latest/eventHubImageVersion: \"${tag}\"/" etc/k8s/helm-chart/eventhub/values.azure.yaml + sed -i "s/eventHubImageVersion: latest/eventHubImageVersion: \"$(tag)\"/" etc/k8s/helm-chart/eventhub/values.azure.yaml - task: PublishPipelineArtifact@1 diff --git a/etc/k8s/helm-chart/eventhub/values.azure.yaml b/etc/k8s/helm-chart/eventhub/values.azure.yaml index 4568f89..bec1001 100644 --- a/etc/k8s/helm-chart/eventhub/values.azure.yaml +++ b/etc/k8s/helm-chart/eventhub/values.azure.yaml @@ -33,4 +33,4 @@ admin: dbmigrator: containerImage: "volosoft.azurecr.io/eventhub.dbmigrator" background-services: - containerImage: "volosoft.azurecr.io/eventhub.background-services" \ No newline at end of file + containerImage: "volosoft.azurecr.io/eventhub.background-services" From 9c6b64870cd7197bffbb94c89c63748de7e13290 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 5 May 2023 18:13:08 +0300 Subject: [PATCH 11/11] Create deploy-to-k8s.yml --- etc/azure/deploy-to-k8s.yml | 67 +++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 etc/azure/deploy-to-k8s.yml diff --git a/etc/azure/deploy-to-k8s.yml b/etc/azure/deploy-to-k8s.yml new file mode 100644 index 0000000..e97f314 --- /dev/null +++ b/etc/azure/deploy-to-k8s.yml @@ -0,0 +1,67 @@ +variables: + version: $(Build.BuildId) + +trigger: + branches: + include: + - refs/heads/main + +pool: + vmImage: "ubuntu-latest" + +steps: + - task: UseDotNet@2 + displayName: "Use .NET sdk" + inputs: + packageType: sdk + version: 7.0.x + installationPath: $(Agent.ToolsDirectory)/dotnet + includePreviewVersions: true + + - task: PowerShell@2 + displayName: Build docker images + inputs: + filePath: "etc/k8s/scripts/build-images.ps1" + arguments: "-version $(version)" + + - 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 $(version)" + + - task: Kubernetes@1 + displayName: Delete migrator job + continueOnError: true + inputs: + 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)" + azureResourceGroup: "volo" + kubernetesCluster: "volo" + useClusterAdmin: true + namespace: "eventhub" + command: "upgrade" + chartType: "Name" + chartName: "etc/k8s/helm-chart/eventhub" + releaseName: "eh-az" + valueFile: "etc/k8s/helm-chart/eventhub/values.azure.yaml" + arguments: "--timeout 20m --namespace eventhub --create-namespace --set global.eventHubImageVersion=$(version)"