Add automated LaTeX manual build workflow
Build DevOps IT Manual / Compile LaTeX PDF (push) Failing after 0s
Build DevOps IT Manual / Compile LaTeX PDF (push) Failing after 0s
This commit is contained in:
+374
@@ -0,0 +1,374 @@
|
||||
|
||||
\documentclass[11pt,oneside]{report}
|
||||
|
||||
% ============================================================
|
||||
% SSW 590 — DevOps IT Manual
|
||||
% Human-maintained version: 1.3
|
||||
% Automated build metadata is supplied by Gitea Actions.
|
||||
% ============================================================
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% 1. Document packages
|
||||
% ------------------------------------------------------------
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{geometry}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{booktabs}
|
||||
\usepackage{longtable}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{array}
|
||||
\usepackage{xcolor}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{xurl}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{enumitem}
|
||||
\usepackage{listings}
|
||||
\usepackage{makeidx}
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% 2. Page layout and colors
|
||||
% ------------------------------------------------------------
|
||||
\geometry{
|
||||
letterpaper,
|
||||
margin=0.88in,
|
||||
headheight=16pt,
|
||||
headsep=20pt
|
||||
}
|
||||
|
||||
\definecolor{navy}{RGB}{30,65,100}
|
||||
\definecolor{linkblue}{RGB}{20,85,150}
|
||||
|
||||
\hypersetup{
|
||||
colorlinks=true,
|
||||
linkcolor=linkblue,
|
||||
urlcolor=linkblue,
|
||||
citecolor=linkblue,
|
||||
pdftitle={SSW 590 DevOps IT Manual},
|
||||
pdfauthor={Nageshwaran Manikumar and Shiv Patel},
|
||||
pdfsubject={Startup Foundation with Gitea and Automated LaTeX Builds}
|
||||
}
|
||||
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt}
|
||||
\setcounter{tocdepth}{2}
|
||||
\setcounter{secnumdepth}{3}
|
||||
|
||||
\lstset{
|
||||
basicstyle=\ttfamily\footnotesize,
|
||||
breaklines=true,
|
||||
frame=single,
|
||||
columns=fullflexible,
|
||||
keepspaces=true,
|
||||
showstringspaces=false
|
||||
}
|
||||
|
||||
\makeindex
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% 3. Manual version and automated build metadata
|
||||
% ------------------------------------------------------------
|
||||
|
||||
% Updated manually when the team publishes a new revision.
|
||||
\newcommand{\ManualVersion}{1.3}
|
||||
|
||||
% Defaults for local compilation.
|
||||
% These are replaced by Gitea Actions during automated builds.
|
||||
\newcommand{\BuildIdentifier}{Local preview -- not an Actions build}
|
||||
\newcommand{\BuildCommit}{Not available}
|
||||
\newcommand{\BuildRun}{Not available}
|
||||
\newcommand{\BuildAttempt}{Not available}
|
||||
|
||||
% Generated by the workflow; never commit this file.
|
||||
\IfFileExists{build_metadata.tex}{%
|
||||
\input{build_metadata.tex}%
|
||||
}{}
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% 4. Header and footer
|
||||
% ------------------------------------------------------------
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
|
||||
\fancyhead[L]{\small SSW 590 DevOps IT Manual}
|
||||
\fancyhead[R]{\small Version \ManualVersion}
|
||||
|
||||
\fancyfoot[L]{\small Stevens Institute of Technology}
|
||||
\fancyfoot[C]{\small \thepage}
|
||||
\fancyfoot[R]{\small SSW 590}
|
||||
|
||||
\renewcommand{\headrulewidth}{0.4pt}
|
||||
\renewcommand{\footrulewidth}{0.2pt}
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% 5. Document begins
|
||||
% ------------------------------------------------------------
|
||||
\begin{document}
|
||||
|
||||
% ============================================================
|
||||
% TITLE PAGE
|
||||
% ============================================================
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
|
||||
\vspace*{1.3cm}
|
||||
|
||||
{\Large\bfseries
|
||||
Stevens Institute of Technology\par}
|
||||
|
||||
\vspace{0.4cm}
|
||||
|
||||
{\Large
|
||||
SSW 590 --- DevOps\par}
|
||||
|
||||
\vspace{1.5cm}
|
||||
|
||||
{\Huge\bfseries\color{navy}
|
||||
DevOps IT Manual\par}
|
||||
|
||||
\vspace{0.5cm}
|
||||
|
||||
{\LARGE
|
||||
Startup Foundation with Gitea\par}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
{\large
|
||||
Automated LaTeX Manual Builds with Gitea Actions\par}
|
||||
|
||||
\vspace{1.4cm}
|
||||
|
||||
{\LARGE\bfseries
|
||||
Version \ManualVersion\par}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
{\normalsize
|
||||
Build: \BuildIdentifier\par}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
{\small
|
||||
Triggering commit: \texttt{\BuildCommit}\par}
|
||||
|
||||
{\small
|
||||
Gitea Actions run: \BuildRun\par}
|
||||
|
||||
\vspace{1.3cm}
|
||||
|
||||
{\large\bfseries
|
||||
Prepared by\par}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
{\large
|
||||
Nageshwaran Manikumar\par}
|
||||
|
||||
{\large
|
||||
Shiv Patel\par}
|
||||
|
||||
\vspace{0.9cm}
|
||||
|
||||
{\large
|
||||
Instructor: Darian Muresan\par}
|
||||
|
||||
\vfill
|
||||
|
||||
{\large
|
||||
October 9, 2026\par}
|
||||
|
||||
\vspace{0.5cm}
|
||||
|
||||
{\small
|
||||
Gitea Server:\par}
|
||||
|
||||
\url{https://git.nageshwaran.dev}
|
||||
|
||||
\vspace{0.3cm}
|
||||
|
||||
{\small
|
||||
Project Repository:\par}
|
||||
|
||||
\url{https://git.nageshwaran.dev/SSW590-Startup/startup-product}
|
||||
|
||||
\end{titlepage}
|
||||
|
||||
% ============================================================
|
||||
% DOCUMENT HISTORY
|
||||
% ============================================================
|
||||
\pagenumbering{roman}
|
||||
\setcounter{page}{1}
|
||||
|
||||
\chapter*{Document History}
|
||||
\addcontentsline{toc}{chapter}{Document History}
|
||||
|
||||
This table records human-approved revisions to the DevOps IT
|
||||
Manual. Automated Gitea Actions builds retain the manual's
|
||||
human-maintained version and append a generated build
|
||||
identifier containing the workflow run number and triggering
|
||||
Git commit hash.
|
||||
|
||||
\small
|
||||
\begin{longtable}{
|
||||
p{0.19\textwidth}
|
||||
p{0.10\textwidth}
|
||||
p{0.47\textwidth}
|
||||
p{0.13\textwidth}
|
||||
}
|
||||
\toprule
|
||||
\textbf{Date / Version} &
|
||||
\textbf{Author} &
|
||||
\textbf{Description of Change} &
|
||||
\textbf{Changed At} \\
|
||||
\midrule
|
||||
\endfirsthead
|
||||
|
||||
\toprule
|
||||
\textbf{Date / Version} &
|
||||
\textbf{Author} &
|
||||
\textbf{Description of Change} &
|
||||
\textbf{Changed At} \\
|
||||
\midrule
|
||||
\endhead
|
||||
|
||||
Oct 9, 2026 / 1.3 &
|
||||
NM, SP &
|
||||
Prepared the version-controlled LaTeX manual source and
|
||||
drafted Chapter 3 documentation for automated builds,
|
||||
runner configuration, PDF traceability, artifact handling,
|
||||
and testing. Workflow execution and evidence remain
|
||||
pending verification. &
|
||||
Ch. 3; front matter \\
|
||||
|
||||
Oct 2, 2026 / 1.2 &
|
||||
NM, SP &
|
||||
Documented the Gitea startup environment, operational
|
||||
registers, SSH restrictions, team collaboration workflow,
|
||||
repository issues, and pull-request procedures. &
|
||||
Ch. 1--2 \\
|
||||
|
||||
Sep 30, 2026 / 1.1 &
|
||||
NM &
|
||||
Documented Gitea and Caddy deployment, HTTPS access,
|
||||
repository persistence, and related infrastructure
|
||||
configuration. &
|
||||
Ch. 1--2 \\
|
||||
|
||||
Sep 24, 2026 / 1.0 &
|
||||
NM &
|
||||
Established the initial DigitalOcean Droplet documentation
|
||||
and operational registers. &
|
||||
Ch. 1 \\
|
||||
|
||||
\bottomrule
|
||||
\end{longtable}
|
||||
\normalsize
|
||||
|
||||
\clearpage
|
||||
|
||||
% ============================================================
|
||||
% TABLE OF CONTENTS
|
||||
% ============================================================
|
||||
\tableofcontents
|
||||
|
||||
\clearpage
|
||||
|
||||
% ============================================================
|
||||
% MAIN MANUAL CHAPTERS
|
||||
% ============================================================
|
||||
\pagenumbering{arabic}
|
||||
\setcounter{page}{1}
|
||||
|
||||
% Chapter 1 — Operational Registers
|
||||
\input{chapters/chapter1}
|
||||
|
||||
% Chapter 2 — Startup Foundation with Gitea
|
||||
\input{chapters/chapter2}
|
||||
|
||||
% Chapter 3 — Automated LaTeX Manual Builds
|
||||
\input{chapters/chapter3}
|
||||
|
||||
% ============================================================
|
||||
% APPENDICES
|
||||
% ============================================================
|
||||
\appendix
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% Appendix A — Glossary
|
||||
% ------------------------------------------------------------
|
||||
\chapter{Glossary}
|
||||
|
||||
\begin{description}[style=nextline]
|
||||
|
||||
\item[ACME]
|
||||
Automated Certificate Management Environment,
|
||||
used by Caddy to obtain and renew TLS certificates.
|
||||
|
||||
\item[Artifact]
|
||||
A downloadable output file associated with a
|
||||
particular workflow run.
|
||||
|
||||
\item[Continuous Integration (CI)]
|
||||
Automated validation or building of source changes
|
||||
after a repository event.
|
||||
|
||||
\item[Gitea Actions]
|
||||
Gitea's workflow automation service for executing
|
||||
repository-defined jobs.
|
||||
|
||||
\item[Git Commit]
|
||||
A recorded source-code revision identified by a
|
||||
unique commit hash.
|
||||
|
||||
\item[LaTeX]
|
||||
A document preparation system used to produce
|
||||
consistently formatted technical documents.
|
||||
|
||||
\item[latexmk]
|
||||
A build automation utility that coordinates the
|
||||
compilation passes required by LaTeX documents.
|
||||
|
||||
\item[Runner]
|
||||
A registered agent that receives and executes
|
||||
Gitea Actions jobs.
|
||||
|
||||
\item[SQLite]
|
||||
An embedded relational database used by the
|
||||
documented Gitea deployment.
|
||||
|
||||
\item[TLS]
|
||||
Transport Layer Security, used to secure HTTPS
|
||||
connections.
|
||||
|
||||
\item[Workflow]
|
||||
A repository-defined sequence of automated jobs
|
||||
triggered by events such as Git pushes.
|
||||
|
||||
\end{description}
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% Appendix B — AI Assistance Record
|
||||
% ------------------------------------------------------------
|
||||
\chapter{AI Assistance Record}
|
||||
|
||||
AI assistance was used to support document structure,
|
||||
LaTeX formatting, technical drafting, and preparation
|
||||
of the automated build specification.
|
||||
|
||||
All infrastructure observations, command results,
|
||||
workflow execution outcomes, and screenshots must
|
||||
be verified against the team's actual environment.
|
||||
|
||||
Pending work is identified as pending rather than
|
||||
presented as completed testing.
|
||||
|
||||
No passwords, private keys, runner registration tokens,
|
||||
or other secret values are included in this manual.
|
||||
|
||||
% ------------------------------------------------------------
|
||||
% Index
|
||||
% ------------------------------------------------------------
|
||||
\clearpage
|
||||
\printindex
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user