For remote backend in Pants what is the current re...
# development
a
For remote backend in Pants what is the current recommended community approach? I've recently switched to ARC self hosted runners on GKE and I'm looking for ways to migrate Pants cache to a GCS bucket so I don't have to pay such high networking cost in pulling it from GHA (Azure blob?). To put things into perspective my compute is almost 8x cheaper then my networking 😅 I came across these two options but they don't seem to have alot of support 1. https://github.com/buchgr/bazel-remote/blob/master/examples/kubernetes.yml 2. https://artifacthub.io/packages/helm/slamdev/bazel-remote Any help is really appreciated @happy-kitchen-89482 @wide-midnight-78598 I guess you folks would know best
f
You might want to check out BuildBuddy. They do a hosted solution. I'm not sure on their pricing. We do use remote execution, but all self-hosted on prem. We use BuildBarn for that, but are always looking for alternatives.
w
This was basically going to be my suggestion too. I don’t use remote caching often, but if I did, I would self-host one of the solutions out there, or build my own if there was something unique I needed to do. Bazel’s docs have some examples, and I believe several of them are self-hostable
b
We are currently evaluating bazel-remote for caching (also in combination with ARC runners) and have not seen any issues so far. Still not sure what auth option is best for our use case, should not be much of an issue for CI-only. Deployment is a lot simpler than the full solutions that also support remote execution.
a
Got it working with some custom helm templates around bazel remote. Thanks for the support everyone
g
We use https://github.com/buchgr/bazel-remote It's simple and just works.