Closed Xendar closed 4 years ago
You can use hostrules and package rules to assign custom registry urls. So renovate will lookup your internal deps on your internal registry.
The host rule can be used to assign credentials if required.
Search this repo for issues, there should be a lot of samples.
You can use hostrules and package rules to assign custom registry urls. So renovate will lookup your internal deps on your internal registry.
The host rule can be used to assign credentials if required.
Search this repo for issues, there should be a lot of samples.
Oh maybe I did not use the right keywords, I didn't thought of registryUrls
I thought it was something for NPM only :D
You can use hostrules and package rules to assign custom registry urls. So renovate will lookup your internal deps on your internal registry.
So if I define a package rule using a custom registry URL, does it exclude the package automatically from the other rules?
Duplicate of #892
Which Renovate are you using?
Renovate Open Source CLI
Which platform are you using?
Bitbucket Server self-hosted
Have you checked the logs? Don't forget to include them if relevant
N/A
What would you like to do?
So currently I am giving a try to Renovate, using a self-hosted model as we have a Bitbucket Server on premise in my company. So for my Java/Maven project I have a mix of internal dependencies and public/open source dependencies, and I had the idea to be able to fine tune the Renovate configuration in order to look up for internal dependencies (prefixed with
com.mycompany.
) using our Artifactory on premise, and look up for public dependencies with the default configuration (that would go to Maven Central / Github I would suppose)I didn't find in the documentation for a way to implement this kind of setup, so for now I'm using only the default host and public dependencies, while filtering the internal ones:
So, is there way to achieve this? If yes, I suppose I would as well need to explicitly declare the hostrules/managers for public dependencies?
Thanks!