Files
myfileagent-pipeline/documentation/main.tex
Codex (authorized Assignment 5 implementation) ced96c8a2b
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/pr-main This commit looks good
Document Assignment 7 SRE deployment, reliability evidence, and Grafana registry
2026-10-28 18:38:41 +00:00

185 lines
6.6 KiB
TeX

% !TeX program = pdflatex
% Authoritative top-level Overleaf document. Select main.tex as Main document.
% SSW 590 DevOps Assignment Template
% Developed by Darian Muresan, Ph.D., with OpenAI Codex and Anthropic Claude Code.
% AI agents: read devopsAIAgentGuide.tex before editing this template.
\documentclass[12pt]{cornell}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{xspace}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{amsmath,amssymb}
\usepackage{array}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{ltablex}
\usepackage{float}
\usepackage{placeins}
\keepXColumns
\usepackage{enumitem}
\usepackage{listings}
\usepackage[newfloat]{minted}
\usepackage{tcolorbox}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,positioning,shapes.geometric}
\usepackage{makeidx}
\usepackage[acronym]{glossaries}
\usepackage{titlesec}
\usepackage{xurl}
\usepackage[colorlinks=true,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
\makeindex
\makeglossaries
\newglossaryentry{bash}{name={Bash},description={The shell used to execute the problem-set commands and shell scripts}}
\newglossaryentry{permissions}{name={file permissions},description={Access settings that control whether users may read, write, or execute a file or directory}}
\newglossaryentry{symboliclink}{name={symbolic link},description={A filesystem entry that points to another pathname}}
\newglossaryentry{process}{name={process},description={A running instance of a program identified by a process ID}}
\newglossaryentry{archive}{name={archive},description={A file containing stored filesystem entries; this assignment uses a gzipped tar archive}}
\newglossaryentry{environmentvariable}{name={environment variable},description={A named value maintained by the shell and inherited by processes it starts}}
\definecolor{devopsBlue}{RGB}{31,78,121}
\definecolor{devopsGreen}{RGB}{46,125,50}
\definecolor{devopsRed}{RGB}{183,28,28}
\definecolor{devopsGray}{RGB}{90,90,90}
\definecolor{devopsLightBlue}{RGB}{232,240,247}
% Replace these values for each assignment.
\newcommand{\AssignmentTitle}{Introduction to SRE: Monitoring and Reliability}
\newcommand{\AssignmentNumber}{7}
\newcommand{\DocumentVersion}{1.9.0}
\newcommand{\DocumentStatus}{Source Draft -- Compilation Deferred}
\newcommand{\CourseNumber}{SSW 590}
\newcommand{\CourseName}{DevOps Principles and Practices}
\newcommand{\Instructor}{Darian Muresan}
\newcommand{\StudentNames}{Nicholas Kogut\\Gowri Das Lovely}
\newcommand{\PDFAuthors}{Nicholas Kogut and Gowri Das Lovely}
\newcommand{\Organization}{Stevens Institute of Technology}
\newcommand{\DocumentDate}{October 28, 2026}
\newcommand{\DueDate}{Not specified}
% Generated only in the build workspace; never committed by the workflow.
\newcommand{\BuildSuffix}{+local.unverified}
\newcommand{\BuildCommit}{Not built by Gitea Actions}
\newcommand{\BuildRun}{Not assigned}
\newcommand{\BuildRunURL}{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions}
\InputIfFileExists{build-metadata.tex}{}{}
\newcommand{\VERSION}{Version \DocumentVersion\BuildSuffix}
\hypersetup{
pdftitle={\CourseNumber\ --- Assignment \AssignmentNumber: \AssignmentTitle},
pdfauthor={\PDFAuthors},
pdfcreator={Darian Muresan, Ph.D., with OpenAI Codex and Anthropic Claude Code},
pdfsubject={SSW 590 Assignment 7 SRE monitoring and reliability},
pdfkeywords={DevOps, SRE, Prometheus, Grafana, alerts, SLI, SLO, incident, Jenkins}
}
\newcolumntype{Y}{>{\raggedright\arraybackslash}X}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
\setlength{\tabcolsep}{4pt}
\renewcommand{\arraystretch}{1.12}
\setlength{\LTpre}{6pt}
\setlength{\LTpost}{6pt}
% Stable IDs make activity, evidence, and artifact references durable.
\newcommand{\ArtifactLabel}[2]{\phantomsection\label{#1:#2}}
\newcommand{\ArtifactID}[2]{\texttt{#2}\ArtifactLabel{#1}{#2}\index{#1!#2}}
\newcommand{\ArtifactRef}[2]{\hyperref[#1:#2]{\texttt{#2}}}
\newcommand{\ActivityID}[1]{\ArtifactID{Activity}{#1}}
\newcommand{\ActivityRef}[1]{\ArtifactRef{Activity}{#1}}
\newcommand{\EvidenceID}[1]{\ArtifactID{Evidence}{#1}}
\newcommand{\EvidenceRef}[1]{\ArtifactRef{Evidence}{#1}}
\newcommand{\ChapterLabel}[1]{\label{Chapter:#1}}
\newcommand{\ChapterRef}[1]{\hyperref[Chapter:#1]{Chapter~\ref*{Chapter:#1}}}
\newcommand{\AppendixRef}[1]{\hyperref[Chapter:#1]{Appendix~\ref*{Chapter:#1}}}
\newcommand{\StatusPass}{\textbf{\footnotesize\textcolor{devopsGreen}{PASS}}}
\newcommand{\StatusPending}{\textbf{\footnotesize\textcolor{devopsGray}{PENDING}}}
\newcommand{\StatusFail}{\textbf{\footnotesize\textcolor{devopsRed}{FAIL}}}
\newtcolorbox{devopsNote}[1][]{
colback=devopsLightBlue, colframe=devopsBlue, boxrule=0.6pt, arc=1mm, title=#1
}
\lstset{
backgroundcolor=\color{white}, basicstyle=\ttfamily\footnotesize,
breaklines=true, frame=single, keywordstyle=\color{blue},
commentstyle=\color{devopsGreen}, numbers=left, numbersep=6pt,
numberstyle=\tiny\color{devopsGray}, showstringspaces=false,
stringstyle=\color{devopsRed}, tabsize=2
}
\setminted{
fontsize=\footnotesize,
breaklines=true,
frame=single,
framesep=2mm,
linenos=true,
numbersep=6pt,
tabsize=2
}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{8pt}{\Huge}
\titlespacing*{\chapter}{0pt}{-20pt}{24pt}
\setlength{\emergencystretch}{2em}
\changenormalspacing{\singlespacing}
\begin{document}
\pagenumbering{roman}
\singlespacing
\include{prologue}
\setcounter{page}{1}
\pagenumbering{arabic}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\lhead{\small Assignment \AssignmentNumber}
\chead{\small\nouppercase{\leftmark}}
\rhead{\small\thepage}
\lfoot{\small\CourseNumber}
\cfoot{\small\copyright\ \Organization}
\rfoot{\scriptsize Version \DocumentVersion\\Run \BuildRun}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\include{devopsIntroduction}
\include{devopsLinuxCommands}
\include{devopsLinuxProblemSet}
\include{devopsHosts}
\include{devopsPasswords}
\include{devopsDigitalOceanDockerDeployment}
\include{devopsLatexDocker}
\include{devopsProjectProposal}
\include{devopsGiteaStartupFoundation}
\include{devopsAutomatedManualBuild}
\include{devopsJenkinsContinuousIntegration}
\include{devopsSREMonitoringReliability}
\bibliographystyle{IEEEtran}
\bibliography{devopsReferences}
\appendix
\include{devopsAIPromptLog}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Glossary}
\input{devopsGlossary.tex}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Acronyms}
\input{devopsAcronyms.tex}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\small
\printindex
\normalsize
\end{document}