mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:20:43 +00:00
test: stabilize plugin docker bundle command smoke
This commit is contained in:
@@ -682,6 +682,29 @@ if [ -n "${OPENAI_API_KEY:-}" ]; then
|
||||
seed_openai_provider_config "$OPENAI_API_KEY" "${OPENAI_BASE_URL:-}"
|
||||
fi
|
||||
|
||||
workspace_dir="$HOME/.openclaw/workspace"
|
||||
mkdir -p "$workspace_dir/.openclaw"
|
||||
cat > "$workspace_dir/IDENTITY.md" <<'MD'
|
||||
# Identity
|
||||
|
||||
- Name: Plugin E2E
|
||||
- Nature: Test assistant
|
||||
- Vibe: Concise
|
||||
- Emoji: claw
|
||||
MD
|
||||
cat > "$workspace_dir/USER.md" <<'MD'
|
||||
# User
|
||||
|
||||
- Name: OpenClaw test harness
|
||||
- Timezone: UTC
|
||||
MD
|
||||
cat > "$workspace_dir/.openclaw/workspace-state.json" <<'JSON'
|
||||
{
|
||||
"version": 1,
|
||||
"setupCompletedAt": "2026-01-01T00:00:00.000Z"
|
||||
}
|
||||
JSON
|
||||
|
||||
gateway_log="/tmp/openclaw-plugin-command-e2e.log"
|
||||
start_gateway "$gateway_log"
|
||||
wait_for_gateway_health
|
||||
|
||||
Reference in New Issue
Block a user