-
Notifications
You must be signed in to change notification settings - Fork 7
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
Homogenize zapp execution command line semantics #60
Comments
Zvapp should be able to do it. Even parallelized ones. |
@pkit Oh yeah, I had forgotten about that dependency. Yeah, we should try to fix that somehow. |
Why is this wrong? I would expect a local execution to reuse some code from ZeroCloud. Maybe you are really concerned that ZeroCloud depends on Swift and thus zvapp also depends on Swift? If that's a problem, one might be able to extract the reusable part of ZeroCloud into a base package (without further dependencies) and let ZeroCloud and zvapp both depend on this. |
Yes, the main problem is that it fetches a lot of Swift and Swift-related stuff. |
For either local or remote execution, the command runner should generate a job.json (like a ZeroCloud servlet). This can already be consumed by ZeroCloud, and the local execution mechanism should be extended to consume the same thing.
The advantage to this is the we formalize an execution, which makes it easier to switch between remote and local execution environments, reason about both, and to develop/extend clients for these execution platforms.
Further work:
Discussing this with Martin, we think it would be a good idea to create a sort of "preprocessor" interface, which consumes a zapp (file) and the command line arguments and produces the job.json.
TODO: Look at
zvapp
inzerovm-cli
; apparently it can execute parallelized jobs locally? I've never played with this. If this is true, it should be extended to consume a job.json blob, just like ZeroCloud.The text was updated successfully, but these errors were encountered: