test(docker): ignore artifacts in live source staging · openclaw/openclaw@78b2526
vincentkoc
·
2026-05-07
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,6 +7,12 @@ const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../
|
7 | 7 | const stageScriptPath = path.join(repoRoot, "scripts/lib/live-docker-stage.sh"); |
8 | 8 | |
9 | 9 | describe("live Docker state staging", () => { |
| 10 | +it("keeps repo-local generated artifacts out of the source copy", () => { |
| 11 | +const script = readFileSync(stageScriptPath, "utf8"); |
| 12 | + |
| 13 | +expect(script).toContain("--exclude=.artifacts"); |
| 14 | +}); |
| 15 | + |
10 | 16 | it("keeps host-only generated registry state out of the container copy", () => { |
11 | 17 | const script = readFileSync(stageScriptPath, "utf8"); |
12 | 18 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。