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

brave-hair-402

02/27/2023, 9:48 PM
What's the best way for me to configure my project build based on the target environment (dev, qa, prod)? I want to know how to choose the right Docker repositories and similar components. Right now, I can create and distribute Docker images to the development system, but I need to figure out how to adjust the system for different environments. Can you recommend any relevant documentation?
s

silly-queen-7197

02/27/2023, 11:08 PM
In https://www.pantsbuild.org/docs/using-pants-in-ci they mention you can do something like
PANTS_CONFIG_FILES=pants.ci.toml
. Maybe you can have multiple
<http://pants.ci|pants.ci>.[env].toml
and configure each environment to point to the right file?
👍 1
3 Views