ci(docker): test release installer against beta

This commit is contained in:
Peter Steinberger
2026-04-26 23:09:05 +01:00
parent 61a539a1b7
commit d8c4dcb6a4
2 changed files with 16 additions and 4 deletions

View File

@@ -391,10 +391,14 @@ const releasePathChunks = {
}),
],
"package-update": [
npmLane("install-e2e", "OPENCLAW_E2E_MODELS=both pnpm test:install:e2e", {
resources: ["service"],
weight: 4,
}),
npmLane(
"install-e2e",
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=both pnpm test:install:e2e",
{
resources: ["service"],
weight: 4,
},
),
npmLane(
"npm-onboard-channel-agent",
"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:npm-onboard-channel-agent",

View File

@@ -47,4 +47,12 @@ describe("docker build helper", () => {
expect(scheduler).toContain("withResolvedPnpmCommand");
expect(scheduler).toContain("OPENCLAW_DOCKER_ALL_PNPM_COMMAND");
});
it("runs release installer E2E against the npm beta tag", () => {
const scheduler = readFileSync(DOCKER_ALL_SCHEDULER_PATH, "utf8");
expect(scheduler).toContain(
'npmLane("install-e2e", "OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=both pnpm test:install:e2e"',
);
});
});