diff --git a/ci/manual/README.md b/ci/manual/README.md index 32056b1..f2ea1c4 100644 --- a/ci/manual/README.md +++ b/ci/manual/README.md @@ -85,5 +85,8 @@ controlled failure and repair. Keep tokens and account settings out of shots. Run 2 subsequently passed for `0ca3beb` with PDF/ZIP/checksum verification. Run 3 (`1d2822f`) demonstrated the intentional compiler failure, skipped PDF -upload, and retained diagnostics. The repaired source is prepared; the passing -repair workflow still needs to be captured and verified. +upload, and retained diagnostics. Repair run 4 then passed for `b68425b`; +its PDF displays `3.3+build.4.b68425b` and was verified against its artifact +ZIP and diagnostic checksum. The manual now records this complete sequence. +The final evidence update must be pushed and its successful workflow PDF +reviewed before submission. diff --git a/manual/README.md b/manual/README.md index d66cc93..c1a9ab1 100644 --- a/manual/README.md +++ b/manual/README.md @@ -27,8 +27,11 @@ PDF displays `3.2+build.2.0ca3beb` and matches the artifact ZIP and checksum. Run 3 (`1d2822f`) then failed for the intended LaTeX error; its diagnostics confirm compiler exit code 1 and the UI shows no PDF upload. -The current source removes that error and uses human version 3.3. The chapter -includes the two successful builds, controlled failure, online runner, and -current runner Hosts/Passwords hints. The passing repair workflow, its evidence, -and final submission artifact review remain pending. Actions appends the actual -run number and triggering short commit without committing metadata back. +Run 4 passed after the repair push `b68425b`. Its 113-page PDF displays +`3.3+build.4.b68425b`, matches its artifact ZIP byte-for-byte, and matches +the diagnostic checksum. The source now uses human version 3.4 and records +the two source-change successes, controlled failure, and successful repair, +with the supplied screenshots. Runner Hosts/Passwords hints remain current. +Final workflow PDF review, group PR review/merge, issue #12 closure, and +submission remain pending. Actions appends the actual run number and +triggering short commit without committing metadata back. diff --git a/manual/latex/abstract.tex b/manual/latex/abstract.tex index 06de013..5867dfd 100644 --- a/manual/latex/abstract.tex +++ b/manual/latex/abstract.tex @@ -1,5 +1,9 @@ -This assignment guides students through a reproducible DevOps activity. It -defines the learning objectives, environment boundary, workflow, evidence, -reflection, and submission criteria. Replace bracketed text with assignment- -specific facts before release. Students should be able to recreate the work -from the submitted automation and runbook rather than from undocumented manual steps. +This group document records the SSW 590 coursework and its supporting +commands, designs, and evidence. Assignment 5 automates compilation of the +LaTeX manual through Gitea Actions, using a repository-scoped Docker runner +on Vincent's laptop while Gitea remains on the DigitalOcean droplet. The +workflow checks out the triggering revision, compiles with a recorded TeX +Live toolchain, adds run and commit identifiers to the PDF version, and +uploads the PDF and build diagnostics. Two successful source-change runs, +an intentional compiler failure, and a successful repair demonstrate the +workflow. Earlier chapters retain the group's prior assignment results. diff --git a/manual/latex/devopsAIPromptLog.tex b/manual/latex/devopsAIPromptLog.tex index a00db72..fa8b6bb 100644 --- a/manual/latex/devopsAIPromptLog.tex +++ b/manual/latex/devopsAIPromptLog.tex @@ -496,3 +496,28 @@ push was performed by Codex. Remaining work: the actual passing repair run, its screenshots and artifact checks, final document review, and submission of a PDF downloaded from a successful workflow. Branch review/merge and issue \#12 closure remain group workflow steps after verification. + + +\section{Assignment 5 Successful Repair Evidence} +Date: October 7, 2026; Tool: OpenAI Codex. Input: Vincent reported that the +repair screenshots were saved and asked for the next step. Supplied evidence: +\texttt{gitea-actions-repair-success.png}, +\texttt{gitea-runner-pdf-repair.png}, and both run-4 artifact ZIPs. +Verified output: the student pushed \texttt{b68425b}; run 4 passed, and its +113-page PDF displays \texttt{3.3+build.4.b68425b}. The PDF extracted by +the student matches its artifact ZIP byte-for-byte and the SHA-256 in the +diagnostic artifact; the recorded revision matches the local committed +revision. HTTPS checks after the repair returned HTTP 200 from Gitea and +Color Buttons, with their expected page titles; no load test was performed. +Original screenshots and downloads were preserved. + +Outputs used: added the run-4 traceability row, workflow and PDF screenshots, +artifact checksum and repair result; updated the report to human version +3.4, both status READMEs, Document History, and this record. Replaced the +abstract's generic template instructions with an Assignment 5 summary. +Hosts and Passwords records remain as updated in version 3.3. Complete local +compilation and visual review are required before handoff; they do not +replace review of the final workflow-generated PDF. No commit, push, +merge, issue closure, or submission was performed by Codex. Final evidence +update push, successful artifact review, group pull-request review/merge, +issue \#12 closure, and submission remain human workflow steps. diff --git a/manual/latex/devopsAssignment.tex b/manual/latex/devopsAssignment.tex index d5ea6d2..1a6f270 100644 --- a/manual/latex/devopsAssignment.tex +++ b/manual/latex/devopsAssignment.tex @@ -36,7 +36,7 @@ % Replace these values for each assignment. \newcommand{\AssignmentTitle}{LaTeX Auto-Compilation with Gitea -- Group} \newcommand{\AssignmentNumber}{5} -\newcommand{\DocumentVersion}{3.3} +\newcommand{\DocumentVersion}{3.4} \newcommand{\DocumentStatus}{Draft} \newcommand{\CourseNumber}{SSW 590} \newcommand{\CourseName}{DevOps} diff --git a/manual/latex/devopsAutomatedManualBuild.tex b/manual/latex/devopsAutomatedManualBuild.tex index 9cf3fcf..4f26414 100644 --- a/manual/latex/devopsAutomatedManualBuild.tex +++ b/manual/latex/devopsAutomatedManualBuild.tex @@ -8,9 +8,10 @@ This chapter records Assignment 5, \emph{LaTeX Auto-Compilation with Gitea -- Group}. Evidence was collected on October 7, 2026. Two successive source pushes produced successful Gitea builds. Run 3 then -failed for the intended LaTeX error. This update removes that error and -prepares version 3.3; its passing repair run and final artifact review remain -pending. +failed for the intended LaTeX error. After its removal, run 4 passed and +produced a verified PDF. This version 3.4 source records the complete +success, failure, and repair sequence; final submission artifact review +follows its next successful workflow build. \section{Source and Trigger} The existing \href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway}{Group 1 @@ -142,9 +143,10 @@ Downloaded PDF & \texttt{2026F-SSW-590-DevOps-Group-1.pdf}, 100 pages\\ The first PDF still displays the Assignment 4 title because that title was in the triggering source. Figure~\ref{Figure:ManualFirstPDF} preserves that original result. The second source change corrected the title to Assignment 5 -and produced version \texttt{3.2+build.2.0ca3beb}. The current repair source -uses human version 3.3; its next workflow will inject its actual run and -commit values. The source does not predict those values. +and produced version \texttt{3.2+build.2.0ca3beb}. The repair push produced +\texttt{3.3+build.4.b68425b}. This evidence update uses human version 3.4; +its next workflow injects its own actual run and commit values. Generated +metadata is never copied into the versioned source. \section{Downloadable Artifact} Figure~\ref{Figure:ManualWorkflowRunOne} shows successful checkout, @@ -194,7 +196,7 @@ preserved as historical run-1 evidence. Screenshot supplied by Vincent.} \section{Change, Failure, and Repair Evidence} \begin{tabularx}{\linewidth}{L{1.0cm}L{1.8cm}L{1.8cm}Y} -\caption{Actual source-change and failure results, October 7, 2026\label{Table:ManualBuildSequence}}\\ +\caption{Actual source-change, failure, and repair results, October 7, 2026\label{Table:ManualBuildSequence}}\\ \toprule \textbf{Run} & \textbf{Commit} & \textbf{Result} & \textbf{Visible PDF / artifact}\\ \midrule \href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/1}{1} & \href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/commit/828f6c555b0d3a9bcf611a5097207e3942dfda11}{\texttt{828f6c5}} & Success & @@ -204,6 +206,9 @@ preserved as historical run-1 evidence. Screenshot supplied by Vincent.} \texttt{3.2+build.2.0ca3beb}; \texttt{manual-pdf-build-2}\\ \href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/3}{3} & \href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/commit/1d2822f8a32c56e946e51fce532c309dafb05867}{\texttt{1d2822f}} & Intended failure & No PDF artifact; \texttt{manual-diagnostics-build-3} retained\\ +\href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/4}{4} & +\href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/commit/b68425ba13b93b07888602160c773b19595194b8}{\texttt{b68425b}} & Repaired & +\texttt{3.3+build.4.b68425b}; \texttt{manual-pdf-build-4}\\ \bottomrule \end{tabularx} @@ -258,12 +263,44 @@ and retained only the diagnostics artifact, as expected.} \label{Figure:ManualIntentionalFailure} \end{figure} -\textbf{Repair prepared:} this source update removes the temporary error -and updates the report to version 3.3. A passing repair run, its actual commit -and build identifier, and its downloaded PDF are still pending. Local -compilation checks do not substitute for that workflow evidence. The test -and repair change the manual source only; the deployed application files -were preserved. +\textbf{Repair verified:} Vincent removed the temporary error and pushed +commit \texttt{b68425b}. Run 4 completed checkout, compilation, PDF upload, +and diagnostics upload successfully (Figure~\ref{Figure:ManualRepairWorkflow}). +Vincent downloaded both artifacts into \texttt{build/evidence/run-4/} and +opened the 113-page PDF. Its title displays +\texttt{3.3+build.4.b68425b} (Figure~\ref{Figure:ManualRepairPDF}), matching +the full revision \texttt{b68425ba13b93b07888602160c773b19595194b8} and run 4 in +\texttt{build-info.txt}. The extracted PDF is byte-for-byte equal to the +PDF inside \href{https://git.yebilly.me/ssw590-group1/vpn-dns-gateway/actions/runs/4}{\texttt{manual-pdf-build-4} on run 4}; +its SHA-256 matches \texttt{pdf-sha256.txt} in the diagnostics: +\begin{minted}{text} +2f921289d77fd72e9805df3c423a5ddc3ed784e8b71deb174f31bf8f4abf03a4 +\end{minted} +The expected outcome after repair was a green job and a newly generated PDF; +run 4 demonstrated both. The failure and repair affected manual sources and +evidence only; the application deployment files were unchanged. HTTPS +checks after run 4 returned HTTP 200 from both +\url{https://git.yebilly.me} (Gitea) and +\url{https://colors.yebilly.me} (Color Buttons App), confirming that both +public sites still responded. These are reachability checks; no load test +or additional application functional test was performed. + +\begin{figure}[H] +\centering +\includegraphics[width=\linewidth]{images/gitea-actions-repair-success.png} +\caption{October 7, 2026: repaired run 4 passed all steps and uploaded the +PDF and diagnostics artifacts. Screenshot supplied by Vincent.} +\label{Figure:ManualRepairWorkflow} +\end{figure} + +\begin{figure}[p] +\centering +\includegraphics[width=0.72\linewidth,height=0.72\textheight,keepaspectratio]{images/gitea-runner-pdf-repair.png} +\caption{October 7, 2026: opened PDF from repair run 4, showing version +\texttt{3.3+build.4.b68425b}. Screenshot supplied by Vincent.} +\label{Figure:ManualRepairPDF} +\end{figure} +\clearpage For a queued job, check Docker Desktop, the runner's online status, and the \texttt{latex-local} label. For a failed build, download the diagnostics ZIP @@ -296,13 +333,17 @@ Registration token input was private; persistent runner identity remains in \texttt{/data/.runner} inside the named volume, never in the repository. \section{Manual Quality and Controls} -This draft records human version 3.3, dated run-1/run-2 and failure evidence, +This draft records human version 3.4 and dated run-1/run-2, failure, and +successful repair evidence, and assistance in Document History and \ChapterRef{AIPromptLog}. Earlier assignment chapters retain their historical results. Both controls in \ChapterRef{HostsPasswords} are updated: the Hosts section adds the local runner, and the Passwords table adds a hints-only runner identity record. No credential values are included. Relevant runner and build-artifact terms -appear in the glossary and index. The passing repair evidence and final -workflow-generated submission PDF remain pending. +appear in the glossary and index. The success/failure/repair evidence is +complete through run 4. After this evidence update is pushed, the group must +review the resulting successful workflow PDF and retain that final artifact +for submission. Pull-request review/merge and issue \#12 closure are still +pending; no approval or submission is claimed here. \endgroup diff --git a/manual/latex/devopsDocumentHistory.tex b/manual/latex/devopsDocumentHistory.tex index 88fa856..62d3c3b 100644 --- a/manual/latex/devopsDocumentHistory.tex +++ b/manual/latex/devopsDocumentHistory.tex @@ -12,6 +12,7 @@ link each entry to the changed chapter, table, figure, or controlled artifact. \multicolumn{4}{l}{\small\itshape Document Update History (continued)}\\ \toprule \textbf{Date / Version} & \textbf{Author Initials} & \textbf{Change} & \textbf{Changed At}\\ \midrule \endhead \bottomrule \endlastfoot +October 7, 2026 / 3.4 & VS, Codex & Added the successful run-4 repair screenshots and verified its commit, PDF version, artifact contents, and SHA-256; completed the failure/repair evidence. Replaced the abstract's template instructions with an Assignment 5 summary. Hosts and Passwords tables are unchanged from 3.3; final workflow PDF review and submission remain pending. & Title and abstract, \ChapterRef{AutomatedManualBuild}, \ChapterRef{AIPromptLog}\\ October 7, 2026 / 3.3 & VS, Codex & Recorded successful run 2 and intentional failure run 3 with screenshots and downloaded diagnostic verification; removed the test error for a repair push. Updated both the Hosts section and hints-only Passwords table for the local runner; passing repair evidence and final artifact review remain pending. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{HostsPasswords}, \ChapterRef{AIPromptLog}\\ October 7, 2026 / 3.2 & VS, Codex & Set the Assignment 5 title, number, and date after successful Gitea run 1; retained its original PDF and evidence. The new title omits the duplicate LMS suffix. Added the draft Automated Manual Build chapter with the workflow and first-PDF screenshots. Hosts and Passwords tables are unchanged; remaining workflow tests and runner records are pending. & Title page, \ChapterRef{AutomatedManualBuild}, \ChapterRef{AIPromptLog}\\ October 7, 2026 / preparation & VS, Codex & Prepared the Assignment 5 local runner, compiler image, and push workflow; verified local compilation, failure/repair, and revision checks. Corrected Windows glossary/index regeneration after layout settles. Real workflow artifacts and the assignment chapter remain pending. Document version, Hosts table, and Passwords table are unchanged. & \ChapterRef{AIPromptLog}\\ diff --git a/manual/latex/images/gitea-actions-repair-success.png b/manual/latex/images/gitea-actions-repair-success.png new file mode 100644 index 0000000..3501f7c Binary files /dev/null and b/manual/latex/images/gitea-actions-repair-success.png differ diff --git a/manual/latex/images/gitea-runner-pdf-repair.png b/manual/latex/images/gitea-runner-pdf-repair.png new file mode 100644 index 0000000..f09e564 Binary files /dev/null and b/manual/latex/images/gitea-runner-pdf-repair.png differ