Closed parisapo closed 4 years ago
you need to add the credentials to a hostRule fro renovate too, as renovate is not capable to read the credentials from gradle properties.
So i would suggest you the following workflow:
~/.gradle/gradle.properties
with secretsconfig.js
from secrets (hostRules)npx renovate ${{ github.repository }}
Maybe needs more config options, see docs.
Many thanks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon if no further activity occurs. If this question is not done (either you plan to update it or are waiting on someone to respond) then please add a comment here to bump it and/or get the other person's attention. We aim to do our best to solve every problem. This bot is here to help us clean up issues which are no longer of use to the original poster, and not to close anything prematurely, so bump as you need!
Which Renovate are you using?
I am using the
github bot
but I want to verify that the self hosted versions is worth investing.Which platform are you using?
GitHub.com
Have you checked the logs? Don't forget to include them if relevant
No - trying to verify if this capability exist
What would you like to do?
This more of a confirmation than a question. According this https://github.com/renovatebot/config-help/issues/222 If you have a Java / Gradle based repository , that happens to define a corp private registry for
private dependencies
, renovate bot will skip this part of the config, resulting to not being able to check updates residing to this repo.Example:
After a short question on twitter, I got the impression there is a work around if you use the
self
hosted version of renovate bot. As far as I understand renovate is a docker container, that internally invokes its gradle tooling. I am curious on what would be the solution so that you makerenovate
pick the above 3 properties from an env, and when itcompiles
the gradle part defining the external repository not to fail or ignore.Many thanks for any tips or confirmation that anyway this is not supported now and we would have to wait for a new release or a future version.