fix(qa-lab): replace docker workspace repo link · openclaw/openclaw@d9ee08a
vincentkoc
·
2026-06-20
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -90,7 +90,7 @@ describe("qa docker harness", () => {
|
90 | 90 | expect(compose).toContain(":/opt/openclaw-repo:ro"); |
91 | 91 | expect(compose).toContain("./state:/opt/openclaw-scaffold:ro"); |
92 | 92 | expect(compose).toContain( |
93 | | -"cp -R /opt/openclaw-scaffold/seed-workspace/. /tmp/openclaw/workspace/", |
| 93 | +"cp -R /opt/openclaw-scaffold/seed-workspace/. /tmp/openclaw/workspace/ && rm -rf /tmp/openclaw/workspace/repo && ln -s /opt/openclaw-repo /tmp/openclaw/workspace/repo", |
94 | 94 | ); |
95 | 95 | expect(compose).toContain("OPENCLAW_CONFIG_PATH: /tmp/openclaw/openclaw.json"); |
96 | 96 | expect(compose).toContain("OPENCLAW_STATE_DIR: /tmp/openclaw/state"); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -147,7 +147,7 @@ ${
|
147 | 147 | command: |
148 | 148 | - sh |
149 | 149 | - -lc |
150 | | - - mkdir -p /tmp/openclaw/workspace /tmp/openclaw/state && cp /opt/openclaw-scaffold/openclaw.json /tmp/openclaw/openclaw.json && cp -R /opt/openclaw-scaffold/seed-workspace/. /tmp/openclaw/workspace/ && ln -snf /opt/openclaw-repo /tmp/openclaw/workspace/repo && exec node dist/index.js gateway run --port 18789 --bind lan --allow-unconfigured |
| 150 | + - mkdir -p /tmp/openclaw/workspace /tmp/openclaw/state && cp /opt/openclaw-scaffold/openclaw.json /tmp/openclaw/openclaw.json && cp -R /opt/openclaw-scaffold/seed-workspace/. /tmp/openclaw/workspace/ && rm -rf /tmp/openclaw/workspace/repo && ln -s /opt/openclaw-repo /tmp/openclaw/workspace/repo && exec node dist/index.js gateway run --port 18789 --bind lan --allow-unconfigured |
151 | 151 | `; |
152 | 152 | } |
153 | 153 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。