oliver-zehentleitner / maity
Runner: one placement with several (project, repository) pairs, one clone each, one session at the workspace root
tsk-6fdrk048j0bg Open
Step 3 of tsk-1h9wcf58rec5, after steps 1 and 2.
- A placement's spec holds a list of (project, repository, branch) pairs. The workspace root holds one clone per project side by side, plus one scratch for the placement. The session starts at the root.
- The sandbox allows writes in every clone of the placement and the scratch. The deny rules (
.git/maity, protected git files) and the per-clone clone check apply to every clone. - Each repository's grant (
allow,pull_requests,network) applies per clone;maity ghacts only on the repository of the clone it runs in. - Git identity stays one per runner.
- docs/runners.md and cli/context/runner.md in the same PR; a security leg, since the sandbox's write set grows.