flat-zoo-31952
10/05/2020, 9:09 PMbinary
goal that doesn't require returning CreatedBinary
? I don't want to have to do docker save
or write the docker digest URLs to an arbitrary text file just to get this to work.
2. I'd like to have a meaningful interaction between pants cachine and docker caching, but i'm really not sure how to do that. I feel like i would want pants to create a build
folder of some kind and keep re-using that same folder to let the docker cache do its work but I'm not sure how to accomplish thataloof-angle-91616
10/05/2020, 9:28 PMbinary
task (this is very very possible), but we were thinking rather that instead we would move the act of "create a file to put in `dist/`" into a new package
goal (see https://github.com/pantsbuild/pants/pull/10881 -- a very recent change). what are the commands you're currently running outside of pants to make this work, and what output is it producing?aloof-angle-91616
10/05/2020, 9:31 PMProcess
dataclass has the same append_only_caches
option as in the rust code, and the rust code has documentation on how to use that field in the way you want, i think: https://github.com/pantsbuild/pants/blob/7fc06c3808c2daf4e80a24bf6d49e93ff0e96894/src/rust/engine/process_execution/src/lib.rs#L210.flat-zoo-31952
10/05/2020, 9:32 PMflat-zoo-31952
10/05/2020, 9:32 PMaloof-angle-91616
10/05/2020, 9:33 PMflat-zoo-31952
10/05/2020, 9:33 PMaloof-angle-91616
10/05/2020, 9:33 PMflat-zoo-31952
10/05/2020, 9:35 PMaloof-angle-91616
10/05/2020, 9:35 PM