git submodules: reuse an existing SSH key #33093
Crocmagnon
started this conversation in
Suggest an Idea
Replies: 1 comment 4 replies
|
How does Renovate know already to use SSH for cloning instead of HTTPS? e.g. do you configure |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Tell us more.
Hello 👋🏻
Idea/request
Re-use an existing ssh key when fetching git submodules if renovate already works in an ssh context.
Context
Following off-topic conversation in #32083
We currently use ssh submodules with a
.gitmodulessimilar to this on a self hosted bitbucket instance:We enabled git submodules with:
We observed in renovate logs that it tried to pull the dependency using https instead of ssh. However, https access for SCM has been disabled by the instance admins:
There's an additional log indicating that renovate found
hostRulesfor the url:I've confirmed with the instance admins that they indeed have credentials setup for API calls to get information on pull requests.
Question from @rarkins:
That's correct.
All reactions