Files
Trey JonesandClaude Sonnet 5.5 28090c93b0 refactor(deploy): split deploy/ into host/ and container/, keeping both layouts working (#91)
Scripts that run on the PVE node now live in deploy/host/ (installer, shared
library, management tool, host command, roles tool, host-backup patch,
bootstrap) and those that run inside the container in deploy/container/
(install, update, certbot, unit template).

Compatibility, both directions:
- Everything that reads a container's checkout or a GitHub ref (the host
  command, the installer, the library fetch, the host-backup patch refresh)
  tries the new path and then the flat one, so a current host manages
  containers on earlier releases and the installer works for any release it
  clones.
- The old flat paths remain as forwarding stubs (install, update, certbot
  setup/hook, lxc-create, including the curl one-liner) and a copy of the unit
  template, so an update already running from an earlier release, existing
  instructions and certbot renewal hooks keep working.
- The container image never contained deploy/ and still does not.

tests/test_deploy_layout_compat.py covers both layouts in both directions
(plus a mixed fleet and the image); the fakes can now serve either layout.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 18:47:22 -05:00
..