Eliminate duplication of workspaces internal scripts in reconciliation logic
MR: Pending
Description
Currently the source of the various bash scripts are executed directly from the postStart commands as inline bash code.
This results in the source duplicated across several areas of the codebase and multiple fixture files.
We should DRY this up as much as possible by copying them to the attached volume then executing them from there.
Acceptance criteria
-
Script source duplication is eliminated as described in the Implementation Plan
Implementation plan
- Have an initial postStart command which copies all the required scripts to somewhere under the
/.workspace-data
path in the workspace's attached volume, with the executable bit set - Then have all subsequent commands invoke them as commands rather than having inline bash