Test env NATS cluster cut-over

This commit is contained in:
George Lambert 2026-09-11 23:59:41 -04:00
commit 3eaad04d7b
14 changed files with 367 additions and 0 deletions

10
scripts/cutover-ns1.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Point NS1 test modules at the 3-node vmbr1 cluster. Does not change MOCK_VERAE or Zapier.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
# shellcheck disable=SC1091
. "$ROOT/client.env"
export PATH="/usr/sbin:/usr/bin:/bin:$PATH"
bash "$ROOT/scripts/ensure-streams.sh"
echo "NATS_URL=$NATS_URL"
echo "streams ensured. restart keep + fleet on the host after copying overlay/service JSON."