docs: add Jenkins CI chapter and update DevOps manual to v1.4
startup-product-gitea-ci/pipeline/head This commit looks good
startup-product-gitea-ci/pipeline/pr-main This commit looks good

This commit is contained in:
2026-10-23 04:01:36 -04:00
parent e00142ae09
commit 37ce610c68
11 changed files with 834 additions and 4 deletions
+9 -3
View File
@@ -9,7 +9,7 @@
\setlength{\parskip}{4pt}\setlength{\parindent}{0pt}
\captionsetup{font=small,labelfont=bf}
\pagestyle{fancy}\fancyhf{}
\fancyhead[L]{SSW 590 DevOps IT Manual}\fancyhead[R]{Version 1.3}\fancyfoot[C]{\thepage}\fancyfoot[R]{\small Stevens Institute of Technology}
\fancyhead[L]{SSW 590 DevOps IT Manual}\fancyhead[R]{Version 1.4}\fancyfoot[C]{\thepage}\fancyfoot[R]{\small Stevens Institute of Technology}
\lstset{basicstyle=\ttfamily\footnotesize,breaklines=true,frame=single,backgroundcolor=\color{black!4},columns=fullflexible,keepspaces=true,showstringspaces=false}
\newcommand{\vok}{\textcolor{green!45!black}{\textbf{VERIFIED}}}
\newcommand{\vpart}{\textcolor{orange!85!black}{\textbf{PARTIAL}}}
@@ -29,10 +29,10 @@
{\Large SSW 590 --- DevOps\par}\vspace{1cm}
{\Huge\bfseries DevOps IT Manual\par}\vspace{.4cm}
{\LARGE Startup Foundation with Gitea\par}\vspace{1.2cm}
{\large Version 1.3\par}{\large Student Edition\par}\vspace{1.5cm}
{\large Version 1.4\par}{\large Student Edition\par}\vspace{1.5cm}
{\large Nageshwaran Manikumar and Shiv Patel\par}\vspace{.6cm}
Instructor: Darian Muresan\par Stevens Institute of Technology\par\vspace{.6cm}
October 9, 2026\par\vspace{1.5cm}
October 23, 2026\par\vspace{1.5cm}
\textbf{Gitea:} \url{https://git.nageshwaran.dev}\par
\textbf{Product repository:} \url{https://git.nageshwaran.dev/SSW590-Startup/startup-product}\par
\textbf{Build identifier:} \BuildIdentifier\par
@@ -50,6 +50,7 @@ Newest entry first. Entries 1.0 and 1.1 are reconstructed from the timestamps on
\begin{tabularx}{\linewidth}{@{}p{1.9cm}p{1.1cm}p{1.5cm}Y p{2.4cm}@{}}
\toprule
Date / Ver. & Author & Change & Details & Changed at\\\midrule
Oct 23, 2026 / 1.4 & NM, SP & Jenkins CI integration & Documented Jenkins deployment, persistent storage, HTTPS reverse proxy, Gitea webhooks, version-controlled pipeline, automated tests, failed and recovered builds, required status checks, reviewer approval, and merge verification. Added eight screenshot figures. & Ch.~4 \\ \addlinespace
Oct 9, 2026 / 1.3 & NM, SP & Gitea Actions automation & Added external Mac runner, pinned TeX Live/Node image, build metadata, PDF artifact, two successful source changes and failure/repair evidence. \textbf{Hosts and Passwords tables updated} with runner and secret-handling information. & Ch.~1, Ch.~3 \\\addlinespace
Oct 2, 2026 / 1.2 & NM, SP & Gitea chapter completed & Added all eight Gitea subsections; SSH restricted to one approved source IP in the Cloud Firewall; organization, repository, five issues and two reviewed/merged pull requests documented. \textbf{Hosts table and Passwords table updated} (firewall rule, Gitea accounts, 2FA status). & Ch.~1, Ch.~2 \\\addlinespace
Sep 30, 2026 / 1.1 & NM & Gitea first deployment & Gitea 1.27.3-rootless and Caddy 2.10.2 deployed with Docker Compose; hostname \texttt{git.nageshwaran.dev}; Let's Encrypt certificate; persistence test. \textbf{Hosts table updated.} & Ch.~1, \S\ref{sec:deploy}--\ref{sec:https} \\\addlinespace
@@ -69,6 +70,7 @@ Hostname & Role / env. & Provider / address & Exposed ports & Owner & HTTPS URL
\texttt{ubuntu-s-1vcpu-\allowbreak512mb-\allowbreak10gb-nyc1} (Droplet) & Docker host, admin & DigitalOcean; public 143.244.173.110, private 10.10.0.5; 1 vCPU / 512 MB / 10 GB; Ubuntu 24.04.4 & 22/tcp only from 174.167.120.67/32 (Cloud Firewall \texttt{ssw590-gitea-firewall}) & NM & n/a & DO Droplet backups not enabled (not evidenced)\\\addlinespace
\texttt{gitea}, \texttt{caddy} (containers) & Internal services & Docker network \texttt{gitea\_internal} & None published except Caddy 80/443; Gitea 3000 and 2222 internal only & NM & n/a & n/a\\
\addlinespace
\texttt{ci.nageshwaran.dev} & Jenkins CI service, production (class) & DigitalOcean NYC1; 143.244.173.110 & HTTPS through Caddy on 443/tcp; Jenkins 8080 bound to \texttt{127.0.0.1} on host & NM & \url{https://ci.nageshwaran.dev} & Persistent \texttt{/opt/jenkins/jenkins\_home}; no verified off-host backup or monitoring \\ \addlinespace
\texttt{macbook-latex-runner} & Repository-scoped Actions runner & Team Mac, Apple Silicon, Colima Docker engine & No inbound public runner port; outbound HTTPS to Gitea & NM & \url{https://git.nageshwaran.dev} & Local runner, availability depends on Mac \\
\bottomrule\end{tabularx}\end{center}
@@ -85,6 +87,8 @@ DigitalOcean account & NM & Account password in owner's password manager. & Acco
Domain registrar account & NM & Account password in owner's password manager. & Domain owner & MFA status not evidenced\\
Let's Encrypt / Caddy ACME account & NM & No human password; account key stored in \texttt{caddy\_data} volume on the Droplet. & n/a & Managed by Caddy\\
\addlinespace
Jenkins administrator & NM & Administrator credential managed outside the repository and report. & Jenkins administration & MFA and rotation not evidenced \\
Jenkins Gitea API integration & NM & Jenkins credential ID \texttt{ssw590-gitea-token}; token value excluded. & Gitea API integration & Rotate if exposed; rotation not verified \\ \addlinespace
Gitea runner registration & NM & Token and runner credential file stored outside repository; local \texttt{\string~/gitea-runner/.runner} has restricted permissions & Repository runner & Rotate token if exposed; never print credentials \\
\bottomrule\end{tabularx}\end{center}
@@ -427,6 +431,8 @@ The runner credential file remains on the Mac outside Git and has restricted per
\section{Manual Quality and Controls}
The earlier Gitea deployment and screenshot evidence remain in Chapters 1--2. Chapter 3 documents the runner, compilation, version traceability, artifact and controlled failure/repair. The latest document history entry explicitly records the Hosts and Passwords table changes. Evidence links are provided above; dated screenshots of the runner page, run logs, artifact listing and final PDF cover should be added before final submission. The final submission must be the artifact from the final successful Actions run, and the title-page run identity must match that run.
\input{chapters/chapter4}
\appendix
\chapter{Glossary}
\begin{description}[nosep]