Open yvonnebarthp opened 2 years ago
Reviewing the error and trying to reproduce
@setuc This is going to be because of the sparse checkout, or lack thereof. It should be working fine if the sparse checkout is run first.
The effects of the following lines from sparse_checkout.sh seem to be making it hard to keep the relative paths correct in Azure/mlops-project-template:
mv infrastructure/$infrastructure_version $infrastructure_version
rm -rf infrastructure
mv $infrastructure_version infrastructure
For instance, there's been back and forth here: https://github.com/Azure/mlops-project-template/commits/main/infrastructure/terraform/pipelines/tf-ado-deploy-infra.yml
And the current relative path in mlops-project-template doesn't work in an ADO pipeline after running sparse_checkout.sh
[QUICKSTART.md] When running the "tf-ado-deply-infra.yml" pipeline I receive this error:
The reason might be due to changed folder structure in row 7 and 9 (tf-ado-deploy-infra.yml) :
Here we might need go one hierarchy level higher.