From 08177d99e7f198041123b1b424df2de952826089 Mon Sep 17 00:00:00 2001 From: k0d3r <35489606+srinivasadotnet@users.noreply.github.com> Date: Thu, 5 Sep 2019 11:15:10 +0530 Subject: [PATCH 1/4] Updated code_test.py Updated code_test.py --- tests/unit/code_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/code_test.py b/tests/unit/code_test.py index b22b186c..0d0ccc31 100644 --- a/tests/unit/code_test.py +++ b/tests/unit/code_test.py @@ -8,7 +8,7 @@ # a utility function common_scoring.next_saturday def test_get_workspace(): workspace_name = os.environ.get("BASE_NAME")+"-AML-WS" - resource_group = os.environ.get("BASE_NAME")+"-AML-RG" + resource_group = os.environ.get("RESOURCE_GROUP") subscription_id = os.environ.get("SUBSCRIPTION_ID") tenant_id = os.environ.get("TENANT_ID") app_id = os.environ.get("SP_APP_ID") From c5a3a36b33153ef0e488aca73596d7917c107d17 Mon Sep 17 00:00:00 2001 From: k0d3r <35489606+srinivasadotnet@users.noreply.github.com> Date: Thu, 5 Sep 2019 11:20:31 +0530 Subject: [PATCH 2/4] Updated build_train_pipeline.py Updated build_train_pipeline.py --- ml_service/pipelines/build_train_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml_service/pipelines/build_train_pipeline.py b/ml_service/pipelines/build_train_pipeline.py index df5dcdcc..c2b3627d 100644 --- a/ml_service/pipelines/build_train_pipeline.py +++ b/ml_service/pipelines/build_train_pipeline.py @@ -16,7 +16,7 @@ def main(): load_dotenv() workspace_name = os.environ.get("BASE_NAME")+"-AML-WS" - resource_group = os.environ.get("BASE_NAME")+"-AML-RG" + resource_group = os.environ.get("RESOURCE_GROUP") subscription_id = os.environ.get("SUBSCRIPTION_ID") tenant_id = os.environ.get("TENANT_ID") app_id = os.environ.get("SP_APP_ID") From 47a561c37f82e2dbd0fc4cb2b7f89f0a67076de9 Mon Sep 17 00:00:00 2001 From: k0d3r <35489606+srinivasadotnet@users.noreply.github.com> Date: Thu, 5 Sep 2019 14:11:08 +0530 Subject: [PATCH 3/4] demo commit demo commit --- docs/getting_started.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index 536749b9..a6620f5f 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -233,7 +233,6 @@ Specify task parameters as it is shown in the table below: Save the pipeline and create a release to trigger it manually. Once the pipeline execution is finished, check out deployments in the **mlops-AML-WS** workspace. - Congratulations! You have three pipelines set up end to end: - Build pipeline: triggered on code change to master branch on GitHub, performs linting, unit testing and publishing a training pipeline - Release Trigger pipeline: runs a published training pipeline to train, evaluate and register a model From c34311e049d6e0c953082eae6cf657d5c1993850 Mon Sep 17 00:00:00 2001 From: k0d3r <35489606+srinivasadotnet@users.noreply.github.com> Date: Thu, 5 Sep 2019 15:54:23 +0530 Subject: [PATCH 4/4] Update iac-remove-environment.yml for Azure Pipelines --- environment_setup/iac-remove-environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment_setup/iac-remove-environment.yml b/environment_setup/iac-remove-environment.yml index 4ca8b04e..67626223 100644 --- a/environment_setup/iac-remove-environment.yml +++ b/environment_setup/iac-remove-environment.yml @@ -18,7 +18,7 @@ steps: inputs: azureSubscription: 'AzureResourceConnection' action: 'DeleteRG' - resourceGroupName: '$(BASE_NAME)-AML-RG' + resourceGroupName: '$(RESOURCE_GROUP)' location: $(LOCATION) displayName: 'Delete resources in Azure'