|
87 | 87 | docs_only: ${{ steps.manifest.outputs.docs_only }} |
88 | 88 | docs_changed: ${{ steps.manifest.outputs.docs_changed }} |
89 | 89 | run_node: ${{ steps.manifest.outputs.run_node }} |
| 90 | + # docker-seed-e2e-contract-v1: frozen targets without this marker skip the lane. |
| 91 | + run_docker_seed_e2e: ${{ steps.manifest.outputs.run_docker_seed_e2e }} |
| 92 | + docker_seed_lanes: ${{ steps.manifest.outputs.docker_seed_lanes }} |
90 | 93 | run_macos: ${{ steps.manifest.outputs.run_macos }} |
91 | 94 | run_android: ${{ steps.manifest.outputs.run_android }} |
92 | 95 | run_skills_python: ${{ steps.manifest.outputs.run_skills_python }} |
@@ -636,6 +639,7 @@ jobs: |
636 | 639 | : ""; |
637 | 640 | const supportsOpenClawKitTests = targetWorkflow.includes("openclawkit-tests-contract-v1"); |
638 | 641 | const supportsCurrentAndroidCi = targetWorkflow.includes("android-ci-contract-v2"); |
| 642 | + const supportsDockerSeedE2e = targetWorkflow.includes("docker-seed-e2e-contract-v1"); |
639 | 643 | const useCompatibleAndroidCi = compatibilityTarget && !supportsCurrentAndroidCi; |
640 | 644 | const supportsFormatCheck = |
641 | 645 | targetWorkflow.split("pnpm format:check").length - 1 >= 2; |
@@ -671,6 +675,13 @@ jobs: |
671 | 675 | } |
672 | 676 |
|
673 | 677 | const compactPullRequest = isCanonicalRepository && eventName === "pull_request"; |
| 678 | + const dockerSeedLanes = |
| 679 | + compactPullRequest && |
| 680 | + changedPaths && |
| 681 | + supportsDockerSeedE2e && |
| 682 | + typeof changedNodeTestPlan.resolveChangedDockerSeedLanes === "function" |
| 683 | + ? changedNodeTestPlan.resolveChangedDockerSeedLanes(changedPaths) |
| 684 | + : []; |
674 | 685 | // Canonical pushes also use compact bins: 80+ single-group jobs |
675 | 686 | // drain the runner pool for minutes, and per-shard check names on |
676 | 687 | // main have no branch-protection consumers. Dispatch (release |
@@ -808,6 +819,8 @@ jobs: |
808 | 819 | docs_only: docsOnly, |
809 | 820 | docs_changed: docsChanged, |
810 | 821 | run_node: runNode, |
| 822 | + run_docker_seed_e2e: dockerSeedLanes.length > 0, |
| 823 | + docker_seed_lanes: dockerSeedLanes.join(" "), |
811 | 824 | run_macos: runMacos, |
812 | 825 | run_android: runAndroid, |
813 | 826 | run_skills_python: runSkillsPython, |
@@ -4060,6 +4073,33 @@ jobs: |
4060 | 4073 | ;; |
4061 | 4074 | esac |
4062 | 4075 |
|
| 4076 | + docker-seed-e2e: |
| 4077 | + permissions: |
| 4078 | + contents: read |
| 4079 | + name: docker-seed-e2e |
| 4080 | + needs: [preflight] |
| 4081 | + if: needs.preflight.outputs.run_docker_seed_e2e == 'true' |
| 4082 | + runs-on: ${{ vars.OPENCLAW_CI_RUNNER_BACKEND == 'github' && 'ubuntu-24.04' || (vars.OPENCLAW_CI_RUNNER_BACKEND == 'hybrid' && github.run_attempt > 1) && 'ubuntu-24.04' || github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.event_name == 'pull_request' && (github.run_attempt > 1 || github.event.pull_request.head.repo.full_name != github.repository)) && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || contains(fromJSON('["OWNER","MEMBER","COLLABORATOR","CONTRIBUTOR"]'), github.event.pull_request.author_association)) && 'blacksmith-16vcpu-ubuntu-2404' || 'ubuntu-24.04') }} |
| 4083 | + timeout-minutes: 60 |
| 4084 | + steps: |
| 4085 | + - *linux_node_checkout_step |
| 4086 | + - name: Setup Node environment |
| 4087 | + uses: ./.github/actions/setup-node-env |
| 4088 | + with: |
| 4089 | + node-version: "24.x" |
| 4090 | + install-bun: "false" |
| 4091 | + dependency-cache: ${{ (vars.OPENCLAW_CI_RUNNER_BACKEND == 'github' || vars.OPENCLAW_CI_RUNNER_BACKEND == 'hybrid' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.run_attempt > 1)) && 'false' || (github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'true' || 'false') }} |
| 4092 | + use-actions-cache: ${{ (vars.OPENCLAW_CI_RUNNER_BACKEND == 'github' || vars.OPENCLAW_CI_RUNNER_BACKEND == 'hybrid' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.run_attempt > 1)) && 'true' || (github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'false' || 'true') }} |
| 4093 | + |
| 4094 | + - name: Run changed Docker seed owner lanes |
| 4095 | + env: |
| 4096 | + OPENCLAW_DOCKER_ALL_LANES: ${{ needs.preflight.outputs.docker_seed_lanes }} |
| 4097 | + OPENCLAW_DOCKER_ALL_LIVE_MODE: skip |
| 4098 | + OPENCLAW_DOCKER_E2E_ALLOW_UNRELEASED_CHANGELOG: "1" |
| 4099 | + OPENCLAW_DOCKER_ALL_PARALLELISM: ${{ vars.OPENCLAW_CI_RUNNER_BACKEND != 'github' && github.event_name == 'pull_request' && github.run_attempt == 1 && github.event.pull_request.head.repo.full_name == github.repository && contains(fromJSON('["OWNER","MEMBER","COLLABORATOR","CONTRIBUTOR"]'), github.event.pull_request.author_association) && 3 || 1 }} |
| 4100 | + OPENCLAW_DOCKER_ALL_TAIL_PARALLELISM: ${{ vars.OPENCLAW_CI_RUNNER_BACKEND != 'github' && github.event_name == 'pull_request' && github.run_attempt == 1 && github.event.pull_request.head.repo.full_name == github.repository && contains(fromJSON('["OWNER","MEMBER","COLLABORATOR","CONTRIBUTOR"]'), github.event.pull_request.author_association) && 3 || 1 }} |
| 4101 | + run: pnpm test:docker:all |
| 4102 | + |
4063 | 4103 | ci-gate: |
4064 | 4104 | permissions: |
4065 | 4105 | contents: read |
@@ -4092,6 +4132,7 @@ jobs: |
4092 | 4132 | - macos-swift |
4093 | 4133 | - ios-build |
4094 | 4134 | - android |
| 4135 | + - docker-seed-e2e |
4095 | 4136 | if: ${{ always() && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }} |
4096 | 4137 | runs-on: ubuntu-24.04 |
4097 | 4138 | timeout-minutes: 5 |
@@ -4128,6 +4169,7 @@ jobs: |
4128 | 4169 | macos-swift=${{ needs.macos-swift.result }} |
4129 | 4170 | ios-build=${{ needs.ios-build.result }} |
4130 | 4171 | android=${{ needs.android.result }} |
| 4172 | + docker-seed-e2e=${{ needs.docker-seed-e2e.result }} |
4131 | 4173 | run: | |
4132 | 4174 | set -euo pipefail |
4133 | 4175 |
|
|
0 commit comments