test(e2e): repair release docker smoke fixtures · openclaw/openclaw@941329b
joshavant
·
2026-05-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,6 +19,7 @@ function writeOpenWebUiWorkspace() {
|
19 | 19 | function writeAgentsDeleteConfig() { |
20 | 20 | const stateDir = requireArg(process.env.OPENCLAW_STATE_DIR, "OPENCLAW_STATE_DIR"); |
21 | 21 | const sharedWorkspace = requireArg(process.env.SHARED_WORKSPACE, "SHARED_WORKSPACE"); |
| 22 | +const gatewayToken = process.env.OPENCLAW_GATEWAY_TOKEN?.trim(); |
22 | 23 | fs.mkdirSync(sharedWorkspace, { recursive: true }); |
23 | 24 | writeJson(path.join(stateDir, "openclaw.json"), { |
24 | 25 | agents: { |
@@ -27,6 +28,7 @@ function writeAgentsDeleteConfig() {
|
27 | 28 | { id: "ops", workspace: sharedWorkspace }, |
28 | 29 | ], |
29 | 30 | }, |
| 31 | + ...(gatewayToken ? { gateway: { auth: { mode: "token", token: gatewayToken } } } : {}), |
30 | 32 | }); |
31 | 33 | } |
32 | 34 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。