From 2f494e399ccf539138d8a9812ea2401d0d0bd89c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 21:35:00 -0500 Subject: [PATCH] deploy/night: autodeploy follows night/2026-11-17 by default Co-Authored-By: Claude Opus 5.5 --- deploy/night/README.md | 2 +- deploy/night/autodeploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/night/README.md b/deploy/night/README.md index fa737ca..c9e2565 100644 --- a/deploy/night/README.md +++ b/deploy/night/README.md @@ -16,7 +16,7 @@ A 3-node **testnet-only** fixture on poweredge-r350. It is reachable on the LAN - `compose.lan.yaml` also sets, per node: - `WIKIDECK_USER_AGENT`, a Wikimedia-policy UA with a project URL (#19). Without it, Wikipedia returned 429 to our egress and templates failed. - the game-mode env from #22: A = classic and trending, B = draft, C = all three. -- `autodeploy.sh` follows the integration branch. Run it from a dedicated detached worktree: `git worktree add --detach ../deploy-src origin/night/2026-11-16 && cd ../deploy-src && deploy/night/autodeploy.sh`. It polls the Gitea API every 3 min and redeploys whenever the head moves. +- `autodeploy.sh` follows the integration branch. Run it from a dedicated detached worktree: `git worktree add --detach ../deploy-src origin/night/2026-11-17 && cd ../deploy-src && deploy/night/autodeploy.sh`. It polls the Gitea API every 3 min and redeploys whenever the head moves. - `testnet.sh` has `up`, `mine N [workers]`, `status` and `down`. Run it from the repo root on a checkout of the integration branch. `up` rebuilds the image from that checkout; the ledgers persist in the named volumes. Never point this at mainnet or the live `wikideck` namespace. diff --git a/deploy/night/autodeploy.sh b/deploy/night/autodeploy.sh index 3d994ea..fc1e6e8 100755 --- a/deploy/night/autodeploy.sh +++ b/deploy/night/autodeploy.sh @@ -6,7 +6,7 @@ # because lobbies are in memory and a restart ends games in progress. # Head detection uses the public Gitea API, which also works where SSH auth isn't available. set -u -BRANCH=${BRANCH:-night/2026-11-16} +BRANCH=${BRANCH:-night/2026-11-17} API=${API:-https://gitea.eom.dev/api/v1/repos/claude/wikideck} INTERVAL=${INTERVAL:-180} LOG=${LOG:-/tmp/wikideck-night-autodeploy.log}