Some checks failed
ClawSweeper Dispatch / dispatch (push) Has been cancelled
CodeQL / Security High (actions) (push) Has been cancelled
CodeQL / Security High (channel-runtime-boundary) (push) Has been cancelled
CodeQL / Security High (core-auth-secrets) (push) Has been cancelled
CodeQL / Security High (mcp-process-tool-boundary) (push) Has been cancelled
CodeQL / Security High (network-ssrf-boundary) (push) Has been cancelled
CodeQL / Security High (plugin-trust-boundary) (push) Has been cancelled
CodeQL / Security High (process-exec-boundary) (push) Has been cancelled
Docs Sync Publish Repo / sync-publish-repo (push) Has been cancelled
Docs / docs (push) Has been cancelled
OpenClaw Stable Main Closeout / Resolve stable release closeout inputs (push) Has been cancelled
OpenClaw Stable Main Closeout / Verify stable main closeout (push) Has been cancelled
Workflow Sanity / no-tabs (push) Has been cancelled
Workflow Sanity / actionlint (push) Has been cancelled
Workflow Sanity / generated-doc-baselines (push) Has been cancelled
CI / runner-admission (push) Has been cancelled
CI / preflight (push) Has been cancelled
CI / security-fast (push) Has been cancelled
CI / pnpm-store-warmup (push) Has been cancelled
CI / build-artifacts (push) Has been cancelled
CI / native-i18n (push) Has been cancelled
CI / ${{ matrix.check_name }} (push) Has been cancelled
CI / ${{ matrix.checkName }} (push) Has been cancelled
CI / checks-node-compat-node22 (push) Has been cancelled
CI / check-bundled-channel-config-metadata (push) Has been cancelled
CI / check-dependencies (push) Has been cancelled
CI / check-guards (push) Has been cancelled
CI / check-lint (push) Has been cancelled
CI / check-prod-types (push) Has been cancelled
CI / check-shrinkwrap (push) Has been cancelled
CI / check-test-types (push) Has been cancelled
CI / check-additional-boundaries-a (push) Has been cancelled
CI / check-additional-boundaries-bcd (push) Has been cancelled
CI / check-additional-extension-bundled (push) Has been cancelled
CI / check-additional-extension-channels (push) Has been cancelled
CI / check-additional-extension-package-boundary (push) Has been cancelled
CI / check-additional-runtime-topology-architecture (push) Has been cancelled
CI / check-session-accessor-boundary (push) Has been cancelled
CI / check-session-transcript-reader-boundary (push) Has been cancelled
CI / check-docs (push) Has been cancelled
CI / skills-python (push) Has been cancelled
CI / macos-swift (push) Has been cancelled
CI / ios-build (push) Has been cancelled
CI / ci-timings-summary (push) Has been cancelled
Native App Locale Refresh / Refresh native fa (push) Has been cancelled
Native App Locale Refresh / Refresh native fr (push) Has been cancelled
Native App Locale Refresh / Refresh native hi (push) Has been cancelled
Native App Locale Refresh / Refresh native id (push) Has been cancelled
Native App Locale Refresh / Refresh native it (push) Has been cancelled
Native App Locale Refresh / Refresh native ja-JP (push) Has been cancelled
Control UI Locale Refresh / plan (push) Has been cancelled
Control UI Locale Refresh / Refresh ${{ matrix.locale }} (push) Has been cancelled
Control UI Locale Refresh / Commit control UI locale refresh (push) Has been cancelled
Live Media Runner Image / Build live media runner image (push) Has been cancelled
Native App Locale Refresh / Refresh native ar (push) Has been cancelled
Native App Locale Refresh / Refresh native de (push) Has been cancelled
Native App Locale Refresh / Refresh native es (push) Has been cancelled
Native App Locale Refresh / Refresh native ko (push) Has been cancelled
Native App Locale Refresh / Refresh native nl (push) Has been cancelled
Native App Locale Refresh / Refresh native pl (push) Has been cancelled
Native App Locale Refresh / Refresh native pt-BR (push) Has been cancelled
Native App Locale Refresh / Refresh native ru (push) Has been cancelled
Native App Locale Refresh / Refresh native sv (push) Has been cancelled
Native App Locale Refresh / Refresh native th (push) Has been cancelled
Native App Locale Refresh / Refresh native tr (push) Has been cancelled
Native App Locale Refresh / Refresh native uk (push) Has been cancelled
Native App Locale Refresh / Refresh native vi (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-CN (push) Has been cancelled
Native App Locale Refresh / Refresh native zh-TW (push) Has been cancelled
Native App Locale Refresh / Commit native locale refresh (push) Has been cancelled
Plugin Init Scaffold Validation / Validate provider scaffold (push) Has been cancelled
Plugin NPM Release / preview_plugins_npm (push) Has been cancelled
Plugin NPM Release / Validate release publish approval (push) Has been cancelled
Plugin NPM Release / preview_plugin_pack (push) Has been cancelled
Plugin NPM Release / publish_plugins_npm (push) Has been cancelled
Sandbox Common Smoke / sandbox-common-smoke (push) Has been cancelled
Website Installer Sync / static (push) Has been cancelled
Website Installer Sync / linux-docker (push) Has been cancelled
Website Installer Sync / macos-installer (push) Has been cancelled
Website Installer Sync / windows-installer (push) Has been cancelled
Website Installer Sync / sync-website (push) Has been cancelled
Adolf is a fork/vendored clone of github.com/openclaw/openclaw (v2026.6.11), free to diverge. Tree copied sans upstream .git; upstream remote added for future syncs. Node pinned to 24 (.nvmrc); engines already require >=22.19. Preserves docs/ARCHITECTURE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
173 lines
6.5 KiB
YAML
173 lines
6.5 KiB
YAML
name: Docker E2E plan and hydrate
|
|
description: >
|
|
Create a Docker E2E lane plan, expose GitHub outputs, and optionally hydrate
|
|
the prebuilt package artifact plus shared Docker images needed by the plan.
|
|
inputs:
|
|
mode:
|
|
description: prepare, chunk, or targeted.
|
|
required: true
|
|
chunk:
|
|
description: Release-path chunk for mode=chunk.
|
|
required: false
|
|
default: ""
|
|
lanes:
|
|
description: Comma/space separated lane names for targeted or prepare mode.
|
|
required: false
|
|
default: ""
|
|
include-openwebui:
|
|
description: Whether Open WebUI is included when planning release/prepare coverage.
|
|
required: false
|
|
default: "true"
|
|
include-release-path-suites:
|
|
description: Whether prepare mode should plan all release-path suites.
|
|
required: false
|
|
default: "false"
|
|
hydrate-artifacts:
|
|
description: Whether to download/pull artifacts required by the plan.
|
|
required: false
|
|
default: "true"
|
|
package-artifact-name:
|
|
description: Workflow artifact name containing openclaw-current.tgz.
|
|
required: false
|
|
default: docker-e2e-package
|
|
outputs:
|
|
credentials:
|
|
description: Comma-separated credential groups required by selected lanes.
|
|
value: ${{ steps.plan.outputs.credentials }}
|
|
needs_bare_image:
|
|
description: "1 when selected lanes require the bare Docker E2E image."
|
|
value: ${{ steps.plan.outputs.needs_bare_image }}
|
|
needs_e2e_image:
|
|
description: "1 when selected lanes require any Docker E2E image."
|
|
value: ${{ steps.plan.outputs.needs_e2e_image }}
|
|
needs_functional_image:
|
|
description: "1 when selected lanes require the functional Docker E2E image."
|
|
value: ${{ steps.plan.outputs.needs_functional_image }}
|
|
needs_live_image:
|
|
description: "1 when selected lanes require building the live Docker image."
|
|
value: ${{ steps.plan.outputs.needs_live_image }}
|
|
needs_package:
|
|
description: "1 when selected lanes require the OpenClaw package tarball."
|
|
value: ${{ steps.plan.outputs.needs_package }}
|
|
plan_json:
|
|
description: Path to the generated plan JSON.
|
|
value: ${{ steps.plan.outputs.plan_json }}
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Plan Docker E2E lanes
|
|
id: plan
|
|
shell: bash
|
|
env:
|
|
MODE: ${{ inputs.mode }}
|
|
CHUNK: ${{ inputs.chunk }}
|
|
LANES: ${{ inputs.lanes }}
|
|
INCLUDE_OPENWEBUI: ${{ inputs.include-openwebui }}
|
|
INCLUDE_RELEASE_PATH_SUITES: ${{ inputs.include-release-path-suites }}
|
|
run: |
|
|
set -euo pipefail
|
|
mkdir -p .artifacts/docker-tests
|
|
|
|
case "$MODE" in
|
|
prepare)
|
|
plan_path=".artifacts/docker-tests/plan.json"
|
|
if [[ "$INCLUDE_RELEASE_PATH_SUITES" == "true" ]]; then
|
|
export OPENCLAW_DOCKER_ALL_PROFILE=release-path
|
|
export OPENCLAW_DOCKER_ALL_PLAN_RELEASE_ALL=1
|
|
elif [[ -n "$LANES" ]]; then
|
|
export OPENCLAW_DOCKER_ALL_LANES="$LANES"
|
|
elif [[ "$INCLUDE_OPENWEBUI" == "true" ]]; then
|
|
export OPENCLAW_DOCKER_ALL_LANES=openwebui
|
|
fi
|
|
;;
|
|
chunk)
|
|
if [[ -z "$CHUNK" ]]; then
|
|
echo "chunk input is required for Docker E2E chunk planning." >&2
|
|
exit 1
|
|
fi
|
|
export OPENCLAW_DOCKER_ALL_PROFILE=release-path
|
|
export OPENCLAW_DOCKER_ALL_CHUNK="$CHUNK"
|
|
plan_path=".artifacts/docker-tests/release-${CHUNK}-plan.json"
|
|
;;
|
|
targeted)
|
|
if [[ -z "$LANES" ]]; then
|
|
echo "lanes input is required for Docker E2E targeted planning." >&2
|
|
exit 1
|
|
fi
|
|
if [[ "$INCLUDE_RELEASE_PATH_SUITES" == "true" ]]; then
|
|
export OPENCLAW_DOCKER_ALL_PROFILE=release-path
|
|
fi
|
|
export OPENCLAW_DOCKER_ALL_LANES="$LANES"
|
|
plan_path=".artifacts/docker-tests/targeted-plan.json"
|
|
;;
|
|
*)
|
|
echo "mode must be prepare, chunk, or targeted. Got: $MODE" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
export OPENCLAW_DOCKER_ALL_INCLUDE_OPENWEBUI="$INCLUDE_OPENWEBUI"
|
|
node scripts/test-docker-all.mjs --plan-json > "$plan_path"
|
|
node scripts/docker-e2e.mjs github-outputs "$plan_path" >> "$GITHUB_OUTPUT"
|
|
echo "plan_json=$plan_path" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Download OpenClaw Docker E2E package
|
|
if: inputs.hydrate-artifacts == 'true' && steps.plan.outputs.needs_package == '1'
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
|
|
with:
|
|
name: ${{ inputs.package-artifact-name }}
|
|
path: .artifacts/docker-e2e-package
|
|
|
|
- name: Pull shared bare Docker E2E image
|
|
if: inputs.hydrate-artifacts == 'true' && steps.plan.outputs.needs_bare_image == '1'
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
bash scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"
|
|
|
|
- name: Pull shared functional Docker E2E image
|
|
if: inputs.hydrate-artifacts == 'true' && steps.plan.outputs.needs_functional_image == '1'
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
bash scripts/ci-docker-pull-retry.sh "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"
|
|
|
|
- name: Validate Docker E2E credentials
|
|
if: inputs.hydrate-artifacts == 'true'
|
|
shell: bash
|
|
env:
|
|
CREDENTIALS: ${{ steps.plan.outputs.credentials }}
|
|
run: |
|
|
set -euo pipefail
|
|
credentials=",$CREDENTIALS,"
|
|
require_any() {
|
|
local label="$1"
|
|
shift
|
|
local key
|
|
for key in "$@"; do
|
|
if [[ -n "${!key:-}" ]]; then
|
|
return 0
|
|
fi
|
|
done
|
|
echo "Missing credential for ${label}: expected one of $*" >&2
|
|
exit 1
|
|
}
|
|
if [[ "$credentials" == *",openai,"* ]]; then
|
|
require_any OpenAI OPENAI_API_KEY
|
|
fi
|
|
if [[ "$credentials" == *",codex,"* ]]; then
|
|
require_any Codex OPENCLAW_CODEX_AUTH_JSON
|
|
fi
|
|
if [[ "$credentials" == *",anthropic,"* ]]; then
|
|
require_any Anthropic ANTHROPIC_API_TOKEN ANTHROPIC_API_KEY OPENCLAW_CLAUDE_CREDENTIALS_JSON OPENCLAW_CLAUDE_JSON
|
|
fi
|
|
if [[ "$credentials" == *",factory,"* ]]; then
|
|
require_any Factory FACTORY_API_KEY
|
|
fi
|
|
if [[ "$credentials" == *",gemini,"* ]]; then
|
|
require_any Gemini GEMINI_API_KEY GOOGLE_API_KEY OPENCLAW_GEMINI_SETTINGS_JSON
|
|
fi
|
|
if [[ "$credentials" == *",opencode,"* ]]; then
|
|
require_any OpenCode OPENCODE_API_KEY OPENCODE_ZEN_API_KEY
|
|
fi
|