Hey team, tried to set up remote caching locally w...
# general
g
Hey team, tried to set up remote caching locally with bazel-remote, doesn’t seem to work properly with my local cache. The bazel-remote container was started successfully and I was able to run the command:
Copy code
./pants select-tests app/timeworks_provisioning --pants-workdir=pants-log --remote-store-address="<grpc://localhost:9092>"
Want to get some ideas on how to debug the remote caching setups with pants. Thanks!
f
You can see whether the cache was used or not by passing
--stats-log
and seeing what the cache-related metrics show.
👍 2
c
n.b. with a custom workdir, ensure it is ignored by pants file watching…
👍 1