ci: disable bonjour in install e2e docker · openclaw/openclaw@5aa3779
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
File tree
scripts/docker/install-sh-e2e
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,6 +24,7 @@ AGENT_TURN_TIMEOUT_SECONDS="${OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS:-6
|
24 | 24 | export NPM_CONFIG_PREFIX="${NPM_CONFIG_PREFIX:-$HOME/.npm-global}" |
25 | 25 | mkdir -p "$NPM_CONFIG_PREFIX" |
26 | 26 | export PATH="$NPM_CONFIG_PREFIX/bin:$PATH" |
| 27 | +export OPENCLAW_DISABLE_BONJOUR="${OPENCLAW_DISABLE_BONJOUR:-1}" |
27 | 28 | |
28 | 29 | if [[ "$MODELS_MODE" != "both" && "$MODELS_MODE" != "openai" && "$MODELS_MODE" != "anthropic" ]]; then |
29 | 30 | echo "ERROR: OPENCLAW_E2E_MODELS must be one of: both|openai|anthropic" >&2 |
|
| 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 SCRIPT_PATH = "scripts/test-install-sh-docker.sh"; |
5 | 5 | const SMOKE_RUNNER_PATH = "scripts/docker/install-sh-smoke/run.sh"; |
| 6 | +const E2E_RUNNER_PATH = "scripts/docker/install-sh-e2e/run.sh"; |
6 | 7 | const BUN_GLOBAL_SMOKE_PATH = "scripts/e2e/bun-global-install-smoke.sh"; |
7 | 8 | const INSTALL_SMOKE_WORKFLOW_PATH = ".github/workflows/install-smoke.yml"; |
8 | 9 | const RELEASE_CHECKS_WORKFLOW_PATH = ".github/workflows/openclaw-release-checks.yml"; |
@@ -128,6 +129,14 @@ describe("install-sh smoke runner", () => {
|
128 | 129 | }); |
129 | 130 | }); |
130 | 131 | |
| 132 | +describe("install-sh e2e runner", () => { |
| 133 | +it("disables Bonjour for Docker loopback gateway checks", () => { |
| 134 | +const script = readFileSync(E2E_RUNNER_PATH, "utf8"); |
| 135 | + |
| 136 | +expect(script).toContain('export OPENCLAW_DISABLE_BONJOUR="${OPENCLAW_DISABLE_BONJOUR:-1}"'); |
| 137 | +}); |
| 138 | +}); |
| 139 | + |
131 | 140 | describe("bun global install smoke", () => { |
132 | 141 | it("packs the current tree and verifies image-provider discovery through Bun", () => { |
133 | 142 | const script = readFileSync(BUN_GLOBAL_SMOKE_PATH, "utf8"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。