mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:10:43 +00:00
refactor: simplify docker e2e harness scripts
This commit is contained in:
@@ -67,3 +67,14 @@ docker_e2e_run_with_harness() {
|
||||
docker_e2e_harness_mount_args
|
||||
docker run --rm "${DOCKER_E2E_HARNESS_ARGS[@]}" "$@"
|
||||
}
|
||||
|
||||
docker_e2e_run_detached_with_harness() {
|
||||
docker_e2e_harness_mount_args
|
||||
docker run -d "${DOCKER_E2E_HARNESS_ARGS[@]}" "$@"
|
||||
}
|
||||
|
||||
docker_e2e_run_logged_with_harness() {
|
||||
local label="$1"
|
||||
shift
|
||||
run_logged "$label" docker_e2e_run_with_harness "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user