Files
HealthAppRepositoryB/tools/native-install-test/README.md
T

1.2 KiB

Native installer verification environments

These optional test harnesses execute the real installer and systemd service in isolated Debian 12 environments. Docker is test infrastructure, not an application deployment requirement. Administrative Docker access and privileged containers are needed for systemd; no Architecture A resources or host data directories are mounted.

Build a fresh release, then set HEALTHAPP_RELEASE=/absolute/bundle and run python3 tools/native-install-test/local.py and python3 tools/native-install-test/remote.py. The local harness builds the verification image first; run it before remote on a fresh machine. Both remove their own test containers. Remote also removes its own network/certificate volume and checks verified hostname rejection plus absence of local PostgreSQL.

Evidence includes actual distribution/runtime, PID/DB/HTTPS/workflow/restart, protected config permissions, and no-overwrite checks. It does not validate bare-metal networking, every intended distribution, HA, clinical validity or energy efficiency. Package/runtime versions come from feeds and are recorded; they must be controlled separately in a measurement setup.