From d7fcd137e08fbb70a7ec8ef2a6626b98736b7e5b Mon Sep 17 00:00:00 2001 From: satyakwok Date: Wed, 13 May 2026 09:52:17 +0200 Subject: [PATCH 1/2] chore: scrub internal-file ref from deploy comment 'founder-private artifacts' -> 'internal artifacts' in the deploy script's ship-list comment. Removes a name that referenced an unpublished directory. --- scripts/deploy-mainnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-mainnet.sh b/scripts/deploy-mainnet.sh index 34f7e75..d9bab42 100755 --- a/scripts/deploy-mainnet.sh +++ b/scripts/deploy-mainnet.sh @@ -82,7 +82,7 @@ echo "==> typecheck" echo "✓ typecheck clean" # Files to ship. Keep this list explicit + reviewed; avoid blanket `scp -r` -# that would push founder-private artifacts or local node_modules. +# that would push internal artifacts or local node_modules. FILES=( apps/api/package.json apps/api/src/index.ts From 49370f2ebf0fc0f5a31c7747479b770c1f933437 Mon Sep 17 00:00:00 2001 From: satyakwok Date: Wed, 13 May 2026 10:03:13 +0200 Subject: [PATCH 2/2] chore: drop VPS identifier from deploy script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Five places named the operator's mainnet host alias 'vps6'. The script header, the env doc comment, and the MAINNET_HOST default are all reworded to use 'the mainnet host' generically. MAINNET_HOST default removed — operators must now set it explicitly (error if unset). Anyone running this script already had to point at their own ssh alias; the previous default was leak surface for one specific operator's local config. --- scripts/deploy-mainnet.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/deploy-mainnet.sh b/scripts/deploy-mainnet.sh index d9bab42..1e1e73a 100755 --- a/scripts/deploy-mainnet.sh +++ b/scripts/deploy-mainnet.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash -# Sync source + rebuild + recreate the mainnet indexer stack on vps6. +# Sync source + rebuild + recreate the mainnet indexer stack on the mainnet host. # -# vps6's ~/indexer-deploy is NOT a git checkout (operator preference; keeps -# the prod host out of the GitHub auth path). Source files are pushed via -# scp instead of `git pull`. This script captures the dance so we don't -# have to re-derive the file list on every PR. +# The mainnet host's ~/indexer-deploy is NOT a git checkout (operator +# preference; keeps the prod host out of the GitHub auth path). Source +# files are pushed via scp instead of `git pull`. This script captures +# the dance so we don't have to re-derive the file list on every PR. # # Usage: # ./scripts/deploy-mainnet.sh # full sync + rebuild @@ -12,7 +12,7 @@ # ./scripts/deploy-mainnet.sh --skip-build # scp only, no rebuild # # Env: -# MAINNET_HOST ssh alias for the mainnet host (default: vps6) +# MAINNET_HOST ssh alias for the mainnet host (required) # # Pre-flight: # - Refuses if local working tree is dirty @@ -28,7 +28,7 @@ set -euo pipefail -HOST="${MAINNET_HOST:-vps6}" +HOST="${MAINNET_HOST:?MAINNET_HOST must be set (ssh alias for the mainnet host)}" SKIP_BUILD=0 CHECK_ONLY=0