Linking an Actor to a repo from Azure DevOps Git

I am having a lot of trouble trying to link an actor to a private repo from Azure DevOps. I created the public SSH key from the deploy keys link in the actor. However, I am not able to make it happen. To provide context, the actor was developed by a third party who has the repo on his own Github repo. We created an Azure Devops repo and he pushed the code there. I created a copy of the orginal actor and now want to link it to the repo residing in Azure Devops. First red flag is that underneath the Git URL, it says that my URL (which is the ssh url from azure DevOps) is not an allowed value. The instructions in apify mention that when using a private repo, the url format should have a username, however azure Git repos have the organization name. The format in the example provided is simple whereas the link in grabbing from azure has our organization name, container name and the name of the repo (without the .git file extension). The build error says that it cannot read from the remote repository. I apologize, I am new to both apify and azure Git repos so thank you in advance.
13 Replies
genetic-orange
genetic-orange•14mo ago
@ondro_k can you please help here
harsh-harlequin
harsh-harlequin•14mo ago
Hey @DaveTheAutomator, could you share the link to the actor?
dependent-tan
dependent-tanOP•14mo ago
Hi there, not certian if you want the URL to the actor or the unique name so here is both: globe_electric_org/homedepot-scraper-test
dependent-tan
dependent-tanOP•14mo ago
dependent-tan
dependent-tanOP•14mo ago
This the SSH link to the repo: [email protected]:v3/Globe-Electric/Comp%20Shop/Home%20Depot and the error: [email protected]:v3/Globe-Electric/Comp%20Shop/Home%20Depot is not an allowed value I thought it might be the spaces, but removing to test the field validation doesn't help. If I remove some of the link so as to only have one forward slash, then the field validation passes.
MEE6
MEE6•14mo ago
@DaveTheAutomator just advanced to level 1! Thanks for your contributions! 🎉
dependent-tan
dependent-tanOP•14mo ago
For example: [email protected]:Comp%20Shop/Home%20Depot So, to me, the problem is the repo link from Azure, but I don't know how to make it conform to what Apify is expecting.
harsh-harlequin
harsh-harlequin•14mo ago
thanks, I'll take a look yeah, it looks like apify expects the url to have ":owner/repo.git" format. If you look at the build logs, you'll see that [email protected]:v3/Home%20Depot.git is used instead of [email protected]:v3/Globe-Electric/Comp%20Shop/Home%20Depot (the middle parts of the path are removed) I'll ask the team what can be done about this and let you know
dependent-tan
dependent-tanOP•14mo ago
Hi @ondro_k, any luck with this?
harsh-harlequin
harsh-harlequin•14mo ago
Hi, sorry, no response yet Hi, @DaveTheAutomator, I just got update from the team and this should be fixed by the end of next week 🤞.
dependent-tan
dependent-tanOP•14mo ago
Wow, amazing! Can't wait 🙂 Hi @ondro_k was the team able to resolve the problem?
Pepa J
Pepa J•14mo ago
Hi @DaveTheAutomator Last message regarding this that I see, says it should be ready since the end of last week, does it still not work for you as expected?
dependent-tan
dependent-tanOP•13mo ago
@Pepa J @ondro_k It worked, thanks to everybody!

Did you find this page helpful?