CI modelled on Pulse, deploy script with rollback, bootstrap, README

- .gitea/workflows/ci.yml: flake8 + dash check, pytest (90% coverage floor), MariaDB
  integration tests, bandit, pip-audit, gitleaks, actionlint, shellcheck, zizmor, semgrep;
  main deploys through a signed webhook and waits for /health to report the commit.
- deploy/thor_deploy.sh: deploys an exact sha, installs units and nginx site when changed,
  rolls back unless /health reports the sha with a working database. Sandbox-tested.
- deploy/bootstrap.sh: idempotent first install on CT 173.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-25 22:35:28 -05:00
1 parent eecb24297a
commit 379570bbdc
14 files changed
+689

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
{
"prometheus_url": "http://10.10.10.48:9090",
"loki_url": "http://10.10.10.69:3100",
"gandalf_url": "http://10.10.10.61",
"tinker_url": "https://t.lotusguild.org/create_ticket_api.php",
"public_url": "https://thor.lotusguild.org",
"proxmox_nodes": ["10.10.10.11", "10.10.10.10", "10.10.10.4", "10.10.10.2", "10.10.10.8", "10.10.10.9"],
"proxmox_verify_tls": false,
"cycle_seconds": 120,
"catchup_hours": 24,
"stale_after_cycles": 3,
"http_timeout_s": 10,
"checks": {
"memory": "shadow"
}
}