Skip to content

batches: initial exploration of executor-based server side execution

Administrator requested to merge aharvey/ssbc-executor-exploration into main

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 into BatchExecutionJob records.
    • Ensure that Path is respected when creating DockerStep 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.)

Merge request reports

Loading