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 builds #44

Open
zombiezen opened this issue Sep 19, 2024 · 0 comments
Open

Remote builds #44

zombiezen opened this issue Sep 19, 2024 · 0 comments
Labels
enhancement New feature or request frontend Evaluator

Comments

@zombiezen
Copy link
Collaborator

Because the store protocol is JSON-RPC (mostly), communicating with a remote store is a matter of switching the type of net.Conn from a Unix socket to a TCP socket or SSH session. This work is largely on the frontend:

  • Configuration file to describe remote build policy (e.g. which builds stay local, host address, etc.)
  • When using a non-local store, import-from-derivation must read from the remote store (might as well download entire artifacts).
  • Copy realized artifacts to local store.

There's probably some thought required for how to surface a remote socket on the backend, but mostly from a UX and security perspective.

@zombiezen zombiezen added enhancement New feature or request frontend Evaluator labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Evaluator
Projects
None yet
Development

No branches or pull requests

1 participant