https://pantsbuild.org/ logo
#general
Title
# general
b

brave-hair-402

03/14/2023, 11:48 AM
Am I correct that if I have a base pants.toml file, and additional pants.ci.toml (set via environmental variable PANTS_CONFIG_FILES), the will both be used, but configs in pants.ci.toml will take precedence?
1
c

curved-television-6568

03/14/2023, 12:33 PM
I think it depends on the order you specify the files in the env var. It is easy to confirm thoughj by running
pants help ..
for a subsystem you care about to see the effective value picked up for the options.
b

brave-hair-402

03/14/2023, 1:01 PM
Thanks this helped. It confirmed that by using the environmental option it maintains what is in pants.toml, but overrides what I need (docker.registry.something).
👍 1