mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:10:43 +00:00
17 lines
588 B
Bash
Executable File
17 lines
588 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
source "$ROOT_DIR/scripts/lib/docker-e2e-image.sh"
|
|
IMAGE_NAME="$(docker_e2e_resolve_image "openclaw-onboard-e2e" OPENCLAW_ONBOARD_E2E_IMAGE)"
|
|
OPENCLAW_TEST_STATE_FUNCTION_B64="$(docker_e2e_test_state_function_b64)"
|
|
|
|
docker_e2e_build_or_reuse "$IMAGE_NAME" onboard
|
|
|
|
echo "Running onboarding E2E..."
|
|
docker_e2e_run_with_harness -t \
|
|
-e "OPENCLAW_TEST_STATE_FUNCTION_B64=$OPENCLAW_TEST_STATE_FUNCTION_B64" \
|
|
"$IMAGE_NAME" bash scripts/e2e/lib/onboard/scenario.sh
|
|
|
|
echo "E2E complete."
|