- Add a table of all 14 Gitea webhook deliveries with commits and results, and diagnose the real timed-out delivery #3 (Jenkins still queued the build two seconds later). - Redraw the deployment figure as a UML deployment diagram with <<device>>/<<container>>/<<artifact>>/<<executionEnvironment>> stereotypes; route checkout and status through Caddy. - Show the stored Jenkins URL, free disk space, and reconciled plugin counts (59 tested, 63 locked, 66 installed). - Correct wording on push rights (jenkins-bot also has Write), the resource-limit change, five corrective actions, startup timings, and the AI log's backup statement; quote the run-1 checkout. - Fix the stray tab that printed "extttStevens-Net", the stale "version 4.0" sentence, and the overflowing VPN table row; note that grader IPs are removed from .env after grading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
107 lines
6.8 KiB
TeX
107 lines
6.8 KiB
TeX
\chapter{Hosts and Passwords}
|
|
\ChapterLabel{HostsPasswords}
|
|
\sloppy
|
|
\index{hosts table}
|
|
\index{passwords table}
|
|
|
|
These tables record the startup's current hosts and where each credential is
|
|
kept. The Passwords table holds \emph{hints only}: it never contains a
|
|
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}. 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, ci.yebilly.me)}\\ \midrule
|
|
\endfirsthead
|
|
\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
|
|
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; 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}, \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}); \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://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}
|
|
\normalsize
|
|
|
|
\small
|
|
\begin{tabularx}{\linewidth}{@{}L{3.3cm}Y@{}}
|
|
\caption{Local build runner host, added October 7, 2026\label{Table:HostsRunner}}\\
|
|
\toprule \textbf{Field} & \textbf{Vincent's laptop (\texttt{ssw590-vince-local})}\\ \midrule
|
|
\endfirsthead
|
|
\toprule \textbf{Field} & \textbf{Vincent's laptop (\texttt{ssw590-vince-local})}\\ \midrule
|
|
\endhead
|
|
\bottomrule \endlastfoot
|
|
Role & Repository-scoped Gitea Actions runner; manual compilation in temporary Docker job containers\\
|
|
Environment & Windows laptop, Docker Desktop Linux engine; runner 2.3.0; capacity one job\\
|
|
Provider / owner & Local device; VS maintains Docker Desktop, runner availability, and job image\\
|
|
Network path & Outbound HTTPS to \texttt{git.yebilly.me:443} and GitHub Actions sources; Caddy forwards to private Gitea \texttt{:3000}; no public runner or Docker daemon port\\
|
|
Execution label & \texttt{latex-local}; local image \texttt{ssw590-manual-ci:20261007}\\
|
|
Persistent state & Runner registration in named Docker volume \texttt{ssw590-local-runner-data}; compiler image retained in Docker Desktop\\
|
|
Availability & Start Docker Desktop and the versioned runner helper after reboot; laptop must remain awake for jobs\\
|
|
Monitoring / backup & Runner logs and Gitea Actions checked manually; no automatic backup of runner registration configured\\
|
|
\end{tabularx}
|
|
\normalsize
|
|
|
|
\clearpage
|
|
\section{Passwords (Hints Only)}
|
|
\small
|
|
\begin{tabularx}{\linewidth}{@{}L{3.2cm}L{1.3cm}YL{2.5cm}@{}}
|
|
\caption{Passwords (hints only)\label{Table:Passwords}}\\
|
|
\toprule \textbf{Service / account} & \textbf{Owner} & \textbf{Where it is kept (hint)} & \textbf{Privilege}\\ \midrule
|
|
\endfirsthead
|
|
\toprule \textbf{Service / account} & \textbf{Owner} & \textbf{Where it is kept (hint)} & \textbf{Privilege}\\ \midrule
|
|
\endhead
|
|
\bottomrule \endlastfoot
|
|
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 and approved grader IP addresses (personal data, not a secret); grader entries are removed after grading & 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\\
|
|
Let's Encrypt ACME account & --- & Account key generated by Caddy in volume \texttt{caddy-data}; no password & Certificate issuance\\
|
|
Gitea database (SQLite) & --- & No credential; file access limited to droplet \texttt{root} & n/a\\
|
|
\end{tabularx}
|
|
\normalsize
|
|
|
|
Multi-factor authentication and rotation status have not yet been recorded for
|
|
these accounts. Some credentials also have local copies on members' devices;
|
|
moving them into the password managers is an open follow-up.
|
|
|
|
\fussy
|