-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support different execution contexts #68
Comments
@jankatins @gathineou @martin-loetzsch would like to get your feedback here what you guys think about this idea I know about the option |
It would be nice to have a SQL execution context as well. This context would then run e.g. the |
Currently mara pipelines are always executed locally. But I would like to have an option to execute it sometimes somewhere else e.g. in another environment where other ressources are closer available.
The idea
So I came up with the idea about execution contexts. Here is the rough idea:
The current idea is to support the following execution context:
BashExecutionContext
- local bash (this is the current default behavior)SshBashExecutionContext
- remote bash execution via sshDockerExecutionContext
- docker exec with optional start/stop of a containerPossible other options (Out of scope)
This concept could be extended in the future to add other options like:
These ideas are just noted here and are out of scope for this issue.
Blueprint for the ExecutionContext base class
The text was updated successfully, but these errors were encountered: