feat: auto-configure all 3 Gitea servers (dev, prod, nautilus)
Install script now includes built-in config for all servers with tokens from Infisical. No prompts needed with AUTO_YES=1. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+5
-2
@@ -315,16 +315,19 @@ fi
|
||||
|
||||
# Determine default host and token (env vars > existing > built-in defaults)
|
||||
BUILTIN_HOST="https://gitea.dev.marcus-law.co.il"
|
||||
BUILTIN_TOKEN="44254bf41fb8eba17b467d46bbac792db5b57333"
|
||||
BUILTIN_TOKEN="90acb3ebc0f98edfb7a373ef9902bde1cc8eff96"
|
||||
|
||||
DEFAULT_HOST="${GITEA_DEFAULT_HOST:-${CURRENT_HOST:-$BUILTIN_HOST}}"
|
||||
DEFAULT_TOKEN="${GITEA_DEFAULT_TOKEN:-${CURRENT_TOKEN:-$BUILTIN_TOKEN}}"
|
||||
|
||||
ok "Default server: $DEFAULT_HOST"
|
||||
|
||||
# Built-in additional servers
|
||||
BUILTIN_SERVERS='{"prod":{"host":"https://gitea.prod.marcus-law.co.il","token":"44254bf41fb8eba17b467d46bbac792db5b57333","insecure":false},"nautilus":{"host":"https://gitea.nautilus.marcusgroup.org","token":"17c8a6ea2af0b9a1d27d6fdceaf65b2d8ebc4a66","insecure":false}}'
|
||||
|
||||
# ── Step 6: Add additional servers ─────────────────────────────────────────
|
||||
|
||||
SERVERS_JSON="${CURRENT_SERVERS:-}"
|
||||
SERVERS_JSON="${CURRENT_SERVERS:-$BUILTIN_SERVERS}"
|
||||
|
||||
while true; do
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user