Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote_store_address: support unix sockets #20725

Open
aviau opened this issue Mar 26, 2024 · 0 comments
Open

remote_store_address: support unix sockets #20725

aviau opened this issue Mar 26, 2024 · 0 comments

Comments

@aviau
Copy link

aviau commented Mar 26, 2024

Hello!

As suggested in the pants docs, I use bazel-remote for caching results.

Bazel-remote support listening to unix sockets like so:

  • --grpc_address=unix+grpc://path.sock

Would it be possible to support to connect to such a socket with Pants?

Currently, I face the following error:

OptionsError: The `[GLOBAL].remote_store_address` option has invalid value `unix://test.sock`: it does not have a supported scheme.

The value must start with one of: `grpc://`, `grpcs://`, `experimental:file://`, `experimental:github-actions-cache+http://`, `experimental:github-actions-cache+https://`

A scheme such as unix+grpc://path.sock would make sense.

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants