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.

Expose demo tailnet identity diagnostics

rcourtmanf8bbae2f34d0
diff --git a/.github/scripts/check-demo-reachability.sh b/.github/scripts/check-demo-reachability.sh
index 7a0a2f223e..d3323b9642 100755
--- a/.github/scripts/check-demo-reachability.sh
+++ b/.github/scripts/check-demo-reachability.sh
@@ -36,6 +36,8 @@ except (json.JSONDecodeError, OSError):
self_node = status.get("Self") or {}
self_ips = [ip for ip in self_node.get("TailscaleIPs") or [] if ":" not in ip]
+self_dns = (self_node.get("DNSName") or "").rstrip(".")
+self_tags = sorted(self_node.get("Tags") or [])
target = None
for peer in (status.get("Peer") or {}).values():
peer_ips = peer.get("TailscaleIPs") or []
@@ -46,6 +48,8 @@ for peer in (status.get("Peer") or {}).values():
print(f"Tailscale backend: {status.get('BackendState', 'unknown')}")
print(f"Runner Tailscale IPv4: {self_ips[0] if self_ips else 'unavailable'}")
+print(f"Runner Tailscale DNS: {self_dns or 'unavailable'}")
+print(f"Runner Tailscale tags: {','.join(self_tags) if self_tags else 'none'}")
if target is None:
print("Demo peer is not present in the runner peer map yet.")
else:
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 9159b767fd..4eb2d15721 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -1101,6 +1101,8 @@ func TestDemoReachabilityHelperSeparatesTailnetAndSshTransportProof(t *testing.T
`tailscale status --json`,
`tailscale ping --c 3 --timeout 10s "$DEMO_SERVER_HOST"`,
`nc -z -w 5 "$DEMO_SERVER_HOST" "$TCP_PORT"`,
+ `Runner Tailscale DNS:`,
+ `Runner Tailscale tags:`,
`Demo peer is not present in the runner peer map yet.`,
`Verify sshd and the host firewall on tailscale0.`,
} {