Configure http proxy before calling Yarn #27793
Labels
manager:npm
package.json files (npm/yarn/pnpm)
priority-2-high
Bugs impacting wide number of users or very important features
type:feature
Feature (new functionality)
Describe the proposed change(s).
Yarn apparently does not recognize HTTP_PROXY environment variables, and instead requires explicit configuration.
It can be configured like this:
I did not find any "noproxy" support.
We should perhaps set them globally though, so as not to modify any .yarnrc.yml in the repo if it exists.
If the HTTP_PROXY/HTTPS_PROXY strings include credentials in the URL we should make sure we redact them in logs.
Docs: https://yarnpkg.com/configuration/yarnrc#httpProxy
Testing this will require a local http proxy, and Renovate will forward all its requests through it too due to the HTTP_PROXY/HTTPS_PROXY variables being set.
The text was updated successfully, but these errors were encountered: