Files
felhom.eu/documentation/audits/more-night-apps-2026-09-30/tools/probe_up.sh
T
admin 42bf40bd2c
gates / gates (push) Successful in 29s
More apps update themselves at night (30+2 -> 35+3); the same-name security-fix gap measured (R-740, decision for the operator)
- Twelve steps published on both venues (catalog): first ladders for calibre-web, gitea, wger,
  crafty-controller, uptime-kuma, zipline (two steps); within-major emby, ghost, home-assistant,
  outline, rallly. immich's step v3.0.3 -> v3.2.2 re-proven at 768M (Part D).
- Part C: the night leg skips a digest-only change AND the catalog never records a same-tag re-test,
  so a same-name upstream fix reaches no box. Row R-740; the decision in STATUS; `09` decision 30
  carries a dated note (the decision itself unchanged).
- Rows: 369 -> 377. Opened R-735..R-742; closed R-735, R-738, R-742; narrowed R-462, R-624, R-446,
  R-440, R-734, R-732. The currency audit gains §1b (and corrects its 31+1 to 30+2).

Evidence: documentation/audits/more-night-apps-2026-09-30/. Report: REPORT-more-night-apps-2026-09-30.md.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-30 20:27:28 +02:00

17 lines
850 B
Bash
Executable File

#!/bin/bash
# probe_up.sh <app> — stdin script for bench.sh: render the catalog template with build_env into /opt/probe/<app> and up -d
A=$1
cat <<SCRIPT
cd /opt/upg && python3 - <<'PY'
import importlib.util, sys, os
sys.path.insert(0,'/opt/upg')
s=importlib.util.spec_from_file_location("cvp","/opt/upg/check-volume-persistence.py"); cvp=importlib.util.module_from_spec(s); s.loader.exec_module(cvp)
f=open('templates/$A/.felhom.yml').read(); c=open('templates/$A/docker-compose.yml').read()
env=cvp.build_env('$A',f,c); os.makedirs('/opt/probe/$A',exist_ok=True)
open('/opt/probe/$A/docker-compose.yml','w').write(c); open('/opt/probe/$A/.env','w').write(''.join(f"{k}={v}\n" for k,v in env.items()))
os.chmod('/opt/probe/$A/.env',0o600)
print('env keys', sorted(env))
PY
cd /opt/probe/$A && docker compose -p probe$A up -d 2>&1 | tail -2
SCRIPT