ci(docker): test release installer against beta · openclaw/openclaw@1bb46ce
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -341,10 +341,14 @@ const releasePathChunks = {
|
341 | 341 | }), |
342 | 342 | ], |
343 | 343 | "package-update": [ |
344 | | -npmLane("install-e2e", "OPENCLAW_E2E_MODELS=both pnpm test:install:e2e", { |
345 | | -resources: ["service"], |
346 | | -weight: 4, |
347 | | -}), |
| 344 | +npmLane( |
| 345 | +"install-e2e", |
| 346 | +"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=both pnpm test:install:e2e", |
| 347 | +{ |
| 348 | +resources: ["service"], |
| 349 | +weight: 4, |
| 350 | +}, |
| 351 | +), |
348 | 352 | npmLane( |
349 | 353 | "npm-onboard-channel-agent", |
350 | 354 | "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:npm-onboard-channel-agent", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,6 +3,7 @@ import { describe, expect, it } from "vitest";
|
3 | 3 | |
4 | 4 | const HELPER_PATH = "scripts/lib/docker-build.sh"; |
5 | 5 | const DOCKER_ALL_SCHEDULER_PATH = "scripts/test-docker-all.mjs"; |
| 6 | +const DOCKER_E2E_SCENARIOS_PATH = "scripts/lib/docker-e2e-scenarios.mjs"; |
6 | 7 | const CENTRALIZED_BUILD_SCRIPTS = [ |
7 | 8 | "scripts/docker/setup.sh", |
8 | 9 | "scripts/e2e/browser-cdp-snapshot-docker.sh", |
@@ -47,4 +48,12 @@ describe("docker build helper", () => {
|
47 | 48 | expect(scheduler).toContain("withResolvedPnpmCommand"); |
48 | 49 | expect(scheduler).toContain("OPENCLAW_DOCKER_ALL_PNPM_COMMAND"); |
49 | 50 | }); |
| 51 | + |
| 52 | +it("runs release installer E2E against the npm beta tag", () => { |
| 53 | +const scenarios = readFileSync(DOCKER_E2E_SCENARIOS_PATH, "utf8"); |
| 54 | + |
| 55 | +expect(scenarios).toContain( |
| 56 | +'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=both pnpm test:install:e2e"', |
| 57 | +); |
| 58 | +}); |
50 | 59 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。