srijiths / MLOps-IRIS

Create a fully automated, end-to-end IRIS Training and Deployment using Azure MLOps
60 stars 199 forks source link

Issue in Bash Script Step - Release pipeline #5

Closed vishalrana11 closed 3 years ago

vishalrana11 commented 3 years ago

Hi Srijith,

First of all, I would like to thank you for such a great presentation on youtube.

I am facing permission denied issue in bash script step of release pipeline - UAT and I tried a lot for last 2 days to resolve it but in vain.

Error :

2021-05-29T09:54:25.1905575Z /home/vsts/work/_temp/89785997-11ae-403b-a07d-1895942d71c5.sh: line 3: /home/vsts/work/r1/a/_mlops111-CI/iris_classifier/a/install-requirements.sh: Permission denied

artifcat name : _mlops111-CI

Inline script used : $(System.DefaultWorkingDirectory)/_mlops111-CI/iris_classifier/a/install-requirements.sh

Also tried with/without working directory : $(System.DefaultWorkingDirectory)/_mlops111-CI/iris_classifier

Could you please help in resolving this issue.

1 2 3

Best Regards.

srijiths commented 3 years ago

Can you change the Bash Script "Type" as "File" instead of the current selection "inline". WOrking directory is not required in this case. There is no issue providing it. But if you do in any steps , provide till the "a" ( the leaf node of the directory "

vishalrana11 commented 3 years ago

Thank you Srijith!! The issue is resolved now and UAT is successful. :)