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

feature: remoted lensing #79

Open
themightychris opened this issue Jan 26, 2020 · 0 comments
Open

feature: remoted lensing #79

themightychris opened this issue Jan 26, 2020 · 0 comments

Comments

@themightychris
Copy link
Member

Already, workstations within a team could share a dedicated HOLO_CACHE_FROM/HOLO_CACHE_TO git remote to collectively cache lens results.

A new environment variable could enable pushing lens jobs to a worker peer in the cluster to handle a build. It could potentially be implemented entirely within git infrastructure:

  • A tree+commit is put together w/ source commit as a parent, efficiently describing lens to be executed and including the lens input tree.
  • This commit is pushed to a special ref-space on the worker remote where a pre-receive hook executes the lens and passes lens output through the hook's output to the client
  • The client displays the lens output just like it would if the lens was executed locally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant