mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:40:44 +00:00
ci: accept legacy bundled docker lane
This commit is contained in:
@@ -2,6 +2,7 @@ import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
DEFAULT_LIVE_RETRIES,
|
||||
RELEASE_PATH_PROFILE,
|
||||
parseLaneSelection,
|
||||
resolveDockerE2ePlan,
|
||||
} from "../../scripts/lib/docker-e2e-plan.mjs";
|
||||
|
||||
@@ -97,6 +98,19 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("maps the legacy bundled channel deps lane to the split compat lane", () => {
|
||||
const selectedLaneNames = parseLaneSelection("bundled-channel-deps");
|
||||
const plan = planFor({ selectedLaneNames });
|
||||
|
||||
expect(selectedLaneNames).toEqual(["bundled-channel-deps-compat"]);
|
||||
expect(plan.lanes).toEqual([
|
||||
expect.objectContaining({
|
||||
imageKind: "bare",
|
||||
name: "bundled-channel-deps-compat",
|
||||
}),
|
||||
]);
|
||||
});
|
||||
|
||||
it("rejects unknown selected lanes with the available lane names", () => {
|
||||
expect(() => planFor({ selectedLaneNames: ["missing-lane"] })).toThrow(
|
||||
/OPENCLAW_DOCKER_ALL_LANES unknown lane\(s\): missing-lane/u,
|
||||
|
||||
Reference in New Issue
Block a user