mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The test variant (meta/variants.yml, variant 0) switches the tor service to the chutney flavor: the image ships chutney and the entrypoint boots a private Tor network inside the container (all nodes on 127.0.0.1, so the design is identical under compose host-networking and swarm). The entrypoint bootstraps from /opt/chutney (chutney creates its net/ state CWD-relative), extracts the DirAuthority/ TestingTorNetwork lines into /run/tor/chutney-net.conf and fails fast when that file ends up empty, since the node would otherwise silently join the public network. torrc %includes the conf only for the chutney flavor. Descriptor publish and rendezvous now run at localhost speed: per-app onion e2e suites dropped from minutes to seconds in the compose validation. The test variant also raises the footprint to 2g/1.0cpu/512pids (measured: at 1g/0.25 the ~9 extra tor nodes pin the caps and desc publishing stalls); meta/services.yml stays static on the public flavor and the old production footprint. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>