straight-farmer-24902
04/27/2023, 12:57 AMpants
, and had a question about optionally doing builds during run time.
So we have a repo that has Python and Go code, and we run one of the Python script in CI (Buildkite) using pants
. But it fails while looking for Go binaries. Is there a way to tell pants
to skip Go
build during run time?
./pants run <path to python file> --args1 args1
enough-analyst-54434
04/27/2023, 1:05 AM[GLOBAL]
backend_packages.remove = ["pants.backend.experimental.go"]
straight-farmer-24902
04/27/2023, 1:08 AMenough-analyst-54434
04/27/2023, 1:09 AMcurved-television-6568
04/27/2023, 1:09 AMenough-analyst-54434
04/27/2023, 1:09 AMcurved-television-6568
04/27/2023, 1:10 AM--ignore-unknown-targets
flag..enough-analyst-54434
04/27/2023, 1:11 AMcurved-television-6568
04/27/2023, 1:13 AMstraight-farmer-24902
04/27/2023, 1:14 AMenough-analyst-54434
04/27/2023, 1:15 AMcurved-television-6568
04/27/2023, 1:16 AMenough-analyst-54434
04/27/2023, 1:16 AMcurved-television-6568
04/27/2023, 1:17 AMAllTargets
-> Deps lookup going on..enough-analyst-54434
04/27/2023, 1:18 AMhappy-kitchen-89482
04/29/2023, 12:49 AM