From ae5461239481809bda0e86f426fd7cbd1bd6b570 Mon Sep 17 00:00:00 2001 From: cpereir1 Date: Mon, 25 Jul 2022 19:16:16 +0100 Subject: [PATCH 1/3] Update iac-create-environment-pipeline-arm.yml for Azure Pipelines --- .../iac-create-environment-pipeline-arm.yml | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/environment_setup/iac-create-environment-pipeline-arm.yml b/environment_setup/iac-create-environment-pipeline-arm.yml index 0b9f474c..0fe7618c 100644 --- a/environment_setup/iac-create-environment-pipeline-arm.yml +++ b/environment_setup/iac-create-environment-pipeline-arm.yml @@ -15,22 +15,4 @@ pr: - environment_setup/arm-templates/* pool: - vmImage: "ubuntu-latest" - -variables: - - group: devopsforai-aml-vg - - name: WORKSPACE_SKU # https://docs.microsoft.com/en-us/azure/machine-learning/overview-what-is-azure-ml#sku - value: basic - -steps: - - task: AzureResourceGroupDeployment@2 - inputs: - azureSubscription: "$(AZURE_RM_SVC_CONNECTION)" - action: "Create Or Update Resource Group" - resourceGroupName: "$(RESOURCE_GROUP)" - location: $(LOCATION) - templateLocation: "Linked artifact" - csmFile: "$(Build.SourcesDirectory)/environment_setup/arm-templates/cloud-environment.json" - overrideParameters: "-baseName $(BASE_NAME) -location $(LOCATION) -workspace $(WORKSPACE_NAME) -sku $(WORKSPACE_SKU)" - deploymentMode: "Incremental" - displayName: "Deploy MLOps resources to Azure" + vmImage: "ubuntu-latest" \ No newline at end of file From ab2565ffb4677ef7cdc62185d0ffd305d20f1c76 Mon Sep 17 00:00:00 2001 From: cpereir1 Date: Mon, 25 Jul 2022 19:17:11 +0100 Subject: [PATCH 2/3] Update iac-create-environment-pipeline-arm.yml for Azure Pipelines --- environment_setup/iac-create-environment-pipeline-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment_setup/iac-create-environment-pipeline-arm.yml b/environment_setup/iac-create-environment-pipeline-arm.yml index 0fe7618c..14b07612 100644 --- a/environment_setup/iac-create-environment-pipeline-arm.yml +++ b/environment_setup/iac-create-environment-pipeline-arm.yml @@ -15,4 +15,4 @@ pr: - environment_setup/arm-templates/* pool: - vmImage: "ubuntu-latest" \ No newline at end of file + vmImage: 'ubuntu-latest' \ No newline at end of file From d358e929233e0d39ded98a9786372e03aa263988 Mon Sep 17 00:00:00 2001 From: cpereir1 Date: Mon, 25 Jul 2022 19:20:37 +0100 Subject: [PATCH 3/3] Update iac-create-environment-pipeline-arm.yml for Azure Pipelines --- .../iac-create-environment-pipeline-arm.yml | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/environment_setup/iac-create-environment-pipeline-arm.yml b/environment_setup/iac-create-environment-pipeline-arm.yml index 14b07612..5f6a6942 100644 --- a/environment_setup/iac-create-environment-pipeline-arm.yml +++ b/environment_setup/iac-create-environment-pipeline-arm.yml @@ -1,4 +1,3 @@ -# CI/PR Pipeline that deploys an ARM template to create or update the resources needed by the other pipelines. trigger: branches: include: @@ -15,4 +14,22 @@ pr: - environment_setup/arm-templates/* pool: - vmImage: 'ubuntu-latest' \ No newline at end of file + vmImage: "ubuntu-latest" + +variables: + - group: devopsforai-aml-vg + - name: WORKSPACE_SKU # https://docs.microsoft.com/en-us/azure/machine-learning/overview-what-is-azure-ml#sku + value: basic + +steps: + - task: AzureResourceGroupDeployment@2 + inputs: + azureSubscription: "$(AZURE_RM_SVC_CONNECTION)" + action: "Create Or Update Resource Group" + resourceGroupName: "$(RESOURCE_GROUP)" + location: $(LOCATION) + templateLocation: "Linked artifact" + csmFile: "$(Build.SourcesDirectory)/environment_setup/arm-templates/cloud-environment.json" + overrideParameters: "-baseName $(BASE_NAME) -location $(LOCATION) -workspace $(WORKSPACE_NAME) -sku $(WORKSPACE_SKU)" + deploymentMode: "Incremental" + displayName: "Deploy MLOps resources to Azure" \ No newline at end of file