Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Keep native updater fixture traffic on loopback

pulse-triage[bot]2ce307154f4c
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index e71c6e2ea3..8d04ee509a 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -122,6 +122,8 @@ cleanup removes only objects created by this attempt. Compiler and root-command
failures stay gating under the existing job's deadline; a seven-day closed receipt
contains source/binary/output hashes, all phases and cleanup, never signer keys,
persistent contents or raw application/installer logs.
+The private fixture disables telemetry and binds the existing service to loopback;
+it exposes no test server on the hosted VM's external interface.
`TestAutoUpdateNativeSystemdHarnessContracts` checks the exact recipe, admission,
closed transport, real local signatures and phase refusals, and runs the connected
diff --git a/scripts/installtests/auto_update_systemd.py b/scripts/installtests/auto_update_systemd.py
index 9d8a9f3070..082610bace 100644
--- a/scripts/installtests/auto_update_systemd.py
+++ b/scripts/installtests/auto_update_systemd.py
@@ -232,7 +232,7 @@ class NativeLab:
'install_pulse_archive "$PULSE_NATIVE_ROOT/archives/pulse-v0.0.1-linux-amd64.tar.gz" v0.0.1; '
'install_systemd_service; setup_update_command')
data = self.root / "data"
- (data / ".env").write_text("PULSE_TELEMETRY=false\n")
+ (data / ".env").write_text("PULSE_TELEMETRY=false\nBIND_ADDRESS=127.0.0.1\n")
(data / "system.json").write_text('{"autoUpdateEnabled":false,"updateChannel":"stable"}\n')
(data / "native-persistence-sentinel").write_text("original persistent data\n")
self.run("systemctl", "start", self.unit.name)
diff --git a/scripts/tests/test_auto_update_systemd.py b/scripts/tests/test_auto_update_systemd.py
index 6d63dc9f0d..6c501b22ff 100644
--- a/scripts/tests/test_auto_update_systemd.py
+++ b/scripts/tests/test_auto_update_systemd.py
@@ -314,6 +314,8 @@ else: sys.exit(97)
with patch.object(Path, "write_text", new=relocate), patch.object(native.time, "sleep"):
try:
lab.prepare()
+ self.assertEqual((lab.root / "data/.env").read_text(),
+ "PULSE_TELEMETRY=false\nBIND_ADDRESS=127.0.0.1\n")
lab.exercise()
except RuntimeError as error:
self.fail(str(error) + "\nConfined fixture output:\n" + lab._last_output.decode())