mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:30:44 +00:00
refactor: share docker e2e harness runner
This commit is contained in:
@@ -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[@]}" "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user