feat: add cloud control-plane deployment entrypoints

This commit is contained in:
Codex
2026-03-23 13:24:08 +08:00
parent 47c29c723a
commit 3ff757e22d
6 changed files with 277 additions and 0 deletions

10
scripts/boss_cloud_status.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
remote_dir="${BOSS_REMOTE_DIR:-/home/ubuntu/boss}"
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export AG_SERVER_SKILL="${AG_SERVER_SKILL:-$CODEX_HOME/skills/ai-glasses-server-debug}"
export AG_SERVER="${AG_SERVER:-$AG_SERVER_SKILL/scripts/server_ssh.sh}"
"$AG_SERVER" exec "set -euo pipefail; cd $(printf '%q' "$remote_dir"); sudo docker compose -f compose.cloud.yaml -p boss ps; echo '---'; curl -fsS http://127.0.0.1:43210/api/health"