2.9 KiB
Release and deployment checklist
Before committing
- Review both working trees: the email-list system and the Ops Monitor companion change.
- Run the complete unit suites and Docker acceptance tests using synthetic data only.
- Confirm
.env, runtime databases, private inbox files, logs, backups, and generated receipts are ignored. - Replace
templates/welcome.mdwith approved PaddleNET copy before enabling welcome cron.
Ops Monitor deployment first
- Deploy the reviewed
email-telemetrycompanion source to/opt/example-email-telemetryon Ops Monitor. - Add a distinct
EMAIL_TELEMETRY_API_TOKENto that service's private environment and restart it. - Create
telemetry.example.comDNS/Caddy routing and configure the Postmarkbroadcast-listwebhook. - Confirm webhook writes reach
/srv/example-telemetry/email/brand/raw/. - Test both bearer-token read endpoints with synthetic event data.
Email-list VM deployment
- On
10.0.0.10, create/srv/email-list-system/runtime/inbox. - Clone or pull the reviewed Git revision into
/srv/email-list-systemusing the Git deployment access procedure. - Create the private
.envfrom.env.example; set the reviewed commit, private runtime path,EMAIL_LIST_PROVIDER=postmark, Postmark settings, and telemetry settings. - Build the image, run
system init --dry-run, thensystem init. - Run
system check, a Postmark suppression reconciliation dry run, and a synthetic/test-mode provider validation before any real subscriber import. - Import the initial private list with
subscriber import ... --no-welcome --dry-run, review it, then execute it. - Install cron only after approved welcome copy and telemetry API validation are complete.
Release gate
Do not enable live sends until a human reviews the exact campaign preview, dry-run recipient count/exclusions, Postmark stream configuration, sender identity, webhook health, backup result, and authorization reference. Tag the validated release only after these checks pass.
Operational baseline verified 2026-08-14
The initial production integration was verified with separately authorized, one-recipient test campaigns. The verified path is Postmark broadcast-list -> https://telemetry.example.com/postmark -> Cloudflare Tunnel -> Caddy -> Ops Monitor. Postmark accepted each test send, Ops Monitor recorded the delivery webhook, and the visible Postmark-managed unsubscribe link was verified after the template fix in commit <reviewed-commit>.
The production .env uses the Postmark REST API adapter, not SMTP. The initial test subscriber was imported with --no-welcome; no welcome email or apparent-non-opener follow-up was scheduled.
Remaining pre-list tasks are to approve real welcome copy before enabling welcome processing, import the reviewed initial subscriber list with --no-welcome, and install cron only after a separate scheduler review.