Document Assignment 6 Jenkins CI in the manual (refs #14)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good

Add the Continuous Integration with Jenkins chapter in the eight rubric
sections: deployment and persistence (capacity test, memory-limit fix,
restart test), HTTPS/access/firewall with IPv4 and IPv6 exposure checks,
webhook traceability with an actual deployment diagram, pipeline stages,
the required pr-main merge gate, PR #15's failure/repair/review/merge
sequence, credentials and controller build boundary, and controls.

Update the Hosts and Passwords tables (1 GiB resize, Jenkins and
ci.yebilly.me, jenkins-bot account and token hints), the title page,
abstract, Document History, glossary, and AI prompt log (including
Vincent's prepared Oct 19-21 record). Note that Assignment 5's PR #13
merged.

Also version pipeline-graph-view and its dependencies in the Jenkins
plugin lockfile, and add Vincent's source-only ci/jenkins-capacity test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 21:20:31 -04:00
co-authored by Claude Opus 5.5
parent 420ba4c56b
commit 1149e9fbc3
32 changed files with 1889 additions and 27 deletions
+31 -14
View File
@@ -10,33 +10,44 @@ password, token, recovery code, or private key. Distinct services use distinct
credentials, which are stored outside this manual and outside every
repository. Both tables were created on 28 September 2026 for Assignment 4
(\ChapterRef{GiteaFoundation}). The local runner host and its identity hint
were added on October 7, 2026 for \ChapterRef{AutomatedManualBuild}.
were added on October 7, 2026 for \ChapterRef{AutomatedManualBuild}. On
October 22--23, 2026 (\ChapterRef{JenkinsCI}) the droplet record was updated
for the 1\,GiB resize, the Jenkins service, and \texttt{ci.yebilly.me}; the
Color Buttons app was marked retired; and the Passwords table gained the
Jenkins administrators, the \texttt{jenkins-bot} Gitea account, and its token.
\section{Hosts}
\small
\begin{tabularx}{\linewidth}{@{}L{3.3cm}Y@{}}
\caption{Hosts\label{Table:Hosts}}\\
\toprule \textbf{Field} & \textbf{Droplet The-Ocean (git.yebilly.me, colors.yebilly.me)}\\ \midrule
\toprule \textbf{Field} & \textbf{Droplet The-Ocean (git.yebilly.me, ci.yebilly.me)}\\ \midrule
\endfirsthead
\toprule \textbf{Field} & \textbf{Droplet The-Ocean (git.yebilly.me, colors.yebilly.me)}\\ \midrule
\toprule \textbf{Field} & \textbf{Droplet The-Ocean (git.yebilly.me, ci.yebilly.me)}\\ \midrule
\endhead
\bottomrule \endlastfoot
Role & Gitea work hub (Gitea 1.27.3 behind Caddy 2.11.4 TLS proxy); since
29 Sep 2026 also the Assignment 3 Color Buttons site\\
22 Oct 2026 also the Jenkins 2.580.1 LTS controller, which runs the CI builds.
The Assignment 3 Color Buttons app (29 Sep 2026) is retired: container
stopped with restart policy \texttt{no}; its Caddy route remains\\
Environment & Course production (team use)\\
Provider & DigitalOcean, NYC1; Ubuntu 24.04 LTS; 1 vCPU, 512\,MB RAM, 10\,GB disk\\
Provider & DigitalOcean, NYC1; Ubuntu 24.04 LTS; 1 vCPU; resized from
512\,MB to the 1\,GiB Basic plan in October 2026 (961\,MiB reported, 25\,GB
plan disk, 1\,GiB swap file)\\
Public address / DNS & IPv4 \texttt{147.182.178.136}; \texttt{A} records
\texttt{git.yebilly.me} and \texttt{colors.yebilly.me}; public IPv6 assigned
but not published in DNS\\
Private services & Gitea \texttt{:3000} and \texttt{color-buttons-app}
\texttt{:3000} (96\,MiB memory cap) on Docker network \texttt{gitea\_web}, no
host ports; SQLite file in volume \texttt{gitea\_gitea-data}\\
\texttt{git}, \texttt{ci}, and \texttt{colors} \texttt{.yebilly.me}; public
IPv6 \texttt{2604:a880:400:d1:0:5:22d:6001} assigned but not published in DNS\\
Private services & Gitea \texttt{:3000} and Jenkins \texttt{:8080} (512\,MiB
RAM, 0.75 CPU cap; agent port disabled) on Docker network \texttt{gitea\_web},
no host ports; SQLite file in volume \texttt{gitea\_gitea-data}; Jenkins state
in volume \texttt{gitea\_jenkins-home}\\
Exposed ports & 443/TCP and 80/TCP to all; 22/TCP to approved team addresses only
(Cloud Firewall \texttt{gitea-fw})\\
(Cloud Firewall \texttt{gitea-fw}); \texttt{ci.yebilly.me} answers only
Stevens 155.246.0.0/16 and team addresses (Caddy allowlist), 403 otherwise\\
Owner & BY (server administration); VS (review)\\
HTTPS URLs & \url{https://git.yebilly.me}, \url{https://colors.yebilly.me}\\
Backup status & No backup job; container-replacement persistence verified only
(\ChapterRef{GiteaFoundation})\\
HTTPS URLs & \url{https://git.yebilly.me}, \url{https://ci.yebilly.me/login}\\
Backup status & No backup job; container-replacement persistence verified for
Gitea (\ChapterRef{GiteaFoundation}) and restart persistence for Jenkins
(\ChapterRef{JenkinsCI}) only\\
Monitoring status & No alerting configured; checked manually with
\texttt{docker compose ps}, \texttt{docker stats}, and logs\\
\end{tabularx}
@@ -74,6 +85,12 @@ Monitoring / backup & Runner logs and Gitea Actions checked manually; no automat
Gitea local runner identity & VS & Docker volume \texttt{ssw590-local-runner-data}, file \texttt{/data/.runner}; generated identity, no values in Git; registration token supplied privately from repository settings & Repository runner; Docker control on VS laptop\\
Gitea \texttt{bill} & BY & BY's password manager & Site administrator\\
Gitea \texttt{vsun1} & VS & VS's password manager & Repository administrator\\
Gitea \texttt{jenkins-bot} (added 22 Oct 2026) & BY & BY's password manager; used only to create its token & Write collaborator on \texttt{vpn-dns-gateway}\\
\texttt{jenkins-bot} token \texttt{jenkins-ci} & BY & Jenkins credential ID \texttt{gitea-jenkins-bot} (System, Global), encrypted in volume \texttt{gitea\_jenkins-home}; revoke under the bot's Gitea Applications settings & Repository read/write; organization and user read\\
Jenkins \texttt{billy} & BY & BY's password manager & Administer (all)\\
Jenkins \texttt{vsun1} & VS & VS's password manager & Administer (all)\\
Jenkins initial admin password & --- & One-time setup secret in \texttt{/var/jenkins\_home/secrets/}; read once by BY, superseded by named accounts & Setup only\\
CI allowlist \texttt{.env} & BY & \texttt{\textasciitilde/gitea/.env} on the droplet, root-only; holds team IP addresses (personal data, not a secret) & n/a\\
DigitalOcean team & BY, VS & Each member's own login, in their password manager & Team member\\
Namecheap (\texttt{yebilly.me}) & BY & BY's password manager & Domain owner\\
Droplet \texttt{root} SSH & BY & Key-based only; private key \texttt{digiOcean} on BY's laptop; no password login & Root\\