-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for cloning private repos as part of automation API #5333
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Just a few ideas I'm curious to hear your thoughts on.
8232bf5
to
5e35fa5
Compare
5e35fa5
to
a194663
Compare
a194663
to
72d4ada
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
72d4ada
to
e335103
Compare
fqsn := FullyQualifiedStackName("myOrg", pName, "myStack") | ||
|
||
repo := GitRepo{ | ||
URL: "https://github.com/pulumi/test-repo.git", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I thought you'd have to specify the URL like git@github.com:pulumi/test-repo.git
when using SSH for auth, but it works when doing HTTPS?. Do the git@...
style URLs work as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they do AFAICT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stack72 Just ran into this for the operator, and the URL does in fact need to be git@github.com...
as Justin points out.
Using the HTTPS url results in unable to clone repo: invalid auth method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #5382
Fixes: #5319