Files
felhom.eu/documentation/audits/linetest-2026-10-27/tools/install_qb.py
T
admin acd79a78cc
gates / gates (push) Successful in 2m29s
Release block 2026-10-27: hub 0.173.0, agent 0.167.0, controller 0.346.0 released; R-1250 fixed the same day and proven; ten rows closed, R-1312 opened
- audits/linetest-2026-10-27/: the hold failed four times as built (qBittorrent drains ~14 s), the fix 710ceac, the test
  through the hold on 0.346.0-rc.1 (94.5 Mbit/s, the limit back exactly), teardown.
- audits/release-2026-10-27/: builds, agent release + signed updates, per-box and global floors, box walk.
- 09 §3 decisions 269 (R-1250 fix the same day) and 270 (R-1218 live proof waived); D55's window result in 268.
- 08 §: the drain-wait design line. STATUS, CONTEXT, register (223 -> 214).
2026-10-27 15:45:59 +01:00

13 lines
792 B
Python

#!/usr/bin/env python3
"""install_qb.py — Part 8 (R-1250): install a THROWAWAY qBittorrent on demo-hp guest 9201 through the endpoints the UI
invokes (box_walk). usage: SC=<dir with .ctlpw> TARGET=9201 DRIVE_ROOT=/mnt/felhom-drives/hdd_1 python3 -u install_qb.py"""
import os, sys
sys.path.insert(0, "/mnt/5_hdd/felhom.eu/git/felhom.eu/documentation/audits/catalog-sweep-2026-10-24/tools")
import box_walk as w
w.login()
code, d = w.ctl("GET", "/api/stacks/qbittorrent/deploy-fields")
print("deploy-fields:", code, [(f.get("env_var"), f.get("type"), f.get("required")) for f in ((((d.get("data") or {}).get("metadata") or {}).get("deploy_fields")) or [])])
ok = w.deploy("qbittorrent", "qbline")
print("deployed:", ok)
print("answers:", ok and w.wait_app("qbline", "/", tries=60, delay=5))