-
Notifications
You must be signed in to change notification settings - Fork 37
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
Documentation for configuring renovate through environment variables #26
Comments
We generate our documentation site from this repo, so I have transferred the issue. It would be helpful if we auto-generated a new page with has a table of all options supported by CLI and/or env and what their exact names are. Re: |
Can confirm that A full documentation on this would be amazing. We want to run renovate in a container and its just much nicer to pass env vars rather than binding a volume. Also makes it easier to separate values and secrets in a kubernetes deployment. |
Did you guess how the environment variables work though? i.e. they always start with RENOVATE_ and then you uppercase them and split words with |
Yeah, prefixing with I just think that specifying config through env vars is a really useful and some added documentation on it would definitely help! |
Providing the full JSON array for |
Was typing too fast, changed it to
One option would be to describe Example:
could be expressed as
|
if any lost soul ever stumbles upon this and tries to apply this to github actions on a self-hosted Github: the following snippet makes it work:
where |
The environment variable names are now published, see https://docs.renovatebot.com/self-hosted-configuration/#allowcustomcrateregistries |
Which Renovate are you using?
Renovate Open Source CLI
Which platform are you using?
GitLab.com
What would you like to do?
Is there an exhaustive documentation on which environment variables to use to configure renovate? For example, renovatebot/renovate#4984 indicates that you can set a
RENOVATE_HOST_RULES
env var. Also,GITHUB_COM_TOKEN
andRENOVATE_TOKEN
seem like valid options here.However, I cannot find any documentation on this. I checked configuration options, self-hosted configuration options and pretty much every other site in the documentation. Am I missing something?
I am particularly interested in knowing how to set the
repositories
property, as described here.The text was updated successfully, but these errors were encountered: