Renovate EE - Environment variables and child processes
For security purposes, Renovate EE only passes a limited set of environment variables to child processes (e.g., package managers). Those variables are listed below:
HTTP_PROXY
HTTPS_PROXY
NO_PROXY
http_proxy
https_proxy
no_proxy
HOME
PATH
LC_ALL
LANG
DOCKER_HOST
DOCKER_TLS_VERIFY
DOCKER_CERT_PATH
// Custom certificte variables
// https://github.com/containerbase/base/blob/main/docs/custom-root-ca.md
SSL_CERT_DIR
SSL_CERT_FILE
NODE_EXTRA_CA_CERTS
// Required for NuGet to work on Windows.
PROGRAMFILES
PROGRAMFILES(X86)
APPDATA
LOCALAPPDATA
// Corepack: https://github.com/nodejs/corepack
COREPACK_DEFAULT_TO_LATEST
COREPACK_ENABLE_NETWORK
COREPACK_ENABLE_STRICT
COREPACK_ENABLE_PROJECT_SPEC
COREPACK_ENABLE_UNSAFE_CUSTOM_URLS
COREPACK_HOME
COREPACK_INTEGRITY_KEYS
COREPACK_NPM_REGISTRY
COREPACK_NPM_TOKEN
COREPACK_NPM_USERNAME
COREPACK_NPM_PASSWORD
COREPACK_ROOT
There are two options for allowing the passing of additional environment variables to child processes.
The first one allows the passing of *all* environment variables by setting
exposeAllEnv
totrue
(doc)The second option is to individually declare custom environment variables to be passed using the
customEnvVariables
(doc) configuration setting