Build the complete Assignment 5 manual on trusted branch pushes
Assignment 5 manual PDF / manual (push) Successful in 47s

This commit is contained in:
Codex (authorized Assignment 5 implementation)
2026-10-07 01:27:17 +00:00
parent fa9a32f8a9
commit c74087a93b
49 changed files with 6160 additions and 0 deletions
+86
View File
@@ -0,0 +1,86 @@
\chapter{Introduction}
\ChapterLabel{Introduction}
\index{introduction}
\index{Linux}
\index{Docker}
\index{DigitalOcean}
\index{LaTeX}
\section{Assignment Purpose}
This report records the team's developing DevOps environment and the work
completed through Assignment 4, together with the Assignment 5 automated
manual-build work described in \ChapterRef{AutomatedManualBuild}. The earlier chapters establish Linux
\phantomsection\label{GlossaryRef:bash}Bash command-line skills, the Ubuntu working environment, host configuration, and
password-management concepts. The current assignment extends that foundation
by deploying Docker Engine on a DigitalOcean Droplet, containerizing two Node.js
websites, redesigning the two-button website with class-based JavaScript, and
using a TeX Live container to compile a simple LaTeX document. The report also
proposes the MyFileAgent Pipeline, a Python-based DevSecOps project centered on a
one-click workflow that installs dependencies, configures the environment,
builds containers, runs tests and security checks, deploys to DigitalOcean, and
verifies and monitors the result. A deliberately limited LLM file-replacement
task serves only as the pipeline's working demonstration. Assignment 4 adds a
version-pinned Gitea service with SQLite persistence, a Student Pack domain,
Caddy-managed HTTPS, a DigitalOcean Cloud Firewall, and a verified two-member
repository workflow.
\section{Team and Environment}
The work was completed by Nicholas Kogut and Gowri Das Lovely. The execution
environment is an Ubuntu Linux Droplet hosted on DigitalOcean, accessed remotely
with PuTTY. Docker provides the repeatable application environments used for
the Node.js and LaTeX workflows. Assignment 5 moves the complete report source into the team Gitea repository
and targets Gitea Actions for the submission PDF; operational verification is
recorded in \ChapterRef{AutomatedManualBuild}.
Authentication secrets, passwords, and private keys are not included in this
report.
\section{Assignment Requirements}
The retained earlier assignments required the team to:
\begin{enumerate}[label=\arabic*.]
\item create a DigitalOcean Droplet, install Docker Engine on Ubuntu, and
document the deployment commands and website links using minted LaTeX;
\item deploy the Hello World and two-button Node.js websites in Docker
containers;
\item replace the two-button page's direct JavaScript handlers with a reusable
class-based design and present its UML class diagram;
\item create and document a TeX Live Docker container that compiles a simple
LaTeX document into a \phantomsection\label{AcronymRef:PDF}PDF; and
\item propose a one-click DevSecOps pipeline, a minimal working demonstration,
its DigitalOcean environment, Python toolchain, Grafana monitoring,
comparison plan, testing strategy, and security controls.
\item establish the MyFileAgent startup foundation with pinned Gitea,
persistent SQLite storage, a two-member issue and pull-request
workflow, a Student Pack domain, HTTPS, and controlled external
exposure.
\end{enumerate}
\paragraph{Assignment 5 scope.}
Implement Chapter 3 of the instruction PDF, \texttt{dosManual-V1.18.pdf}:
version the full manual source, configure a self-managed Gitea runner, build
on source pushes, embed commit/run identity, publish a PDF artifact, and
record two successful source changes plus a controlled compile failure and
repair. Chapter 4 of the instruction PDF is outside the current scope.
\section{Report Organization}
\ChapterRef{LinuxCommands} and \ChapterRef{LinuxProblemSet} retain the Linux
environment setup, command record, questions, solutions, and observed outputs.
\ChapterRef{Hosts} and \ChapterRef{Passwords} document the related host and
credential-management exercises. \ChapterRef{DigitalOceanDockerDeployment}
records the Droplet, Docker installation, Node.js deployments, class-based
JavaScript, and UML class diagram. \ChapterRef{LatexDocker} presents the TeX Live
container, sample source, build commands, and verification procedure.
\ChapterRef{ProjectProposal} describes the MyFileAgent Pipeline, its one-click
workflow, Python demonstration, tests, security gates, deployment,
Grafana-based observability, comparison strategy, and delivery plan.
\ChapterRef{GiteaStartupFoundation} records the verified Gitea foundation and
its domain, HTTPS, persistence, firewall, workflow, architecture, and operating
evidence.
\AppendixRef{AIPromptLog} records material \phantomsection\label{AcronymRef:AI}AI
assistance used to organize, author, and review the report.
\section{Submission and Verification}
Assignment 4 evidence is retained as a historical record. Assignment 5 is
complete only after the runner, workflow, versioned artifacts, and failure/repair
exercise are verified. Submit only the PDF downloaded from the final successful
Gitea Actions run after visual and navigation checks; a local draft is not the
final submission. Current status appears in \ChapterRef{AutomatedManualBuild}.