You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started.md
+24-16Lines changed: 24 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ On the next screen, click on **Save** and then click **Ok** to save the empty re
134
134

135
135
- On the next screen click on **Create** button, this creates a manual release for you.
136
136
137
-
**Note**: This release pipeline will call the published AML pipeline. The AML pipeline will train the model and package it into image. It will take around 10 mins to complete. The next steps need this pipeline to complete successfully.
137
+
**Note**: This release pipeline will call the published AML pipeline. The AML pipeline will train the model and package it into image. It will take around 10 mins to complete. The next steps need this pipeline to complete successfully. At this point, you can go to the Azure Portal AML WOrkspace resource created inside resource group "DevOps_AzureML_Demo" and click on the **Pipeline** tab to see the running pipeline.
138
138
139
139
### 7. Set up release (Deployment) pipeline
140
140
@@ -174,26 +174,34 @@ Let's set up the release deployment pipeline now.
174
174
- Click on **Add**, and then **Save** the pipeline
**Here are the steps to add [Azure ML Model as an artifact](https://marketplace.visualstudio.com/items?itemName=ms-air-aiagility.vss-services-azureml)**
- Install the Azure Machine Learning extension for your DevOps organization from [here](https://marketplace.visualstudio.com/items?itemName=ms-air-aiagility.vss-services-azureml). You need to have admin rights to install it.
181
+
182
+
- Create Service Connection
183
+
1. Go to your DevOps project and click on Project settings on bottom left corner
184
+
2. Under Project Settings -> Pipelines, click on Service connections, click on "New service connection" and select Azure Resource Manager
- Click on pipeline tab to go back to pipeline view and click **Add an artifact**. This will open a pop up window
183
-
- For Source type, click on **more artifact types** dropdown and select **Azure Container Registry**
184
-
- For **service connection**, select an existing service connection to Azure, if you don't see anything in the dropdown, click on **Manage** and [create new **Azure Resource Manager**](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops#create-a-service-connection) service connection for your subscription.
192
+
- For Source type, click on **more artifact types** dropdown and select **AzureML Model Artifact**
193
+
- For **Service Endpoint**, select an existing endpoint **MLOpsPython**, if you don't see anything in the dropdown, click on **Manage** and [create new **Azure Resource Manager**](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops#create-a-service-connection) service connection for your subscription.
**Note:** You must have sufficient privileges to create a service connection, if not contact your subscription adminstrator.
186
-
- For Resource Group, select **DevOps_AzureML_Demo**, this is the default resource group name that we are using and if the previous pipelines executed properly you will see this resource group in the drop down.
187
-
- Under Azure container registry dropdown, select the container registry, there should be only one container registry entry.
188
-
- For repository, select **diabetes-model-score** repository.
189
-
- For Default version, keep it to **latest**
196
+
- For Model Names, select **sklearn_regression_model.pkl**, this is the name of the newly trained model and if the previous pipelines executed properly you will see this model name in the drop down.
197
+
- For Default version, keep it to **Latest version**
190
198
- For Source alias, keep the default generated name.
191
199
- Click Add
192
-
- Click on lighting sign to enable the **Continous Deployment Trigger**, click Save.
1. We now have QA environment continously deployed each time there is a new image available in container registry. You can select pre-deployment conditions for prod environment, normally you don't want it to be auto deployed, so select manual only trigger here.
204
+
1. We now have QA environment continously deployed each time there is a new ml model registered in AML Model Management. You can select pre-deployment conditions for prod environment, normally you don't want it to be auto deployed, so select manual only trigger here.
0 commit comments