mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
fix(ci): classify live installer docker lanes
This commit is contained in:
@@ -2051,6 +2051,14 @@ output="$(run_logged_print_heartbeat plugins-run 08 bash -c 'printf "captured co
|
||||
expect(wrapper).toContain("OPENCLAW_INSTALL_E2E_OPENAI_MODEL");
|
||||
expect(wrapper).toContain("OPENCLAW_INSTALL_E2E_OPENAI_PROVIDER_TIMEOUT_SECONDS");
|
||||
expect(wrapper).toContain("OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS:-300");
|
||||
expect(wrapper).toContain("OPENCLAW_INSTALL_E2E_PROFILE_FILE");
|
||||
expect(wrapper).toContain("OPENCLAW_PROFILE_FILE");
|
||||
expect(wrapper).toContain("OPENCLAW_TESTBOX_PROFILE_FILE");
|
||||
expect(wrapper).toContain("read_profile_env_value");
|
||||
expect(wrapper).toContain("source \"$PROFILE_FILE\"");
|
||||
expect(wrapper).not.toContain("set -a");
|
||||
expect(wrapper).toContain("export \"$key\"");
|
||||
expect(wrapper).toContain("Profile file: $PROFILE_STATUS");
|
||||
expect(runner).toContain("OPENCLAW_INSTALL_E2E_OPENAI_MODEL");
|
||||
expect(runner).toContain("OPENCLAW_INSTALL_E2E_OPENAI_PROVIDER_TIMEOUT_SECONDS");
|
||||
expect(runner).toContain(
|
||||
|
||||
@@ -179,6 +179,23 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
expect(plan.lanes.map((lane) => lane.name)).toEqual(["live-plugin-tool"]);
|
||||
});
|
||||
|
||||
it("keeps provider-backed install E2E lanes out of non-live package chunks", () => {
|
||||
const plan = planFor({
|
||||
includeOpenWebUI: true,
|
||||
liveMode: "skip",
|
||||
profile: RELEASE_PATH_PROFILE,
|
||||
releaseChunk: "package-update",
|
||||
});
|
||||
|
||||
const laneNames = plan.lanes.map((lane) => lane.name);
|
||||
expect(laneNames).not.toContain("install-e2e-openai");
|
||||
expect(laneNames).not.toContain("openai-chat-tools");
|
||||
expect(laneNames).not.toContain("live-codex-npm-plugin");
|
||||
expect(laneNames).not.toContain("install-e2e-anthropic");
|
||||
expect(laneNames).toContain("codex-on-demand");
|
||||
expect(laneNames).toContain("update-channel-switch");
|
||||
});
|
||||
|
||||
it("splits release-path package and plugin chunks across shorter CI jobs", () => {
|
||||
const core = planFor({
|
||||
includeOpenWebUI: true,
|
||||
@@ -920,9 +937,9 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
command:
|
||||
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TOOL_SMOKE=0 OPENCLAW_INSTALL_E2E_OPENAI_MODEL=openai/gpt-5.4-mini OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=120 OPENCLAW_INSTALL_E2E_OPENAI_PROVIDER_TIMEOUT_SECONDS=120 pnpm test:install:e2e",
|
||||
imageKind: "bare",
|
||||
live: false,
|
||||
live: true,
|
||||
name: "install-e2e-openai",
|
||||
resources: ["docker", "npm", "service"],
|
||||
resources: ["docker", "live", "live:openai", "npm", "service"],
|
||||
timeoutMs: 900_000,
|
||||
weight: 3,
|
||||
},
|
||||
@@ -930,9 +947,9 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
command:
|
||||
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=anthropic OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-anthropic:local pnpm test:install:e2e",
|
||||
imageKind: "bare",
|
||||
live: false,
|
||||
live: true,
|
||||
name: "install-e2e-anthropic",
|
||||
resources: ["docker", "npm", "service"],
|
||||
resources: ["docker", "live", "live:claude", "npm", "service"],
|
||||
weight: 3,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user