Add DevOps IT manual LaTeX source

This commit is contained in:
2026-10-08 23:35:08 -04:00
parent 6f76e53e5d
commit a3c8a88b1f
44 changed files with 4740 additions and 0 deletions
+83
View File
@@ -0,0 +1,83 @@
\chapter{Project Proposal}
\ChapterLabel{ProjectProposal}
\section{Project Title}
GitHub Actions vs.\ GitLab CI/CD: A Containerized Deployment Pipeline for
the Scrap Companion Website
\section{Project Description}
This project reuses the companion marketing website from the Scrap senior
design project as the subject of a DevOps-focused technology
comparison.
The goal is to master \textbf{GitHub Actions} as the primary DevOps
technology by building a complete CI/CD pipeline for the website (lint
$\rightarrow$ build $\rightarrow$ containerize with Docker $\rightarrow$
push to a registry $\rightarrow$ deploy to a DigitalOcean droplet), and to
build the identical pipeline a second time in \textbf{GitLab CI/CD} to
produce a direct, evidence-based comparison between the two platforms
rather than a purely theoretical one.
\section{Sample Tasks and DevSecOps Tools}
\begin{description}
\item[Source control:] GitHub (existing Scrap repository, or a dedicated
branch/subdirectory for the companion website) -- also mirrored to
GitLab to support the GitLab CI/CD comparison.
\item[Application under DevOps management:] The Scrap companion website
only
\item[Testing:] Basic build/lint checks (e.g.\ \texttt{next lint},
a production build step that fails the pipeline on build errors) run
as a required step in both pipelines before any deploy step is
allowed to proceed.
\item[Containerization:] Docker, with a \texttt{Dockerfile} that builds
the static site and serves it (e.g.\ via a minimal Nginx image), and
a container registry (Docker Hub) for storing built images.
\item[CI/CD (comparison pair):] GitHub Actions and GitLab CI/CD,
each independently running the same lint/build/containerize/push/deploy
sequence against the same website source.
\item[Deployment / hosting environment:] The same DigitalOcean Droplet
already set up for this course's Digital Ocean Docker Deployment
chapter, running the containerized website.
\item[Secrets management:] Environment variables / CI secret stores
(GitHub Actions secrets, GitLab CI/CD variables) for registry
credentials and deployment keys -- no credentials committed to source
control.
\item[Monitoring / dashboard (stretch goal):] A lightweight dashboard
reflecting operational aspects of the website deployment -- e.g.\ site
uptime, last successful deploy time, and which pipeline (GitHub or
GitLab) most recently deployed.
\end{description}
\section{Planned Comparison Criteria}
Once both pipelines are functional, we plan to compare GitHub Actions and
GitLab CI/CD across the following dimensions, to be developed further into
the SWOT analysis required by the project rubric:
\begin{itemize}
\item \textbf{Security:} secret handling, permission scoping, supply-chain
considerations (e.g.\ third-party action/step trust).
\item \textbf{Development experience:} pipeline syntax, debuggability,
local testing options.
\item \textbf{Hosting/deployment integration:} ease of deploying to
DigitalOcean from each platform.
\item \textbf{Monitoring/observability:} built-in run history, logging,
and notification options.
\item \textbf{Testing integration:} how each tool surfaces lint/build
results and gates deployment on success.
\item \textbf{Operations:} cost (free-tier limits), setup friction, and
day-to-day maintenance.
\end{itemize}
\section{Unique Contribution}
Unlike a purpose-built toy example created solely to satisfy this
assignment, the subject of this project is a website with a real
deployment need -- it is the companion site for an active senior design
product (Scrap) that will need to go live regardless of this course. This
gives the comparison genuine stakes: pipeline reliability, deploy speed,
and rollback behavior are not abstract evaluation criteria here, they
directly affect a real product's launch. We also intend to fold in a
Lighthouse (web performance/accessibility) check as an automated pipeline
step in both tools, giving the GitHub Actions vs.\ GitLab CI/CD comparison
a concrete, non-security dimension -- not just "did it deploy," but "how
good was the site once it did."