Use private nuget repository #8713
Unanswered
bluecitylights
asked this question in
Request Help
Replies: 1 comment 4 replies
-
Did you put in the actual password here? Renovate does not do environment substitution in JSON configs. You could do something similar in the "hostRules": [
{
"hostType": "nuget",
"baseUrl": "https://gitlab.com/api/v4/projects/xxx/packages/nuget",
"username": "Platform_Packages",
"password": process.env.PLATFORM_PACKAGES_PASSWORD
}
], |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My project contains a nuget.config file that uses a private repository and has the password configured as an environment variable.
When I onboard Renovate, the MR mentions : "Please correct - or verify that you can safely ignore - these lookup failures before you merge this MR.
Failed to look up dependency PlatformLib"
I tried adding this repo to the hostrules like this:
However, it seems the bot is not picking upgrading the package to a higher version.
Can we use hostrules and nuget.config simulatanuously?
Beta Was this translation helpful? Give feedback.
All reactions