modern-wolf-36228
12/08/2021, 3:38 PMhundreds-father-404
12/08/2021, 3:48 PMos
because it would break caching
You could use Pants 2.8's new "target generation" plugin hook! Which is how we go from python_tests to python_test for example. Any interest in that?modern-wolf-36228
12/08/2021, 3:51 PMmodern-wolf-36228
12/08/2021, 3:53 PMmodern-wolf-36228
12/08/2021, 3:54 PMskip_local
and skip_ci
, which I can reuse later onmodern-wolf-36228
12/08/2021, 3:56 PMpublish
and package
after creating those two fields?curved-television-6568
12/08/2021, 4:37 PMskip_push
field on docker_image
for the “don’t publish” part.modern-wolf-36228
12/08/2021, 4:39 PMcurved-television-6568
12/08/2021, 4:40 PM# BUILD
docker_image(..., tags=["local"])
Then:
./pants filter --tag-regex=-local :: | xargs ./pants package
Maybe.. ? 🙂hundreds-father-404
12/08/2021, 4:41 PM--tag
globally, so you could do ./pants --tag=local package ::
and ./pants --tag=ci package ::
modern-wolf-36228
12/08/2021, 4:43 PMcurved-television-6568
12/08/2021, 4:43 PMAre you saying that for me to use on on the development of the plugin?Uhm, not sure. Where ever it fits 😬
modern-wolf-36228
12/08/2021, 4:43 PMmodern-wolf-36228
12/08/2021, 4:43 PMmodern-wolf-36228
12/08/2021, 4:44 PMcurved-television-6568
12/08/2021, 4:46 PM--tag=-local
?curved-television-6568
12/08/2021, 4:46 PMhundreds-father-404
12/08/2021, 4:48 PM