Are global host rules supported for custom data sources? #33975
Replies: 1 comment
-
Hi there, Please limit the amount of logs you're pasting into this discussion. The maintainers have a limited amount of time to help you, and often do so from mobile devices. It's easier for us if you only paste the relevant parts of the logs, and point us to the lines you think are relevant. For example, if your problem is about a certain dependency, find the log sections which apply to that dependency and paste only those sections. Similarly, if your problem is about a particular branch/PR, find the log sections which apply to that branch/PR and paste only those sections. If you're not sure, it's acceptable to paste the full logs, including into a gist. Please try to explain the problem in enough detail to give us starting points to debug. If you only paste the full log, and do nothing else, it is likely that we will take longer to help you, or we may not start to help you at all. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
github
Please tell us more about your question or problem
We tried to configure a global host rule for a custom data source but it isn't clear if this is supported. Can someone please clarify if it is supported or not?
We did this by ensuring we set environment variables:
COMPANY__ZULU__JDK_NEXUS_COMPANY_COM_USERNAME
andCOMPANY__ZULU__JDK_NEXUS_COMPANY_COM_PASSWORD
.The customer data source name is
company_zulu_jdk
and the artifacts for it are hosted in nexus at hostnexus.company.com
. We noticed however when reviewing the logs that there was no indication that the env variables were converted into a global host rule.NOTE: We have set
RENOVATE_DETECT_HOST_RULES_FROM_ENV
and are NOT having any issues with global host rules for non custom data sources. It just seems to be the custom source that is failing.Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions