From ef81b9685d2e3de3eacd2c9c8142a22b7afe8d83 Mon Sep 17 00:00:00 2001 From: Jony Vesterman Cohen Date: Wed, 1 Mar 2023 20:52:00 +0200 Subject: [PATCH 1/5] Update azure-pipelines.yml for Azure Pipelines --- .pipelines/azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.pipelines/azure-pipelines.yml b/.pipelines/azure-pipelines.yml index bf869be..4e16dda 100644 --- a/.pipelines/azure-pipelines.yml +++ b/.pipelines/azure-pipelines.yml @@ -13,6 +13,8 @@ resources: variables: # Container registry service connection established during pipeline creation dockerRegistryServiceConnection: '458c1603-21ee-4e99-8116-59021a6d17f6' + azureSubscriptionForACR: '91d8605f-b80a-4b1c-bca1-6ec55bfd1deb' + azureResourceGroupForACR: 'azure-schema-operator' imageRepository: 'azureschemaoperator' containerRegistry: 'azureschemaoperator.azurecr.io' dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' @@ -40,3 +42,16 @@ stages: containerRegistry: $(dockerRegistryServiceConnection) tags: | $(tag) + - task: HelmInstaller@0 + displayName: Install Helm 3.10.2 + inputs: + helmVersion: 3.10.2 + - task: HelmDeploy@0 + displayName: Helm save + inputs: + command: save + chartNameForACR: $(containerRegistry)/helm/azure-schema-operator:$(tag) + chartPathForACR: $(Build.SourcesDirectory)/charts/azure-schema-operator + azureSubscriptionForACR: $(azureSubscriptionForACR) + azureResourceGroupForACR: $(azureResourceGroupForACR) + azureContainerRegistry: $(dockerRegistryServiceConnection) \ No newline at end of file From e025fe4a959cda4431d2a6e04e783c4ccfb972e0 Mon Sep 17 00:00:00 2001 From: Jony Vesterman Cohen Date: Wed, 1 Mar 2023 21:40:16 +0200 Subject: [PATCH 2/5] Update azure-pipelines.yml for Azure Pipelines --- .pipelines/azure-pipelines.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.pipelines/azure-pipelines.yml b/.pipelines/azure-pipelines.yml index 4e16dda..1edf9e3 100644 --- a/.pipelines/azure-pipelines.yml +++ b/.pipelines/azure-pipelines.yml @@ -8,7 +8,15 @@ trigger: - '*' resources: -- repo: self + repositories: + - repository: self + containers: + - container: azureschemaoperator + type: ACR + azureSubscription: 91d8605f-b80a-4b1c-bca1-6ec55bfd1deb + resourceGroup: azure-schema-operator + registry: azureschemaoperator + repository: azureschemaoperator variables: # Container registry service connection established during pipeline creation From 7a6cc3dcb6ee954189ca8a2e838855778df13d47 Mon Sep 17 00:00:00 2001 From: Jony Vesterman Cohen Date: Wed, 1 Mar 2023 21:48:24 +0200 Subject: [PATCH 3/5] Update azure-pipelines.yml for Azure Pipelines --- .pipelines/azure-pipelines.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pipelines/azure-pipelines.yml b/.pipelines/azure-pipelines.yml index 1edf9e3..37123bf 100644 --- a/.pipelines/azure-pipelines.yml +++ b/.pipelines/azure-pipelines.yml @@ -55,11 +55,11 @@ stages: inputs: helmVersion: 3.10.2 - task: HelmDeploy@0 - displayName: Helm save inputs: - command: save - chartNameForACR: $(containerRegistry)/helm/azure-schema-operator:$(tag) - chartPathForACR: $(Build.SourcesDirectory)/charts/azure-schema-operator - azureSubscriptionForACR: $(azureSubscriptionForACR) - azureResourceGroupForACR: $(azureResourceGroupForACR) - azureContainerRegistry: $(dockerRegistryServiceConnection) \ No newline at end of file + azureSubscriptionForACR: 'Adallom RS-02 (Europe West) Subscription - Portal' + azureResourceGroupForACR: 'azure-schema-operator' + azureContainerRegistry: 'azureschemaoperator.azurecr.io' + command: 'save' + chartNameForACR: 'azure-schema-operator' + chartPathForACR: '$(Build.SourcesDirectory)/charts/azure-schema-operator' + \ No newline at end of file From ee6699496f0b41d5601d15be85a4698fb23b45fe Mon Sep 17 00:00:00 2001 From: Jony Vesterman Cohen Date: Wed, 1 Mar 2023 21:51:41 +0200 Subject: [PATCH 4/5] Update azure-pipelines.yml for Azure Pipelines --- .pipelines/azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pipelines/azure-pipelines.yml b/.pipelines/azure-pipelines.yml index 37123bf..c2972f5 100644 --- a/.pipelines/azure-pipelines.yml +++ b/.pipelines/azure-pipelines.yml @@ -56,7 +56,7 @@ stages: helmVersion: 3.10.2 - task: HelmDeploy@0 inputs: - azureSubscriptionForACR: 'Adallom RS-02 (Europe West) Subscription - Portal' + azureSubscriptionForACR: 'Adallom RS-02 (Europe West) Subscription' azureResourceGroupForACR: 'azure-schema-operator' azureContainerRegistry: 'azureschemaoperator.azurecr.io' command: 'save' From 11385fa14c4498a641d51d0e37d3149b080aedba Mon Sep 17 00:00:00 2001 From: Jony Vesterman Cohen Date: Wed, 1 Mar 2023 22:08:08 +0200 Subject: [PATCH 5/5] Update azure-pipelines.yml for Azure Pipelines --- .pipelines/azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pipelines/azure-pipelines.yml b/.pipelines/azure-pipelines.yml index c2972f5..281b445 100644 --- a/.pipelines/azure-pipelines.yml +++ b/.pipelines/azure-pipelines.yml @@ -50,10 +50,10 @@ stages: containerRegistry: $(dockerRegistryServiceConnection) tags: | $(tag) - - task: HelmInstaller@0 - displayName: Install Helm 3.10.2 + - task: HelmInstaller@1 + displayName: Install Helm 3.6.2 inputs: - helmVersion: 3.10.2 + helmVersionToInstall: 3.6.2 - task: HelmDeploy@0 inputs: azureSubscriptionForACR: 'Adallom RS-02 (Europe West) Subscription'