Closed kunanba closed 1 year ago
@kunanba Can you check the following in your code
Hi Setu, Thank you for your quick response.
When I create new model-training-pipeline, resources in the yaml file are listed as follows: Highlighted line mentions that github-connection needs to be set up and hardcoded. Is this ignored when one is deploying with Azure DevOps?
to clarify, this resource definition worked for me in the ADO + Classic ML case:
resources:
repositories:
- repository: mlops-templates # Template Repo
name: mlops-templates # need to change org name from "Azure" to your own org
type: git
ref: main
Describe the bug or the issue that you are facing
Cannot create pipeline to train model (/mlops/devops-pipelines/deploy-model-training-pipeline.yml) with this error: Repository mlops-templates references endpoint github-connection which does not exist or is not authorized for use Are there any instructions missing with regards to defining pipeline resource?
Steps/Code to Reproduce
All steps up to Deploy Azure Machine Learning Model Training Pipeline step
Expected Output
Pipeline is expected to run and complete
Versions
Azure DevOps. I changed branches to main. Bicep Azure ML CLI 2 Classical ML example
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?
Classical ML