batches: initial exploration of executor-based server side execution
Created by: LawnGnome
Very WIP.
TODO
-
Implement a type and mutation to store pending batch specs. -
Implement a type to store individual workspaces for each batch spec as pending jobs. -
Finish off the required getters.
-
-
Finish implementing pendingBatchSpecHandler.HandlerFunc()
to turn batch specs intoBatchExecutionJob
records.-
Ensure that Path
is respected when creatingDockerStep
objects.
-
-
Add a way for the executor to report the diff back (run a Docker container?). -
Add a new Runner
implementation that can create k8s pods.
Explicitly unsupported
- Branches in
on:
. - Workspace discovery.
- Output variables. (This requires more src-cli logic to be available, most likely through implementing new internal
src
commands to execute steps and return output and variables in a structured manner.)