Complete Chapter 3 rubric links and download evidence
All checks were successful
Build DevOps Manual PDF / build-pdf (push) Successful in 23s
All checks were successful
Build DevOps Manual PDF / build-pdf (push) Successful in 23s
This commit is contained in:
parent
7114fecbc2
commit
a89ebf582f
@ -3,11 +3,13 @@
|
||||
\ChapterLabel{AutomatedManualBuild}
|
||||
\index{Gitea Actions}\index{runner}\index{build artifact}\index{traceability}
|
||||
\section{Source and Trigger}
|
||||
\noindent Verified source links: \href{https://git.590hcm.dev/SSW590Team/devOpsManual/src/branch/main/devopsAssignment.tex}{main TeX document}; \href{https://git.590hcm.dev/SSW590Team/devOpsManual/src/branch/main/.gitea/workflows/build-manual.yaml}{workflow and non-secret job configuration}.
|
||||
The source of record is \url{https://git.590hcm.dev/SSW590Team/devOpsManual}. The main document is \path{devopsAssignment.tex}; tracked chapter files, bibliography, figures in \path{prism-uploads}, and \path{.latexmkrc} form the build input. The workflow is \path{.gitea/workflows/build-manual.yaml}. Pushes to \path{main} and the isolated \path{chapter3-validation} branch trigger a build. Generated metadata and PDFs are ignored, so the build never commits its own output.
|
||||
\begin{center}\fbox{HTTPS push :443 $\rightarrow$ Caddy $\rightarrow$ Gitea :3000}\par\smallskip
|
||||
\fbox{Runner polls Gitea $\rightarrow$ TeX container $\rightarrow$ PDF artifact}\end{center}
|
||||
The public HTTPS route retains certificate verification. Gitea port 3000 stays on the Docker network. The runner polls outward; no new public runner port is needed.
|
||||
\section{Runner Installation and Execution}
|
||||
Dated runner evidence (October 10, 2026): \href{https://git.590hcm.dev/SSW590Team/devOpsManual/settings/actions/runners}{repository runner settings} showed runner ID 1, lightsail-actions-runner, global scope, online/idle, label texlive. \href{https://git.590hcm.dev/SSW590Team/devOpsManual/actions/runs/5/jobs/0}{Run 5 job log} records the assigned runner and completed checkout, compilation, and upload. The expected result was a successful job on this runner; actual result: success in 21 seconds.
|
||||
Observed October 10, 2026: the existing \path{lightsail-actions-runner} runs act runner 0.6.1 in Docker on Gitea-Project, Ubuntu 24.04.4 LTS, at 184.193.0.32. Its deployment is in \path{/home/ubuntu/gitea-deploy}; registration persists in its runner-data volume. The server has 2 GB RAM, two vCPUs, and 60 GB disk. The runner uses the \path{texlive} label. Its generated default configuration has capacity one. Each workflow job uses a temporary container with one CPU and 1 GB memory, leaving capacity for Gitea and Caddy. The runner was already registered; the missing repository workflow, rather than absent registration, prevented builds.
|
||||
The repository runner settings show global scope, runner ID 1, idle and online. This pre-existing global scope was not changed. The runner requires outbound HTTPS to Gitea, GitHub action repositories, the container registry, and Alpine package repositories. No deployment service was moved or replaced.
|
||||
\section{Reproducible Compilation}
|
||||
@ -23,14 +25,16 @@ Latexmk repeats the necessary LaTeX and bibliography passes. The repository's cu
|
||||
\section{PDF Version and Traceability}
|
||||
The human document version is combined with \path{+build.RUN.SHORTSHA}. Gitea supplies the run number and triggering SHA to a generated \path{build\_meta.tex}; only its seven-character commit abbreviation and numeric run are written. The main document imports this file and displays the version in the page footer. Local compilation falls back to build 0/local. Metadata is untracked and no write-back step exists. The artifact name retains the full SHA so a downloaded PDF can be correlated with the exact source revision.
|
||||
\section{Artifact Publication and Retrieval}
|
||||
Download verification, October 10, 2026: \href{https://git.590hcm.dev/SSW590Team/devOpsManual/actions/runs/5/artifacts/devops-manual-build-5-7114fecbc20b9fa65ca0e2f000d14f1ea5aaa222}{named PDF artifact from successful run 5} was downloaded and opened in Preview as a 68-page PDF. Its visible version was 1.9+build.5.7114fec, matching commit 7114fecbc20b9fa65ca0e2f000d14f1ea5aaa222. Expected and actual results agreed. \href{https://git.590hcm.dev/SSW590Team/devOpsManual/actions/runs/\buildRun}{This PDF's own workflow run} identifies the current run; its footer records the corresponding version.
|
||||
Only a successful compilation reaches upload. The named artifact is \path{devops-manual-build-RUN-FULLSHA}; it contains \path{devopsAssignment.pdf}, uses a 30-day retention request, and treats a missing file as an error. Open the repository Actions tab, choose a successful run, and select its artifact link. Extract the downloaded archive and inspect the PDF version before submission. Keep a local copy before retention expires. A failed run must not be used as a source of a new PDF.
|
||||
\section{Successive Changes and Failure Recovery}
|
||||
\input{devopsBuildEvidence}
|
||||
\section{Runner and Secret Boundaries}
|
||||
Repository writers who can edit workflows can execute commands on this runner. The runner mounts the host Docker socket, which grants powerful host-level control; a temporary job container is not a security boundary against a malicious workflow author. Only trusted project contributors should have write access. No new membership or permission was granted. This workflow uses no custom repository secret, disables checkout credential persistence, and does not print registration credentials. The runner registration file and deployment credentials remain outside the repository. Hosts and Passwords chapters add runner-specific, hint-only records. Never place passwords, tokens, or private keys in source, screenshots, logs, or artifacts.
|
||||
\section{Operations, Evidence, and Troubleshooting}
|
||||
\section{Manual Quality and Controls}
|
||||
Evidence was collected on October 10, 2026 from Safari, the Lightsail SSH session, and Gitea Actions. Run 1 (\path{fb97d71}) succeeded in 56 seconds including checkout, metadata, compilation, and artifact upload: \url{https://git.590hcm.dev/SSW590Team/devOpsManual/actions/runs/1}.
|
||||
For a queued job, check the runner is online, its registration scope includes this repository, and its label matches \path{texlive}. For checkout failures, check HTTPS reachability and source permissions. For a TeX error, open the compilation step and fix the reported file and line, then push a new commit. For missing artifacts, inspect the upload step and PDF existence check. For memory pressure, keep capacity one and the job limits; do not run parallel full TeX builds on this host. The original draft workflow was under the deployment directory, so Gitea could not discover it until it was committed under the repository's workflow path.
|
||||
References (accessed October 10, 2026): \url{https://docs.gitea.com/1.22/usage/actions/comparison/}. Gitea 1.22 does not enforce all GitHub workflow keys, including concurrency and permissions; this workflow does not rely on those keys for isolation or scheduling.
|
||||
|
||||
The dated version history links this chapter. Both \ChapterRef{Hosts} and \ChapterRef{Passwords} were updated with verified runner details and credential hints only. Glossary terms: \gls{cirunner} and \gls{ciartifact}.
|
||||
\fussy
|
||||
|
||||
@ -12,7 +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 / contributor} & \textbf{Change} & \textbf{Sections / related tables}\\ \midrule
|
||||
\endhead \bottomrule \endlastfoot
|
||||
October 10, 2026 / 1.9 & MB, CDX & Added Automated Manual Build chapter, push workflow, visible build metadata, validation evidence, and glossary terms. Updated Hosts with verified runner resources and global scope; updated Passwords with hint-only credential boundaries. & \ChapterRef{AIPromptLog}\\
|
||||
October 10, 2026 / 1.9 & MB, CDX & Added Automated Manual Build chapter, push workflow, visible build metadata, validation evidence, and glossary terms. Updated Hosts with verified runner resources and global scope; updated Passwords with hint-only credential boundaries. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{AIPromptLog}\\
|
||||
|
||||
October 8, 2026 / 1.8 (draft) & MB, CDX & Improved Chapter 2 wording and layout, removed screenshot transcriptions that duplicated the supplied figures, and standardized contributor initials. & \ChapterRef{Gitea}, \ChapterRef{AIPromptLog}\\
|
||||
October 8, 2026 / 1.7 (draft) & MB, CDX & Clarified provider responsibilities: Name.com is the domain registrar and AWS Lightsail is the production hosting provider. & \hyperref[sec:gitea-domain]{Section~\ref*{sec:gitea-domain}}, \hyperref[sec:gitea-deployment]{Section~\ref*{sec:gitea-deployment}}, \ChapterRef{Gitea}, \ChapterRef{Hosts}\\
|
||||
|
||||
Loading…
Reference in New Issue
Block a user