Azure / mlops-v2

Azure MLOps (v2) solution accelerators. Enterprise ready templates to deploy your machine learning models on the Azure Platform.
https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-management-and-deployment
MIT License
475 stars 224 forks source link

Environments are not created automatically (Prod &Dev) on Azure DevOps Pipelines #107

Closed yelizkilinc closed 10 months ago

yelizkilinc commented 1 year ago

Describe the bug or the issue that you are facing

3.10 Under Pipelines, select Environments and ensure both "Prod" and "Dev" environments are created. Create the "Dev" environment manually, if necessary. -> I followed deployment guide. It worked fine for CLIv2-bicep-Classical parameters but there is no env created automatically.

Steps/Code to Reproduce

Follow the deployment guide till 3.10 by selecting CLIv2-bicep-Classical parameters

Expected Output

3.10 step should be validated but there is no env on AzureDevOps pipelines.

Versions

-

Which platform are you using for deploying your infrastrucutre?

Azure DevOps (ADO)

If you mentioned Others, please mention which platformm are you using?

No response

What are you using for deploying your infrastrucutre?

Bicep

Are you using Azure ML CLI v2 or Azure ML Python SDK v2

Azure ML CLI v2

Describe the example that you are trying to run?

3.10 step is not happening when I follow the deployment guide in order.

sdonohoo commented 1 year ago

This issue is under investigation. Autocreate behavior for environments when referenced changed last October. Investigating to determine fix or workaround. For now, deployment guide has been updated (https://github.com/Azure/mlops-v2/pull/108) to include guidance for manually creating environments prior to running the infra pipeline.

setuc commented 10 months ago

@yelizkilinc I hope this has resolved your issue.