high-yak-85899
09/07/2022, 3:48 AMpants.toml
to specify a default for an env var if it's not set in the caller's environment?high-yak-85899
09/07/2022, 3:52 AMancient-rose-27306
09/07/2022, 3:54 AMGLOBAL
scope, you can get a list of variables available to set by running ./pants help-advanced global
high-yak-85899
09/07/2022, 3:57 AM[docker].env_vars
and that doesn't care whether env vars are set in the user environment or not.fast-nail-55400
09/07/2022, 3:57 AMancient-rose-27306
09/07/2022, 3:58 AMhigh-yak-85899
09/07/2022, 3:59 AMhigh-yak-85899
09/07/2022, 4:00 AM[docker].env_vars
so that the docker invocation is modified with the env vars I want.high-yak-85899
09/07/2022, 4:00 AMrefined-addition-53644
09/07/2022, 6:34 AMworried-painter-31382
09/07/2022, 6:40 AMpants.ci.toml
with overrides is what you'd use for CI, a .pantsrc
for local overrides of the "main" pants.toml
worried-painter-31382
09/07/2022, 6:41 AMpants.toml
high-yak-85899
09/07/2022, 4:43 PMenv_vars
option.