Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Update the Wiki for setting up external private repositories #2464

Closed
rohancme opened this issue Jun 6, 2017 · 5 comments
Closed

Update the Wiki for setting up external private repositories #2464

rohancme opened this issue Jun 6, 2017 · 5 comments

Comments

@rohancme
Copy link

rohancme commented Jun 6, 2017

The wiki page for Continuous Deployment says that the source control type needs to be set to "External Repository" when in fact the correct setting is "Local git repository".

It would be great if someone could update the wiki page with the correct details

@davidebbo
Copy link
Member

'External Repository' is needed to enable the sync button. Did you run into a specific issue?

@rohancme
Copy link
Author

rohancme commented Jun 6, 2017

Ah I see that's specifically to enable the sync button. There should probably be some information specifying that it only works if the repository is public.

If the repo is private it isn't possible to successfully set it as an external repository. However, to get GitHub webhooks working with Kudu, some form of scm needs to be set. It would be useful to add a point there specifying the workflow for a private repo.

@davidebbo
Copy link
Member

Hmmm, not sure why that didn't work. Did you get a failure?

Also, have you tried the non-manual steps (e.g. using Resource Explorer)? Once Azure has your github token (e.g. after doing one oauth workflow in Portal), that makes things super simple with no manual steps.

@rohancme
Copy link
Author

rohancme commented Jun 6, 2017

Yeah the failure was something along the lines of GitHub (or SCM) credentials not set.

If this is not expected behavior for a private repository, I can reproduce the entire process and file another issue.

By non-manual steps do you mean selecting Github in the deployment options section? I'd rather not grant it access to all the repositories I have access to.

@davidebbo
Copy link
Member

Ok, I added a note under the 'External Repository' section.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants