refactor: share docker e2e harness runner

This commit is contained in:
Peter Steinberger
2026-04-29 08:28:49 +01:00
parent f6a2cf15c0
commit 34bd962a20
11 changed files with 157 additions and 159 deletions

View File

@@ -62,3 +62,8 @@ docker_e2e_package_mount_args() {
docker_e2e_harness_mount_args() {
DOCKER_E2E_HARNESS_ARGS=(-v "$ROOT_DIR/scripts/e2e:/app/scripts/e2e:ro" -v "$ROOT_DIR/scripts/lib:/app/scripts/lib:ro")
}
docker_e2e_run_with_harness() {
docker_e2e_harness_mount_args
docker run --rm "${DOCKER_E2E_HARNESS_ARGS[@]}" "$@"
}