games_app/deploy/gitea-stack/verify-final.sh
Your Name 156d37ea26
All checks were successful
CI / test-and-build (push) Successful in 36s
Fix CI runner Docker image and deploy SSH ForceCommand wrapper
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 20:38:57 +02:00

21 lines
761 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "== stacks =="
sudo docker ps --format '{{.Names}} {{.Status}}' | sort
echo "== health =="
curl -fsS http://127.0.0.1:9080/health | head -c 120; echo
curl -fsS http://127.0.0.1:3000/api/v1/version; echo
curl -fsS http://127.0.0.1:5000/v2/; echo
echo "== actions jobs =="
sudo -u postgres psql -d gitea -c "SELECT id, run_id, status FROM action_run_job ORDER BY id DESC LIMIT 8;"
echo "== release =="
cat /var/lib/tloto/current.json
echo
echo "== npm scripts =="
cd ~/games_app
sudo npm run phase-b:status | head -20
echo "== ssh forcecommand smoke =="
ssh -o BatchMode=yes -o StrictHostKeyChecking=no -i ~/gitea-deploy-ssh/id_ed25519 deploy@127.0.0.1 \
"/opt/tloto/bin/tloto-deploy --help" | head -20
echo VERIFY_OK