Add Chapter 11 draft (Secure Delivery and Rollback)
Scrap-Web/pipeline/pr-main This commit looks good
Scrap-Web/pipeline/head This commit looks good

This commit is contained in:
2026-11-13 15:55:41 -05:00
parent 99acac3136
commit fb2bac752a
10 changed files with 520 additions and 4 deletions
+20 -1
View File
@@ -66,6 +66,17 @@ Discord webhook (Grafana contact point \texttt{team-alerts})
& Webhook URL stored only in Grafana's database; re-created from the Discord channel's Integrations $\rightarrow$ Webhooks settings\\
\hline
Deployment account (Ansible)
& deploy
& No password; SSH key stored only in Jenkins credential \texttt{deploy-ssh}\\
\hline
Gitea container registry
& Push: Jenkins credential \texttt{gitea-registry-push}; pull: root on the Droplet
& Package-write and package-read tokens; never stored in Git, logs, or screenshots\\
\hline
Jenkins delivery agent
& delivery-agent
& Agent secret in a file on the Droplet beside \texttt{agent/compose.yaml}; not in Git\\
\end{longtable}
@@ -100,7 +111,7 @@ Jenkins Web Interface & ci.ssw590-08.me & 443 & HTTPS access to Jenkins through
\hline
Jenkins Container & jenkins & 8080 & Internal Docker network web service; not published on the host \\
\hline
Jenkins Agent Port & jenkins & 50000 & Not published on the host; no separate build agent is used \\
Jenkins Agent Port & jenkins & 50000 & Not published on the host and not used; the delivery agent connects over WebSocket through port 8080 on \texttt{gitea-net} \\
\hline
Grafana Web Interface & metrics.ssw590-08.me & 443 & HTTPS access to Grafana through Caddy \\
\hline
@@ -112,4 +123,12 @@ Node Exporter Container & node-exporter & 9100 & Private, \texttt{monitoring} ne
\hline
Blackbox Exporter Container & blackbox-exporter & 9115 & Private, \texttt{monitoring} network only; HTTPS probes of Gitea and Jenkins \\
\hline
Staging Application & staging.ssw590-08.me & 443 & HTTPS access to the staging pricing service through Caddy \\
\hline
Production Application & app.ssw590-08.me & 443 & HTTPS access to the production-like pricing service through Caddy \\
\hline
Pricing Containers & pricing-staging, pricing-production & 8000 & Private, \texttt{gitea-net} only; Gunicorn; not published on the host; Compose projects under \texttt{/opt/startup/pricing-\{staging,production\}}; no data volume \\
\hline
Jenkins Delivery Agent & jenkins-agent & None & Container on \texttt{gitea-net}; runs Docker builds and Ansible; mounts the host Docker socket; state in volume \texttt{agent\_home} \\
\hline
\end{longtable}