Operations: deployment- en monitoringdocumentatie voor andreaslop-site-hosting

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 00:17:09 +01:00
co-authored by Claude Sonnet 5.5
parent e37b8f3cf9
commit e44cf493f6
10 changed files with 198 additions and 2 deletions
@@ -0,0 +1,8 @@
# Deployment Plan - andreaslop-site-hosting (test only)
- **Method**: CI/CD pipeline (Gitea Actions) to an on-premises Pi, as decided in U2 Infrastructure Design (answers: all A).
- **Environment**: test only, `https://test.andreaslop.nl`. Production for Andrea Slop Fotografie is a separate later decision (`Website__NoIndex=false`, own database, port 5201, own route) and not part of this feature.
- **Why this shape**: it reuses the proven SlpSoftware path (`deploy-scp.yaml`: timestamped release, atomic `current` switch, restart, public `/health` check, prune to two releases) without touching it. ASF has its own jobs behind one switch, `ASF_TEST_DEPLOY_ENABLED`.
- **Triggers**: push to master, or manual run with "Deploy ASF test" ticked; both only when the switch variable is `true`.
- **Secrets**: Gitea secrets `PI_MAIN_*` (existing) and the Pi file `shared/env` (mode 600). Nothing secret is committed. No approval gate for test.
- **Sources of truth**: `construction/andreaslop-client/infrastructure-design/{infrastructure-design,deployment-architecture,manual-steps-for-bryan}.md`.