Open GreyTeardrop opened 11 months ago
Thanks for reporting.
In order to change Git Author, you can be override it using the RENOVATE_GIT_AUTHOR
env var, same goes for the RENOVATE_ONBOARDING_CONFIG
.
we will document this.
Thank you, @PhilipAbed!
I assume the same applies to other configuration options discovered in the env config like binarySource
or dependencyDashboardFooter
?
yes.
As for the onboarding config, it seems to come from the renovate-ce container image and, being an env, seems to take precedence over anything set in the config file
I spent hours today trying to figure out why the extends
part of my onboardingConfig
was being ignored by Renovate. It turns out that RENOVATE_ONBOARDING_CONFIG
is set as a default env var on the container, and thus its extends
was taking precedence over mine. They only way to stop this is for me to move my configuration out of config.js
and into my own RENOVATE_ONBOARDING_CONFIG
env var for this one config field. This was very difficult to figure out, and the solution doesn't feel great.
Would you consider removing the RENOVATE_ONBOARDING_CONFIG
env var from the container?
(Alternatively, explicitly setting RENOVATE_ONBOARDING_CONFIG
to an empty string seems to be a valid workaround to stop the default behavior)
I can think of two possible solutions:
Shouldn't this be a part of the migration guide? I have also been struggling for a couple of hours now with the migration, and the root cause was this environment variable.
(Alternatively, explicitly setting
RENOVATE_ONBOARDING_CONFIG
to an empty string seems to be a valid workaround to stop the default behavior)
It seems if I set this to an empty string in my docker-compose file used to start renovate-ce it will also result in the combined config having an empty onboardingConfig setting. So this does not seem to work for me. Quite annoying undocumented behavior this.
In the next major release we'll stop populating RENOVATE_ONBOARDING_CONFIG by default
Hi Renovate team!
Thank you for maintaining and enhancing self-hosted Renovate.
We use the Helm chart provided by you to deploy Renovate CE and GitHub application to integrate it with GitHub. We've recently upgraded to version 6.x and discovered some changes in its behavior. After some investigation, it looks like Renovate now unconditionally overwrites some of the config attributes set via the
renovate.config
Helm attribute and propagated through theconfig.js
volume.In particular, it seems to overwrite the
gitAuthor
andonboardingConfig
attributes. It now unconditionally setsgitAuthor
to the detected GitHub application used for integrationand then
It totally makes sense that
gitAuthor
is defaulted to the GitHub application name, but it was unexpected that the explicitly set value is now ignored. Should this be documented?As for the onboarding config, it seems to come from the
renovate-ce
container image and, being an env, seems to take precedence over anything set in the config file