Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
131d605c5e | ||
|
|
b7ef4850b7 | ||
|
|
02d31699aa | ||
|
|
d6477b3df6 | ||
|
|
ad056a363c | ||
|
|
041adfcda4 | ||
|
|
4a67a09780 | ||
|
|
8a9f4b3b5b | ||
|
|
2b82307761 | ||
|
|
d812910ba8 | ||
|
|
b6511602f7 | ||
|
|
db2a8be2ec |
@@ -1,4 +1,4 @@
|
||||
name: Team manual PDF
|
||||
name: Assignment 5 manual PDF
|
||||
on:
|
||||
push:
|
||||
branches: [main, manual-build-validation]
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Publish verified PDF and traceability manifest
|
||||
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
|
||||
with:
|
||||
name: assignment6-1.8.2-run-${{ github.run_number }}-${{ github.sha }}
|
||||
name: assignment5-1.7.1-run-${{ github.run_number }}-${{ github.sha }}
|
||||
path: |
|
||||
documentation/build/main.pdf
|
||||
documentation/build/build-manifest.json
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
pipeline {
|
||||
agent any
|
||||
options {
|
||||
skipDefaultCheckout()
|
||||
disableConcurrentBuilds()
|
||||
timeout(time: 5, unit: 'MINUTES')
|
||||
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||
timestamps()
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
sh 'git rev-parse HEAD'
|
||||
}
|
||||
}
|
||||
stage('Syntax check') {
|
||||
steps {
|
||||
sh 'python3 --version'
|
||||
sh 'python3 -m py_compile pricing.py tests/test_pricing.py'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'python3 -m unittest discover -s tests -v'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,17 @@
|
||||
## Product Scope
|
||||
|
||||
FilePilot demonstrates a controlled file-update workflow. It accepts a target
|
||||
MyFileAgent demonstrates a controlled file-update workflow. It accepts a target
|
||||
file description, expected text, and replacement text. The application locates
|
||||
the file only within an approved demonstration directory, verifies the expected
|
||||
text, creates a backup, presents a diff, performs the replacement, verifies the
|
||||
result, and records the outcome.
|
||||
|
||||
FilePilot does not provide unrestricted filesystem access, general desktop
|
||||
MyFileAgent does not provide unrestricted filesystem access, general desktop
|
||||
control, arbitrary shell execution, or open-ended autonomous planning.
|
||||
|
||||
## Demonstration Acceptance Criteria
|
||||
|
||||
The demonstration succeeds when FilePilot:
|
||||
The demonstration succeeds when MyFileAgent:
|
||||
|
||||
1. finds the approved project-status file;
|
||||
2. confirms that it contains `Status: Draft`;
|
||||
|
||||
@@ -12,10 +12,3 @@ workload. Credentials, private keys, and other secrets are intentionally
|
||||
excluded. The report also records the completed MyFileAgent Gitea startup
|
||||
foundation: SQLite persistence, team workflow, the \texttt{myfileagent.tech}
|
||||
domain, Caddy-managed HTTPS, and verified firewall boundaries.
|
||||
|
||||
Assignment 6 adds Jenkins 2.580.1 behind Caddy HTTPS, a dedicated Gitea
|
||||
integration identity and a versioned Python pipeline. The first build verified
|
||||
checkout, syntax and two unit tests and reported success to Gitea. This work-in-progress
|
||||
edition also records the private webhook, enforced merge gate, controlled
|
||||
failure/repair, human review, merge and passing post-merge main build. The restart test, team port checks and plugin review are also recorded;
|
||||
remaining access-policy and credential checks are explicitly pending.
|
||||
|
||||
@@ -18,16 +18,13 @@
|
||||
\endhead
|
||||
\bottomrule
|
||||
\endlastfoot
|
||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.2\\ GDL, NK, CDX} & Configure Jenkins through its web interface: accounts, repository discovery, credentials, multibranch builds, required checks, peer review and plugin operations. & The team entered administrator and integration passwords/tokens privately. Codex assisted with Gitea discovery scope, the dedicated repository identity, job discovery and the Python checkout/syntax/test pipeline. It correlated issue 10 and PR 11 with automatic runs, made the isolated arithmetic defect and repair, and verified commit-specific failure and success. It corrected the required PR check context and configured branch protection. NK independently approved the final change; GDL performed the normal merge. The merged main commit passed Jenkins. The team selected Matrix-based security, supplied its permissions view and confirmed administrative access after saving. Codex explained the permission settings, checked plugin-update information and retained the controller-build warning. The CI token inventory showed one current entry; token values were neither read nor recorded. Post-save anonymous access and self-registration were not independently confirmed. \\
|
||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.1\\ GDL, NK, CDX} & Configure DNS, HTTPS, reverse-proxy routing, private webhook delivery and network exposure; verify firewall attachment and IPv4-only operation. & Codex assisted with the CI A record, Caddy site and loopback-only Jenkins mapping. It diagnosed the failed tunnel's Docker-name resolution and used the host loopback endpoint instead. HTTPS verification recorded the certificate, login response, redirect and anonymous API denial. The private Gitea webhook used an exact-host destination allowance; Caddy blocked its public receiver. The installed handler did not validate HMAC, so no shared-secret authentication was claimed. A successful delivery was matched to its Jenkins run. The team chose public browser access and later removed retired 5050/8080 firewall allowances. It supplied the named firewall rules, attached Droplet view, external TCP results, disabled-IPv6 view, DNS AAAA result and UFW-inactive output. These human-performed checks retain that attribution; earlier TCP tests are not relabeled as post-cleanup tests. Instructor approval for the public-browser exception was not supplied. \\
|
||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.0\\ GDL, NK, CDX} & Deploy official Jenkins LTS, preserve its home directory, record the toolchain and verify jobs survive restart on the existing Droplet. & The team selected the existing 1 GB host and the permitted Python application. Codex recorded capacity, deployed the official Jenkins image with a pinned digest and non-secret Compose configuration, and bounded its resource use. When the initial start stalled, it stopped only Jenkins, checked Gitea health and retried successfully; it did not assert an unproven cause for the startup exception. Plugin versions and the persistent home volume were recorded. Controller builds were selected for trusted source without a Docker socket; Python installation and replacement-container recovery were made reproducible. For the authorized restart, Codex saved file sizes and hashes, restarted the service without deleting its volume, and confirmed all 13 configuration/build records were unchanged. The saved main job passed afterward. The team reviewed the observed results. No Jenkins backup/restore test, new paid cloud host or capacity upgrade was performed. \\
|
||||
\parbox[t]{2.7cm}{\raggedright October 6--7, 2026\\ 1.7.1\\ GDL, CDX, NK} & Implement approved Chapter 3; update the manual, verify Actions artifacts, and apply the requested concise history/log and rubric review. & The user approved remote implementation, supplied the original source/images, and selected version 1.7.1. AI configured the runner/toolchain, corrected its memory limit, executed builds 3--4 and failure/repair 5--6, and verified downloaded PDFs by identity, checksum, links and rendered pages. The team reviews the final Actions PDF before submission. \\
|
||||
\parbox[t]{2.7cm}{\raggedright September 29, 2026\\ 1.6.1\\ NK, GDL, CDX} & Complete and review the public-domain, HTTPS, evidence, recovery, and reference material for Assignment 4. & The team supplied the domain and renewal facts, verified DNS, HTTPS, certificate automation and external ports, and approved the backup/restore exercise. AI assisted with diagnostics, isolated recovery evidence, requirement auditing, live links, security explanations, concise credential and reference updates, figure-flow improvements, compilation, and visual review. \\
|
||||
\parbox[t]{2.7cm}{\raggedright September 26, 2026\\ 1.6.0\\ NK, GDL, CDX} & Implement and document the MyFileAgent Gitea startup foundation while preserving the earlier grading services. & The team selected the accounts, approved changes, completed the repository workflow, ran verification commands, and supplied evidence. With permission, AI assisted with pinned Gitea/SQLite, persistent volumes, key-only SSH, and the Cloud Firewall while preserving ports 5050 and 8080 and documenting the instructor-cleared SSH exception. \\
|
||||
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.1\\ NK, GDL, CDX} & Develop and integrate Chapter 8, the Project Proposal, for the MyFileAgent one-click DevSecOps pipeline. & The team supplied the project direction and selected tools. AI assisted with organizing the proposal, defining a limited demonstration task, and presenting the planned installation, build, configuration, testing, deployment, security, and Grafana monitoring workflow. The team reviews and approves the final proposal. \\
|
||||
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.0\\ NK, GDL, CDX} & Document the DigitalOcean Droplet and Docker installation, website deployment, class-based JavaScript button design and UML diagram in Chapter 6, and the TeX Live Docker build, run, and verification workflow in Chapter 7. & The team supplied the requirements, deployment evidence, commands, and project files. AI assisted with LaTeX organization, code presentation, UML preparation, compilation, and layout review. The team reviews the material and verifies all commands and live deployment results. \\ \pagebreak
|
||||
\parbox[t]{2.7cm}{\raggedright September 12, 2026\\ 1.4.1\\ NK, GDL, CDX} & Update Section 3.2 with the human-run command outputs, include Hosts and Passwords, reduce and link the glossary, and verify index links. & AI suggested Linux commands to run and assisted with document organization and LaTeX editing. The team verified the commands before running them, made changes as needed, ran the commands, and gathered the outputs. AI did not execute the commands or produce the recorded terminal outputs. \\
|
||||
\parbox[t]{2.7cm}{\raggedright September 11, 2026\\ 1.4.0\\ NK, GDL, CDX} & Organize the Assignment 2 LaTeX report, integrate the supplied Linux-command chapter and problem-set chapter, and verify document layout and navigation. & The team supplied the assignment materials and terminal record, reviewed the generated text, and entered each problem set command into the terminal and manually verified the results. \\
|
||||
October 6--7, 2026\\ 1.7.1\\ GDL, CDX, NK & Implement approved Chapter 3; update the manual, verify Actions artifacts, and apply the requested concise history/log and rubric review. & The user approved remote implementation, supplied the original source/images, and selected version 1.7.1. AI configured the runner/toolchain, corrected its memory limit, executed builds 3--4 and failure/repair 5--6, and verified downloaded PDFs by identity, checksum, links and rendered pages. The team reviews the final Actions PDF before submission. \\
|
||||
September 29, 2026\\ 1.6.1\\ NK, GDL, CDX & Complete and review the public-domain, HTTPS, evidence, recovery, and reference material for Assignment 4. & The team supplied the domain and renewal facts, verified DNS, HTTPS, certificate automation and external ports, and approved the backup/restore exercise. AI assisted with diagnostics, isolated recovery evidence, requirement auditing, live links, security explanations, concise credential and reference updates, figure-flow improvements, compilation, and visual review. \\
|
||||
September 26, 2026\\ 1.6.0\\ NK, GDL, CDX & Implement and document the MyFileAgent Gitea startup foundation while preserving the earlier grading services. & The team selected the accounts, approved changes, completed the repository workflow, ran verification commands, and supplied evidence. With permission, AI assisted with pinned Gitea/SQLite, persistent volumes, key-only SSH, and the Cloud Firewall while preserving ports 5050 and 8080 and documenting the instructor-cleared SSH exception. \\
|
||||
September 18, 2026\\ 1.5.1\\ NK, GDL, CDX & Develop and integrate Chapter 8, the Project Proposal, for the MyFileAgent one-click DevSecOps pipeline. & The team supplied the project direction and selected tools. AI assisted with organizing the proposal, defining a limited demonstration task, and presenting the planned installation, build, configuration, testing, deployment, security, and Grafana monitoring workflow. The team reviews and approves the final proposal. \\
|
||||
September 18, 2026\\ 1.5.0\\ NK, GDL, CDX & Document the DigitalOcean Droplet and Docker installation, website deployment, class-based JavaScript button design and UML diagram in Chapter 6, and the TeX Live Docker build, run, and verification workflow in Chapter 7. & The team supplied the requirements, deployment evidence, commands, and project files. AI assisted with LaTeX organization, code presentation, UML preparation, compilation, and layout review. The team reviews the material and verifies all commands and live deployment results. \\ \pagebreak
|
||||
September 12, 2026\\ 1.4.1\\ NK, GDL, CDX & Update Section 3.2 with the human-run command outputs, include Hosts and Passwords, reduce and link the glossary, and verify index links. & AI suggested Linux commands to run and assisted with document organization and LaTeX editing. The team verified the commands before running them, made changes as needed, ran the commands, and gathered the outputs. AI did not execute the commands or produce the recorded terminal outputs. \\
|
||||
September 11, 2026\\ 1.4.0\\ NK, GDL, CDX & Organize the Assignment 2 LaTeX report, integrate the supplied Linux-command chapter and problem-set chapter, and verify document layout and navigation. & The team supplied the assignment materials and terminal record, reviewed the generated text, and entered each problem set command into the terminal and manually verified the results. \\
|
||||
\end{longtable}
|
||||
\normalsize
|
||||
|
||||
|
||||
@@ -120,13 +120,11 @@ records checkout, latexmk passes, PDF validation and upload. See also the
|
||||
|
||||
\section{PDF version traceability}
|
||||
\phantomsection\label{GlossaryRef:buildidentity}\index{build identity}
|
||||
The Assignment 5 builds below used human version \texttt{1.7.1};
|
||||
the current manual is version \texttt{1.8.2}. The helper writes an
|
||||
The human-maintained version stays \texttt{1.7.1}. The helper writes an
|
||||
uncommitted \path{build-metadata.tex} with a suffix
|
||||
\texttt{+build.RUN.SHORTSHA.attempt.ATTEMPT}, full Git commit, run number and
|
||||
clickable run URL. The downloaded workflow PDFs visibly contain that run identity. The
|
||||
current \hyperref[Build:Identity]{Build Identity page} identifies this edition
|
||||
separately; a local review build is not an Actions publication. Metadata is produced in the temporary workspace;
|
||||
clickable run URL. The title and \hyperref[Build:Identity]{Build Identity page}
|
||||
show the values of this PDF. Metadata is produced in the temporary workspace;
|
||||
no workflow step commits or pushes generated version changes. This avoids a
|
||||
push/build loop. A local compile instead says \texttt{+local.unverified} and
|
||||
must not be presented as an Actions artifact. The manifest correlates full
|
||||
@@ -135,9 +133,9 @@ actions are pinned to tested commits, not floating tags~\cite{GiteaActionsCompar
|
||||
|
||||
\section{Downloadable artifact}
|
||||
\phantomsection\label{GlossaryRef:buildartifact}\index{artifact!retention}
|
||||
For the historical Assignment 5 builds, the artifact name is
|
||||
On success, the artifact name is
|
||||
\texttt{assignment5-1.7.1-run-RUN-FULLSHA}; it contains the PDF and JSON
|
||||
manifest. Open the matching \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4}{recorded successful run 4}, select that named
|
||||
manifest. Open the matching \href{\BuildRunURL}{Actions run}, select that named
|
||||
artifact, download its ZIP and extract \texttt{main.pdf}. Retention is
|
||||
explicitly requested as 14 days, rather than relying on the server default;
|
||||
expiration enforcement has not yet been observed. Keep the submitted PDF
|
||||
@@ -151,15 +149,7 @@ are available from the run's named download link even though the newer REST
|
||||
artifact-list endpoint returned no entries in the preflight. The direct
|
||||
preflight artifact download was verified, including ZIP checksum and contents.
|
||||
Manual artifact downloads and visible PDF checks are recorded below.
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4/artifacts/assignment5-1.7.1-run-4-2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a}{Download the recorded run-4 PDF artifact}.
|
||||
|
||||
The current Assignment 6 workflow uses artifact name
|
||||
\texttt{assignment6-1.8.2-run-RUN-FULLSHA}. For this edition, use
|
||||
\href{\BuildRunURL}{the matching Actions publication run} and
|
||||
\href{\BuildRunURL/artifacts/assignment6-\DocumentVersion-run-\BuildRun-\BuildCommit}{its named PDF and manifest artifact}.
|
||||
The Build Identity page supplies the exact commit and run number injected by
|
||||
that run. Extract \texttt{main.pdf} from the ZIP and compare its checksum to
|
||||
\texttt{build-manifest.json}; the artifact has the same 14-day retention.
|
||||
\href{\BuildRunURL/artifacts/assignment5-1.7.1-run-\BuildRun-\BuildCommit}{Download the artifact for this PDF}.
|
||||
|
||||
\section{Change, failure, and repair evidence}
|
||||
% BEGIN BUILD EVIDENCE
|
||||
@@ -189,8 +179,7 @@ Visible version: \path{1.7.1+build.6.a4737f1.attempt.1}; 72 pages. The \href{htt
|
||||
|
||||
|
||||
The artifact name for each successful row is \texttt{assignment5-1.7.1-run-} followed by the run number, a hyphen and the full commit above. The run links and artifact links therefore identify the same source revision; version suffixes use its first seven hex digits. Full machine-readable records and downloaded PDF checksums are retained in \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/manual-build/manual-build-evidence.json}{the versioned evidence manifest}. The controlled error was confined to the validation branch and its repair restored the exact source content of the second successful build.
|
||||
Visual inspection of the downloaded run-4 chapter identified overlapping architecture labels; the final source corrects the diagram. Each Actions publication uses its own visible Build Identity and matching run.
|
||||
The current review edition must not inherit the identity of an earlier artifact. Download verification of that final artifact is performed after publication, without editing the PDF or creating an automatic source commit loop.
|
||||
Visual inspection of the downloaded run-4 chapter identified overlapping architecture labels; the final source corrects the diagram. Final publication uses the current \hyperref[Build:Identity]{Build Identity} and its linked run. Download verification of that final artifact is performed after publication, without editing the PDF or creating an automatic source commit loop.
|
||||
% END BUILD EVIDENCE
|
||||
|
||||
\section{Runner and secret boundary}
|
||||
@@ -246,16 +235,3 @@ this leaves Gitea and the grading apps running. On retirement, remove runner
|
||||
ID 1 through repository settings, revoke temporary credentials, and remove
|
||||
only identified runner/job storage after preserving submission evidence.
|
||||
Do not prune all Docker storage on this shared host.
|
||||
|
||||
\subsection*{Instruction Section 3.5 evidence coverage}
|
||||
All eight requested evidence areas are retained in Sections 10.1--10.8:
|
||||
source/trigger links and ports; registered runner and assigned run 2;
|
||||
toolchain, commands and successful compilation log; generated commit/run
|
||||
identity; named artifacts and download verification; successive builds 3/4,
|
||||
failed run 5 and repaired run 6; runner/token boundary; and document controls,
|
||||
registry hints and troubleshooting. These are dated historical observations.
|
||||
The Build Identity page distinguishes an Actions publication from a local
|
||||
review compile. Section 3.5 requires the final submitted PDF to be downloaded
|
||||
from a successful workflow; use the current run and artifact links in
|
||||
Section 10.5, rather than assigning an earlier artifact's identity to this
|
||||
edition. Preserve the downloaded PDF outside the 14-day artifact window.
|
||||
|
||||
@@ -19,9 +19,6 @@
|
||||
\endhead
|
||||
\bottomrule
|
||||
\endlastfoot
|
||||
October 9, 2026 / 1.8.2 & GDL, NK, CDX & \textbf{Jenkins usage through the web interface.} Configured the named Jenkins administrator and a dedicated, non-admin Gitea integration account. Stored its token in Jenkins credentials and corrected organization discovery scope. Created the multibranch pipeline for the startup repository and selected origin PR head revisions; disabled untrusted fork discovery. Committed the Python pricing example, two real unit tests and Jenkinsfile. Verified checkout, syntax checks and test results through the web interface. Created issue 10 and PR 11; deliberately changed multiplication to addition, observed test failure and a blocked merge, then restored multiplication and obtained a passing required check. Corrected the branch-protection context to \texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main}, required peer approval and disabled bypass. NK approved; GDL merged; Jenkins tested the resulting main commit. Confirmed Matrix permissions for the named administrator, with no Anonymous or general Authenticated Users permissions. Refreshed plugin-update information, retained the controller warning, and confirmed the single current CI token. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Passwords} \\
|
||||
October 9, 2026 / 1.8.1 & GDL, NK, CDX & \textbf{Networking and service access.} Configured the CI hostname, DNS A record and Caddy HTTPS reverse proxy on the existing Droplet. Corrected the administrative SSH tunnel to forward to the host loopback mapping instead of a Docker-only hostname. Verified the live login page, certificate issuer and validity, HTTP-to-HTTPS redirect, and anonymous API denial. Kept raw Jenkins port 8080 bound to loopback and did not publish an agent port. Configured repository-scoped Gitea push and PR webhooks over the private Compose bridge; allowed only the named Jenkins destination and blocked the public webhook receiver at Caddy. Correlated a successful delivery with a commit-specific Jenkins run. The team retired earlier service allowances: the attached Cloud Firewall now permits inbound 22, 80 and 443 only. Recorded external IPv4 results, IPv6 disabled, no CI AAAA answer, and UFW inactive. Public browser access remains the team's selected policy; instructor exception evidence has not been supplied. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts} \\
|
||||
October 9, 2026 / 1.8.0 & GDL, NK, CDX & \textbf{Jenkins installation and persistence.} Installed official Jenkins LTS with Java 21 on the existing one-CPU, 1 GB DigitalOcean Droplet, after recording memory and disk capacity. Used the LTS image tag and pinned immutable digest; the installed release was 2.580.1. Versioned the non-secret Compose configuration with restart policy, bounded JVM/container memory, private networking and persistent Jenkins home. Recovered a stalled initial startup by stopping only Jenkins, confirming Gitea remained healthy, and retrying; the original exception's root cause was not established. Installed and recorded Git/Gitea/Checks and supporting plugin versions. Selected controller execution for trusted team code, without a privileged Docker socket or separate inbound agent listener. Installed Python from recorded Debian repositories and retained a reproduction helper for replacement containers. Restarted Jenkins without deleting storage; all 13 recorded configuration/build files survived unchanged. The saved main job then passed syntax and both tests. This verified restart persistence, not backup/restore. Updated Hosts for CI services and Passwords with credential hints only. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
|
||||
October 6--7, 2026 / 1.7.1 & GDL, CDX, NK & Implemented Assignment 5: imported the full manual and historical images; deployed the repository-scoped runner and pinned TeX image; enabled push builds with visible commit/run identity and downloadable artifacts. Verified source builds 3--4, controlled failure 5, repair 6, and downloaded publication PDFs. Updated Hosts for runner/job resources and Passwords for credential-storage hints only. Corrected layout and links, aligned the build guide, consolidated this history and the AI log, and checked all instruction Section 3.5 requirements. & \ChapterRef{AutomatedManualBuild}, \ChapterRef{Hosts}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||
September 29, 2026 / 1.6.1 & NK, GDL, CDX & Activated \texttt{myfileagent.tech} with DNS, Caddy HTTPS, certificate and ACME evidence; documented the isolated backup/restore test, live links and temporary ports; refined the firewall, extra-credit, credential, figure-layout, and reference material; compiled and visually reviewed the manual. & \ChapterRef{GiteaStartupFoundation}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||
September 26, 2026 / 1.6.0 & NK, GDL, CDX & Established the pinned Gitea/SQLite foundation, persistence test, two-member workflow, Cloud Firewall, key-only SSH, architecture and operations; updated Hosts and Passwords and documented the instructor-cleared SSH exception. & \ChapterRef{Hosts}, \ChapterRef{Passwords}, \ChapterRef{GiteaStartupFoundation}, \AppendixRef{AIPromptLog} \\
|
||||
|
||||
@@ -17,8 +17,4 @@
|
||||
\item[\textbf{build artifact}] A file produced by a workflow and retained with its run for download. \hfill Reference: \hyperref[GlossaryRef:buildartifact]{p.~\pageref*{GlossaryRef:buildartifact}}
|
||||
\item[\textbf{build identity}] The manual version combined with the triggering Git revision and workflow run identifier. \hfill Reference: \hyperref[GlossaryRef:buildidentity]{p.~\pageref*{GlossaryRef:buildidentity}}
|
||||
\item[\textbf{Actions runner}] A registered worker that requests Gitea workflow jobs and executes them in its configured environment. \hfill Reference: \hyperref[GlossaryRef:actionsrunner]{p.~\pageref*{GlossaryRef:actionsrunner}}
|
||||
\item[\textbf{Jenkins controller}] The service that stores CI configuration and, in this deployment, also executes trusted pipeline commands. \hfill Reference: \hyperref[GlossaryRef:jenkinscontroller]{p.~\pageref*{GlossaryRef:jenkinscontroller}}
|
||||
\item[\textbf{Jenkinsfile}] A versioned pipeline recipe containing checkout, syntax and test stages. \hfill Reference: \hyperref[GlossaryRef:jenkinsfile]{p.~\pageref*{GlossaryRef:jenkinsfile}}
|
||||
\item[\textbf{required status check}] A named result on the latest pull-request head commit that branch protection requires before merge. \hfill Reference: \hyperref[GlossaryRef:requiredcheck]{p.~\pageref*{GlossaryRef:requiredcheck}}
|
||||
\item[\textbf{webhook}] An event notification that starts integration processing; successful delivery alone is not a passing build or merge gate. \hfill Reference: \hyperref[GlossaryRef:webhook]{p.~\pageref*{GlossaryRef:webhook}}
|
||||
\end{description}
|
||||
|
||||
@@ -15,7 +15,6 @@ assignment and any that will be configured in future assignments.
|
||||
\multicolumn{3}{l}{\small\itshape Host Registry (continued)}\\
|
||||
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
|
||||
\endhead \bottomrule \endlastfoot
|
||||
\texttt{ssw590-group7-}\newline\texttt{droplet} & DigitalOcean & Ubuntu Linux development environment at \texttt{142.93.193.110}; 1 virtual CPU, 1 GB memory, and 25 GB storage; normally administered through the non-root \texttt{codex} account; the team supplied the UFW check from a root shell. October 9 evidence: IPv6 disabled, attached Cloud Firewall permits inbound 22/80/443 only, UFW inactive. Hosts the MyFileAgent Gitea service at \href{https://myfileagent.tech}{\texttt{myfileagent.}\allowbreak\texttt{tech}} through Caddy-managed HTTPS. Gitea remains bound to \texttt{127.0.0.1:3000}; an authenticated SSH local forward is retained as an administrative fallback.\\
|
||||
\texttt{gitea} & Existing Droplet & Repository-scoped Actions runner ID 1; temporary TeX jobs on the same host. Team-owned, capacity one, no public runner/compiler ports; runner 192 MiB and jobs 256 MiB. HTTPS to \href{https://myfileagent.tech}{Gitea}; separate Docker bridges. Runner state is outside Git; service health was checked during setup. See \ChapterRef{AutomatedManualBuild}.\\
|
||||
\texttt{ci.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Jenkins 2.580.1 at \href{https://ci.myfileagent.tech/login}{HTTPS login}; public browser access, authentication required. Caddy forwards to \texttt{jenkins:8080} on the private bridge. Host port 8080 is loopback-only; no agent port is published. Team-owned, controller builds, persistent \texttt{jenkins-home}. Login, restart and main build 2 verified October 9, 2026; CI AAAA query returned no address. Named Matrix admin access team-confirmed; public-access approval remains unresolved. Backup/monitoring not established. See \ChapterRef{JenkinsContinuousIntegration}.\\
|
||||
\texttt{ssw590-group7-}\newline\texttt{droplet} & DigitalOcean & Ubuntu Linux development environment at \texttt{142.93.193.110}; 1 virtual CPU, 1 GB memory, and 25 GB storage; administered through the non-root \texttt{codex} account. Hosts the MyFileAgent Gitea service at \href{https://myfileagent.tech}{\texttt{myfileagent.tech}} through Caddy-managed HTTPS. Gitea remains bound to \texttt{127.0.0.1:3000}; an authenticated SSH local forward is retained as an administrative fallback.\\
|
||||
\texttt{assignment5-}\newline\texttt{manual} & Existing Droplet & Repository-scoped Actions runner ID 1; temporary TeX jobs on the same host. Team-owned, capacity one, no public runner/compiler ports; runner 192 MiB and jobs 256 MiB. HTTPS to \href{https://myfileagent.tech}{Gitea}; separate Docker bridges. Runner state is outside Git; service health was checked during setup. See \ChapterRef{AutomatedManualBuild}.\\
|
||||
\end{tabularx}
|
||||
|
||||
@@ -55,19 +55,11 @@ The retained earlier assignments required the team to:
|
||||
\end{enumerate}
|
||||
|
||||
\paragraph{Assignment 5 scope.}
|
||||
Implement Chapter 3 of the instruction PDF, \path{dosManual-V1.18.pdf}:
|
||||
Implement Chapter 3 of the instruction PDF, \texttt{dosManual-V1.18.pdf}:
|
||||
version the full manual source, configure a self-managed Gitea runner, build
|
||||
on source pushes, embed commit/run identity, publish a PDF artifact, and
|
||||
record two successful source changes plus a controlled compile failure and
|
||||
repair. This completed work is retained as the foundation for Assignment 6.
|
||||
|
||||
\paragraph{Assignment 6 scope and current status.}
|
||||
Implement Chapter 4 of \path{dosManual-V1.38.pdf}: deploy controlled Jenkins,
|
||||
connect the startup repository, execute meaningful checks, report statuses,
|
||||
require a passing check before merge, and demonstrate an issue-linked failed,
|
||||
repaired, reviewed pull request. The deployment and first passing Python build
|
||||
are verified on October 9, 2026; private webhook, failed/blocked and repaired/passing checks, NK review and
|
||||
GDL merge are also verified. The job restart and subsequent passing build are verified. \ChapterRef{JenkinsContinuousIntegration} records that boundary.
|
||||
repair. Chapter 4 of the instruction PDF is outside the current scope.
|
||||
|
||||
\section{Report Organization}
|
||||
\ChapterRef{LinuxCommands} and \ChapterRef{LinuxProblemSet} retain the Linux
|
||||
@@ -90,5 +82,3 @@ assistance used to organize, author, and review the report.
|
||||
Assignment 4 evidence is retained as a historical record. Assignment 5 has verified the runner, two successive source builds, downloaded versioned artifacts, and a controlled failure/repair exercise. Submit only the PDF downloaded from the final successful
|
||||
Gitea Actions run after visual and navigation checks; a local draft is not the
|
||||
final submission. Current status appears in \ChapterRef{AutomatedManualBuild}.
|
||||
|
||||
\ChapterRef{JenkinsContinuousIntegration} records Assignment 6 deployment, HTTPS, integration, pipeline verification, credential boundaries and remaining acceptance work.
|
||||
|
||||
@@ -1,801 +0,0 @@
|
||||
\chapter{Continuous Integration with Jenkins}
|
||||
\ChapterLabel{JenkinsContinuousIntegration}
|
||||
\index{Jenkins}\index{continuous integration}\index{Python}\index{pull request!CI}
|
||||
|
||||
\begin{devopsNote}[Assignment 6 status: CI workflow verified; remaining operations checks pending]
|
||||
This chapter implements Chapter 4 of \path{dosManual-V1.38.pdf} incrementally.
|
||||
On October 9, 2026, the team deployed Jenkins, configured HTTPS and named
|
||||
accounts, connected Gitea, and verified the first Python pipeline build.
|
||||
The eight sections below follow the instructor's rubric order. Repository
|
||||
webhooks, protected-branch enforcement, the controlled failed-then-repaired
|
||||
pull request, peer review and merge were subsequently verified the same day.
|
||||
The dedicated restart test, team external IPv4 port checks and plugin
|
||||
update/security-notice review were subsequently verified. Remaining access
|
||||
policy and final access verification remain identified explicitly. The team
|
||||
subsequently supplied current Cloud Firewall attachment/rules, IPv4-only
|
||||
evidence, UFW status, completed plugin and pipeline views, and the named-user
|
||||
Matrix authorization configuration.
|
||||
\end{devopsNote}
|
||||
|
||||
All dates in this chapter refer to October 9, 2026 unless stated otherwise.
|
||||
Jenkins screenshots can display UTC; the team works in America/New\_York.
|
||||
Build 1 began at 18:34 UTC (14:34 EDT). The account passwords and token values
|
||||
were entered by the team privately and are not part of this report.
|
||||
|
||||
\section{Jenkins Deployment and Persistence}
|
||||
\phantomsection\label{GlossaryRef:jenkinscontroller}\index{Jenkins!controller}
|
||||
\subsection{Deployment choice and reproducible configuration}
|
||||
The team reused \texttt{ssw590-group7-droplet}, the existing one-vCPU,
|
||||
1 GB RAM, 25 GB disk DigitalOcean host. The initial read-only capacity check
|
||||
showed 312 MiB available memory, no swap, and 17 GB free disk. The team chose
|
||||
to trial Jenkins on that host rather than resize it. No capacity upgrade or
|
||||
swap configuration was performed.
|
||||
|
||||
Jenkins uses the official image from Docker Hub \cite{JenkinsDockerA6}.
|
||||
The requested tag was \texttt{jenkins/jenkins:lts-jdk21}; the installed
|
||||
application reported version \textbf{2.580.1}. The deployed image is pinned
|
||||
to the following immutable repository digest:
|
||||
\begin{lstlisting}
|
||||
jenkins/jenkins@sha256:
|
||||
a660310e39ade10631f774bacd5219de767dfd08947ea5c32a739b5e5bb382c1
|
||||
\end{lstlisting}
|
||||
The digest is one uninterrupted image reference in the actual Compose file.
|
||||
The configuration lives at \path{/home/codex/myfileagent-gitea/compose.jenkins.yaml}
|
||||
and is versioned in
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/assignment6/python-ci/ops/jenkins/compose.jenkins.yaml}{the feature branch's Jenkins Compose file}.
|
||||
The non-secret excerpt is:
|
||||
\begin{lstlisting}
|
||||
services:
|
||||
jenkins:
|
||||
container_name: myfileagent-jenkins
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
JAVA_OPTS: "-Xms64m -Xmx256m"
|
||||
mem_limit: 448m
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
volumes:
|
||||
- jenkins-home:/var/jenkins_home
|
||||
networks:
|
||||
- gitea-private
|
||||
volumes:
|
||||
jenkins-home:
|
||||
\end{lstlisting}
|
||||
The full file includes the pinned image reference. Jenkins shares the
|
||||
existing private bridge with Gitea and Caddy. The volume
|
||||
\texttt{myfileagent-gitea\_jenkins-home} stores configuration, accounts,
|
||||
credentials, plugins and jobs outside the disposable container layer.
|
||||
The JVM heap limit is not the whole process's memory footprint; the Docker
|
||||
limit bounds the container. Neither limit proves that every future workload
|
||||
fits. Jobs should be run one at a time on this small host.
|
||||
|
||||
\subsection{Verification and recovery}
|
||||
\EvidenceID{A6-DEPLOY-01}: the combined Compose configuration validated before
|
||||
startup. The first start stalled and a fresh SSH connection timed out.
|
||||
The operator stopped only Jenkins and verified Gitea HTTPS remained HTTP 200.
|
||||
A subsequent start completed initialization and returned HTTP 200 from the
|
||||
internal login page. The original attempt also logged an initialization
|
||||
class-loading exception; its underlying cause was not established, so the
|
||||
report does not attribute that exception conclusively to memory.
|
||||
|
||||
Adding a loopback port mapping recreated the container without deleting its
|
||||
home volume. Later, installing Gitea plugins required a restart. The named
|
||||
administrator account and saved Jenkins URL remained usable afterward.
|
||||
These initial observations established retained setup state. The dedicated
|
||||
job-before/job-after restart test was subsequently performed as follows.
|
||||
Restart persistence is \textbf{not a backup/restore test}; no Jenkins backup
|
||||
test has been performed or is claimed.
|
||||
|
||||
\subsection{Verified job restart and persistence}
|
||||
\EvidenceID{A6-PERSIST-01}: before restarting Jenkins, the operator recorded
|
||||
13 saved files: the multibranch/child-job configuration, six historical
|
||||
\texttt{build.xml} records, and build-number state. Each file's path, byte
|
||||
length and SHA-256 digest was saved. The six builds comprised feature-branch
|
||||
build 1, PR 11 builds 1--4, and main build 1. The command was:
|
||||
\begin{lstlisting}
|
||||
cd /home/codex/myfileagent-gitea
|
||||
docker compose -f compose.yaml -f compose.jenkins.yaml restart jenkins
|
||||
\end{lstlisting}
|
||||
No volume was deleted. After readiness returned, all 13 files were present
|
||||
with unchanged hashes and sizes. Jenkins HTTPS login and Gitea both returned
|
||||
HTTP 200. The authenticated browser displayed the saved multibranch pipeline,
|
||||
both branches, the PR and previous build history. Evidence is retained in
|
||||
\path{evidence/assignment6/persistence/before.json},
|
||||
\path{evidence/assignment6/persistence/after.json} and
|
||||
\path{evidence/assignment6/persistence/result.json}.
|
||||
|
||||
The operator then manually scheduled
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/2/console}{main build 2}.
|
||||
It checked out unchanged merge commit \texttt{131d605}, used the saved
|
||||
\texttt{gitea-jenkins-ci} credential, found Python 3.13.5, passed syntax and
|
||||
both unit tests, and reported SUCCESS to Gitea. The run began at 15:26:49 EDT
|
||||
(19:26:49 UTC) on October 9, 2026 and took 25 seconds. This checks usable
|
||||
pipeline behavior after restart, not merely file presence. It is an ordinary
|
||||
service restart test, not a backup/restore or a new job-bearing container
|
||||
replacement test.
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.60\linewidth]{hw6_images/post-restart-main-build2.png}
|
||||
\caption[Post-restart main build 2 passed]{October 9, 2026: saved main job
|
||||
build 2 succeeds after Jenkins restart on merge commit \texttt{131d605}.
|
||||
The linked console records checkout, Python, both tests and status delivery.}
|
||||
\label{fig:a6-persistence}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Recorded plugin versions}
|
||||
The operator recorded installed plugin manifests after restart. Key versions
|
||||
are listed below; the complete dependency inventory is retained at
|
||||
\path{documentation/evidence/assignment6/plugin-inventory.txt}.
|
||||
\begin{tabularx}{\linewidth}{L{4.3cm}Y}
|
||||
\toprule \textbf{Plugin ID} & \textbf{Observed version}\\ \midrule
|
||||
\texttt{gitea} & \texttt{283.v14b\_179495971}\\
|
||||
\texttt{gitea-checks} & \texttt{606.679.vb\_d632867a\_6b\_b\_}\\
|
||||
\texttt{git} & \texttt{5.10.1}\\
|
||||
\texttt{workflow-aggregator} & \texttt{608.v67378e9d3db\_1}\\
|
||||
\texttt{workflow-}\allowbreak\texttt{multibranch} & \texttt{842.v3a\_b\_59b\_57b\_e6e}\\
|
||||
\texttt{matrix-auth} & \texttt{3.3}\\
|
||||
\texttt{timestamper} & \texttt{1.30}\\
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
The initial strategy was ``logged-in users can do anything.'' The team
|
||||
subsequently selected Matrix-based security, granted the named administrator
|
||||
Overall/Administer, and retained no permissions for Anonymous or Authenticated
|
||||
Users; the configuration and confirmation are recorded in Section~\ref{sec:a6-auth}.
|
||||
|
||||
\section{HTTPS, Access, and Firewall}
|
||||
\subsection{Public hostname, login and certificate}
|
||||
The A record \texttt{ci.myfileagent.tech} resolves to
|
||||
\texttt{142.93.193.110}. Caddy terminates TLS and forwards privately to
|
||||
\texttt{jenkins:8080}, following the Jenkins Caddy integration approach
|
||||
\cite{JenkinsCaddyA6}. Jenkins Location is set to
|
||||
\url{https://ci.myfileagent.tech/}. Caddy's standard reverse proxy handles the
|
||||
forwarded host/protocol headers. Its added site block is:
|
||||
\begin{lstlisting}
|
||||
ci.myfileagent.tech {
|
||||
reverse_proxy jenkins:8080
|
||||
}
|
||||
\end{lstlisting}
|
||||
The file was backed up, validated in the running Caddy container, and reloaded.
|
||||
Caddy uses the existing production Let's Encrypt ACME endpoint and persistent
|
||||
certificate state; automatic HTTPS provides renewal management
|
||||
\cite{CaddyAutomaticHTTPS}. A Jenkins-hostname-specific renewal exercise has
|
||||
not yet been run.
|
||||
|
||||
\EvidenceID{A6-HTTPS-01}: external Windows HTTPS verification accepted the
|
||||
certificate and returned HTTP 200 from the complete login-page URL:
|
||||
\begin{center}
|
||||
\url{https://ci.myfileagent.tech/login}
|
||||
\end{center}
|
||||
Only the login page is visible to users who are not signed in; protected
|
||||
Jenkins pages and build details require authentication. The public Gitea
|
||||
commit-status page linked in Section~\ref{sec:a6-public-results} lets a grader
|
||||
inspect the recorded successful Jenkins status without a Jenkins login. Jenkins features require authentication: an anonymous request to
|
||||
\path{/api/json} returned HTTP 403. HTTP returned 308 with a redirect to
|
||||
HTTPS. The observed certificate issuer is Let's Encrypt YE1; validity is
|
||||
October 9, 2026 17:05:21 UTC through January 7, 2027 17:05:20 UTC, with
|
||||
\texttt{ci.myfileagent.tech} in the subject alternative name.
|
||||
The dated non-secret verification is retained at
|
||||
\path{documentation/evidence/assignment6/deployment-verification.txt}.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.88\linewidth]{hw6_images/jenkins-https-login.jpg}
|
||||
\caption{October 9, 2026: the live Jenkins HTTPS sign-in page. It supports
|
||||
web-service availability only; it is not pipeline or merge-gate evidence.}
|
||||
\label{fig:a6-login}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Access decision and port boundary}
|
||||
The team requested access from all public addresses so the professor and TA
|
||||
could open the service. Login remains required. The team states that public
|
||||
access is permitted; an independently supplied instructor approval record
|
||||
has not been attached. Chapter 4's written baseline additionally requires
|
||||
approved source ranges or a private access path. Accordingly, this manual
|
||||
records public access as a team-selected exception requiring instructor
|
||||
confirmation, rather than claiming compliance with that baseline restriction.
|
||||
|
||||
\begin{tabularx}{\linewidth}{L{2.4cm}L{3.4cm}Y}
|
||||
\toprule \textbf{Port/path} & \textbf{Configured exposure} & \textbf{Verification boundary}\\ \midrule
|
||||
443/TCP & Public Caddy HTTPS & External Jenkins login 200; authentication tested separately.\\
|
||||
80/TCP & Public Caddy HTTP & External 308 redirect; ACME validation also uses the proxy.\\
|
||||
8080/TCP & Host \texttt{127.0.0.1} only & Mapping verified; team Windows TCP check failed as expected.\\
|
||||
50000/TCP & No published agent port & No agent published; team Windows TCP check failed as expected.\\
|
||||
3000/TCP & Gitea host loopback & Existing Gitea backend mapping retained.\\
|
||||
SSH & Public TCP 22 & Current Cloud Firewall permits all IPv4 sources; IPv6 disabled on Droplet.\\
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
The earlier firewall evidence in \ChapterRef{GiteaStartupFoundation} is
|
||||
historical. On October 9, 2026, the team retired the earlier Assignment 3
|
||||
services and supplied the updated Cloud Firewall rules. Inbound rules now
|
||||
allow only TCP 22, 80 and 443 from all IPv4 and IPv6 sources; the earlier
|
||||
5050 and 8080 allowances are absent, and no 50000 allowance is present.
|
||||
Outbound ICMP and all TCP/UDP are permitted. Outbound allowances do not
|
||||
publish inbound ports. Public SSH is retained; this record does not imply
|
||||
source-restricted browser access.
|
||||
|
||||
\EvidenceID{A6-FIREWALL-01}: the Cloud Firewall is named
|
||||
\texttt{ssw590-group7-gitea-firewall}. Its attached-Droplet view lists
|
||||
\texttt{ssw590-group7-droplet}, address \texttt{142.93.193.110}, and
|
||||
``Up to date.'' The paired views below document both rules and attachment.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.76\linewidth]{hw6_images/cloud-firewall-rules.png}
|
||||
\caption{October 9, 2026, team-provided evidence: current named Cloud Firewall rules permit inbound TCP 22, 80 and 443 only; earlier 5050/8080 allowances have been removed. Broad outbound rules do not permit inbound connections.}
|
||||
\label{fig:a6-firewall-rules}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{hw6_images/cloud-firewall-attached.png}
|
||||
\caption{October 9, 2026: the firewall attachment lists \texttt{ssw590-group7-droplet}, IPv4 \texttt{142.93.193.110}, as Up to date.}
|
||||
\label{fig:a6-firewall-attachment}
|
||||
\end{figure}
|
||||
|
||||
\EvidenceID{A6-IPV4-ONLY}: the Droplet's Public IPv6 tab offers ``Enable
|
||||
IPv6,'' establishing that IPv6 is disabled. The team queried the Jenkins
|
||||
hostname for an AAAA record; the response contains the zone's SOA authority
|
||||
record and no AAAA address. The current deployment therefore uses IPv4 only;
|
||||
IPv6 exposure tests are not applicable while this remains the configuration.
|
||||
The firewall's ``All IPv6'' source entries alone do not enable IPv6.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.66\linewidth]{hw6_images/droplet-ipv6-disabled.png}
|
||||
\caption{October 9, 2026: the Droplet Public IPv6 view offers Enable IPv6; no public IPv6 is enabled. No shutdown or IPv6 activation was performed for this check.}
|
||||
\label{fig:a6-ipv6}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{hw6_images/dns-aaaa-result.png}
|
||||
\caption[CI hostname query returned no AAAA address]{October 9, 2026: team Windows query \texttt{Resolve-DnsName ci.myfileagent.tech -Type AAAA -DnsOnly} returned an SOA authority record and no AAAA address for the CI hostname.}
|
||||
\label{fig:a6-aaaa}
|
||||
\end{figure}
|
||||
|
||||
\EvidenceID{A6-HOST-FIREWALL}: the team ran the following read-only command
|
||||
as root on the named Droplet and supplied its output:
|
||||
\begin{lstlisting}
|
||||
root@ssw590-group7-droplet:~# sudo ufw status verbose
|
||||
Status: inactive
|
||||
\end{lstlisting}
|
||||
UFW does not provide active host filtering. The verified external filtering
|
||||
layer is the attached DigitalOcean Cloud Firewall, supplemented by the
|
||||
Compose loopback binding for Jenkins and the unpublished agent port. This
|
||||
command does not inventory every possible nftables/iptables rule; a complete
|
||||
host ruleset audit is not claimed. No UFW rule was enabled or changed.
|
||||
The earlier external TCP tests below were supplied before the Cloud Firewall
|
||||
cleanup; they are not relabeled as post-change tests. A fresh administrator
|
||||
SSH/HTTPS connectivity check after cleanup has not been supplied.
|
||||
|
||||
For temporary private setup, the first SSH tunnel incorrectly used the Docker
|
||||
container name as a host-side DNS name and failed. The corrected tunnel is:
|
||||
\begin{lstlisting}
|
||||
ssh -N -o ExitOnForwardFailure=yes \
|
||||
-L 8080:127.0.0.1:8080 ssw590-codex
|
||||
\end{lstlisting}
|
||||
This reaches the Droplet's loopback mapping; the final browser entry is HTTPS.
|
||||
|
||||
\subsection{Team-performed external port checks}
|
||||
\EvidenceID{A6-PORT-01}: on October 9, 2026, the team supplied PowerShell
|
||||
results from its Windows Wi-Fi computer. The commands and observed TCP
|
||||
results were:
|
||||
\begin{lstlisting}
|
||||
Test-NetConnection 142.93.193.110 -Port 8080
|
||||
# TcpTestSucceeded : False
|
||||
Test-NetConnection 142.93.193.110 -Port 50000
|
||||
# TcpTestSucceeded : False
|
||||
Test-NetConnection ci.myfileagent.tech -Port 443
|
||||
# RemoteAddress : 142.93.193.110
|
||||
# TcpTestSucceeded : True
|
||||
\end{lstlisting}
|
||||
The first two TCP attempts failed; their accompanying ICMP ping checks timed
|
||||
out as well. Ping is a separate observation and is not the basis for the TCP
|
||||
conclusion. The successful 443 check establishes reachability from the same
|
||||
client network, while raw Jenkins and agent ports were unreachable there.
|
||||
These are team-performed tests, not independently rerun by Codex; no exact
|
||||
execution time was supplied. The result does not identify which network rule
|
||||
caused the failed connection and does not establish every source network or
|
||||
IPv6 path. Client private-address details are omitted from the retained
|
||||
sanitized evidence \path{evidence/assignment6/external-port-checks.txt}.
|
||||
|
||||
\section{Gitea Trigger and Traceability}
|
||||
\subsection{Repository integration and actual deployment}
|
||||
The product repository is
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline}{myfileagent/myfileagent-pipeline}.
|
||||
The dedicated non-admin Gitea identity \texttt{jenkins-ci} has Write collaborator
|
||||
access to this repository. The Jenkins Gitea server entry is named
|
||||
``MyFileAgent Gitea'' and uses \url{https://myfileagent.tech}.
|
||||
Jenkins detected Gitea version 1.27.3. The Multibranch Pipeline is
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/}{myfileagent-python-ci}.
|
||||
It uses credential ID \texttt{gitea-jenkins-ci}, owner \texttt{myfileagent}, and
|
||||
repository \texttt{myfileagent-pipeline}. Branch discovery excludes branches
|
||||
already filed as PRs; origin PR discovery selects the current PR revision.
|
||||
Fork PR discovery was removed to avoid executing untrusted fork contributions.
|
||||
The integration uses supported Gitea plugin capabilities \cite{GiteaPluginA6}.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\resizebox{\linewidth}{!}{%
|
||||
\begin{tikzpicture}[font=\small, >=Latex,
|
||||
component/.style={draw,rounded corners,align=center,minimum width=3cm,minimum height=1.1cm},
|
||||
data/.style={draw,align=center,fill=devopsLightBlue,minimum width=2.8cm,minimum height=1cm}]
|
||||
\draw[dashed,rounded corners] (0,-5.1) rectangle (15,3.3);
|
||||
\node[anchor=north west] at (0.15,3.15) {\textit{\(\ll\)device\(\gg\) DigitalOcean Droplet}};
|
||||
\node[component] (firewall) at (1.8,1.6) {Cloud Firewall\\existing web rules};
|
||||
\node[component] (proxy) at (8,1.6) {\(\ll\)container\(\gg\)\\Caddy TLS proxy};
|
||||
\node[component] (gitea) at (3.2,-1) {\(\ll\)container\(\gg\)\\Gitea :3000};
|
||||
\node[component] (jenkins) at (11.8,-1) {\(\ll\)container\(\gg\)\\Jenkins :8080\\checkout + tests here};
|
||||
\node[data] (gdata) at (3.2,-3.1) {\(\ll\)volume\(\gg\)\\repositories + SQLite};
|
||||
\node[data] (jdata) at (11.8,-3.1) {\(\ll\)volume\(\gg\)\\jenkins-home};
|
||||
\node[component] (browser) at (-4.5,1.6) {Team / grader\\browser\\\href{https://ci.myfileagent.tech/login}{CI login: HTTPS}};
|
||||
\draw[->] (browser) -- node[above]{HTTPS 443} (firewall);
|
||||
\draw[->] (firewall) -- (proxy);
|
||||
\draw[->] (proxy) -- node[left]{\href{http://gitea:3000/}{private HTTP :3000}} (gitea);
|
||||
\draw[->] (proxy) -- node[right]{\href{http://jenkins:8080/}{private HTTP :8080}} (jenkins);
|
||||
\draw[->] (gitea) -- (gdata);
|
||||
\draw[->] (jenkins) -- (jdata);
|
||||
\draw[->] (jenkins.west) -- node[midway,above,align=center,font=\scriptsize,fill=white,inner sep=2pt]{checkout + API status\\\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline.git}{HTTPS via myfileagent.tech}} (gitea.east);
|
||||
\draw[->] (gitea.south east) -- node[midway,below,align=center,font=\scriptsize,fill=white,inner sep=2pt]{\href{http://jenkins:8080/gitea-webhook/post}{private webhook POST}\\verified HTTP 200: Processed} (jenkins.south west);
|
||||
\node[align=center,font=\scriptsize] at (7.5,-4.4) {Shared private Compose bridge; controller executor; no separate agent.\\Diagram shows service roles; the verified Git/API URL routes through Caddy.};
|
||||
\end{tikzpicture}}
|
||||
\caption{Actual Assignment 6 deployment adapted from instruction Figure 4.2.
|
||||
Solid paths identify configured service relationships, including the verified
|
||||
private webhook. Its public proxy endpoint is blocked with HTTP 403. Public HTTPS browser access is the team's selected
|
||||
access policy. Builds run on the Jenkins controller, with persistent home
|
||||
storage and Gitea SQLite/repository volumes.}
|
||||
\label{fig:a6-deployment}
|
||||
\end{figure}
|
||||
\paragraph{Actual routes (clickable endpoints).}
|
||||
Browser access is \href{https://ci.myfileagent.tech/login}{HTTPS CI login}
|
||||
through the Cloud Firewall and Caddy to
|
||||
\href{http://jenkins:8080/}{Jenkins on the private bridge}.
|
||||
Public repository/status viewing uses
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/commits/branch/main}{Gitea commit history}
|
||||
through Caddy to \href{http://gitea:3000/}{private Gitea port 3000}.
|
||||
Jenkins checks out
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline.git}{the actual HTTPS Git remote}
|
||||
and reports status through
|
||||
\href{https://myfileagent.tech/api/v1/repos/myfileagent/myfileagent-pipeline/statuses/131d605c5edb5b5080e4d54861c3c7bf7c360c9c}{Gitea's commit-status API}
|
||||
using its stored credential. Gitea delivers repository events by POST to
|
||||
\url{http://jenkins:8080/gitea-webhook/post}; that Docker-only hostname is
|
||||
reachable inside the shared bridge, not from a grader's browser. Status
|
||||
publication uses authenticated POST; its API link identifies the route,
|
||||
not a browser action to perform. Only the HTTPS viewing links are grader-facing.
|
||||
|
||||
|
||||
\subsection{Observed trigger and scope correction}
|
||||
\EvidenceID{A6-TRIGGER-01}: the operator explicitly requested a multibranch scan.
|
||||
The scan initially found no Jenkinsfile. After adding the feature branch,
|
||||
another scan discovered it and started build 1. This was a \textbf{manual
|
||||
branch-indexing trigger}, not a proven webhook or polling trigger.
|
||||
Repository discovery first returned an empty list with the narrower token.
|
||||
Adding organization Read scope to a replacement token and updating the
|
||||
Jenkins credential made \texttt{myfileagent-pipeline} available. The initial
|
||||
symptom was not accompanied by a captured HTTP error, so no specific 403
|
||||
diagnosis is claimed. Gitea scopes separate organization API routes
|
||||
\cite{GiteaScopesA6}.
|
||||
|
||||
The tested branch is \texttt{assignment6/python-ci}; the complete commit is
|
||||
\begin{lstlisting}
|
||||
041adfcda4d37d7c1da7de1861d98cc98e6e64b2
|
||||
\end{lstlisting}
|
||||
The corresponding
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/assignment6\%252Fpython-ci/1/console}{Jenkins build 1 console}
|
||||
prints that checkout revision and reports the final result. At this initial
|
||||
stage the webhook had not yet been configured. The following subsection
|
||||
records its subsequent private-network implementation and automatic runs;
|
||||
no public raw 8080 listener was needed.
|
||||
|
||||
\subsection{Verified private webhook}
|
||||
\EvidenceID{A6-WEBHOOK-01}: repository hook 1 uses POST with
|
||||
\texttt{application/json}, active push and PR events, and branch filter
|
||||
\texttt{*}. Its destination is \url{http://jenkins:8080/gitea-webhook/post}
|
||||
on the shared private Docker bridge. Gitea's destination allowlist was set
|
||||
to \texttt{external,jenkins}; no blanket private-network wildcard was added.
|
||||
The persistent Gitea container was recreated to apply that environment setting;
|
||||
Gitea returned HTTP 200 afterward, and the team signed in again.
|
||||
|
||||
The installed Jenkins handler does not verify a shared-secret HMAC. The hook
|
||||
secret is therefore empty; this report does not claim signature authentication.
|
||||
Instead Caddy blocks \texttt{/gitea-webhook} and all subpaths on the public CI
|
||||
site with HTTP 403, while the internal destination remains available. Raw
|
||||
8080 stays loopback-only. Versioned reproduction files are
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/jenkins/compose.webhook.yaml}{the exact-host Compose override} and
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/jenkins/Caddyfile.jenkins}{the Caddy site block}.
|
||||
|
||||
The repaired-head delivery \texttt{e0de474d-209a-48f1-a50e-67c79bd447d5}
|
||||
returned HTTP 200 with body \texttt{Processed} at 19:05:55 UTC.
|
||||
Jenkins separately recorded the PR event, checkout SHA and test result.
|
||||
PR opening, failure push, repair push, final configuration push and merge
|
||||
all triggered builds without a manual rescan. Status events are not selected,
|
||||
so Jenkins status reporting does not form a webhook feedback loop.
|
||||
The delivery screenshot and sanitized hook configuration are retained in
|
||||
the Assignment 6 evidence folder. A successful delivery alone is not a
|
||||
passing test result.
|
||||
|
||||
\section{Versioned Pipeline and Tests}
|
||||
\label{sec:a6-public-results}
|
||||
\paragraph{Public Gitea evidence for the grader.}
|
||||
Open \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/commits/branch/main}{the public main-branch commit-status page}.
|
||||
The merge row \texttt{131d605c5e} and repaired commit \texttt{02d31699aa}
|
||||
show successful checks; the controlled defect \texttt{d6477b3df6} shows a
|
||||
failed check. The included Gitea history screenshot preserves these results.
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/11}{Public PR 11}
|
||||
also records the review and merge. These Gitea views are the unauthenticated
|
||||
evidence entry points. Jenkins console links below provide additional detail
|
||||
for signed-in operators; graders do not need a Jenkins account to inspect the
|
||||
public Gitea results. A passing main check is not a substitute for the
|
||||
commit-specific PR merge-gate evidence in Section 11.5.
|
||||
|
||||
\paragraph{Public workflow job following the merge.}
|
||||
The grader can also open
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/13/jobs/13}{Gitea Actions run 13, job 13}
|
||||
to inspect the workflow associated with the merge of PR 11 into main.
|
||||
This page identifies the \texttt{manual-pdf.yml} manual-build job and provides
|
||||
additional public evidence of the repository's automated workflow.
|
||||
It is a Gitea Actions job, separate from the Jenkins Python checks. The
|
||||
Gitea commit-status view above supplies the Jenkins result; this Actions
|
||||
link complements that evidence rather than replacing the Jenkins test or
|
||||
required-check records.
|
||||
|
||||
\phantomsection\label{GlossaryRef:jenkinsfile}\index{Jenkinsfile}\index{unit test}
|
||||
\subsection{Application, dependencies and clean run}
|
||||
The team chose the instruction's permitted Python pricing application.
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/assignment6/python-ci/pricing.py}{pricing.py}
|
||||
multiplies price by quantity and raises ValueError for quantities below one.
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/assignment6/python-ci/tests/test_pricing.py}{The test file}
|
||||
asserts that \texttt{total\_price(10, 3)} equals 30 and that zero quantity is
|
||||
rejected. The pipeline is a root-level
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/assignment6/python-ci/Jenkinsfile}{Jenkinsfile}.
|
||||
\begin{lstlisting}
|
||||
stage('Checkout') {
|
||||
steps { checkout scm; sh 'git rev-parse HEAD' }
|
||||
}
|
||||
stage('Syntax check') {
|
||||
steps {
|
||||
sh 'python3 --version'
|
||||
sh 'python3 -m py_compile pricing.py tests/test_pricing.py'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps { sh 'python3 -m unittest discover -s tests -v' }
|
||||
}
|
||||
\end{lstlisting}
|
||||
The full Declarative Pipeline disables default checkout and concurrent builds,
|
||||
adds timestamps, enforces a five-minute timeout and retains ten builds.
|
||||
Python 3.13.5 was installed from the image's Debian repositories; Git 2.47.3
|
||||
was present. There are no pip dependencies, Docker socket mounts or separate
|
||||
build agents. Checks execute as the Jenkins container user in
|
||||
\path{/var/jenkins_home/workspace/_python-ci_assignment6_python-ci}.
|
||||
The operator used root only for package installation, not pipeline execution.
|
||||
|
||||
For a clean local check, clone the repository, select the feature branch and run:
|
||||
\begin{lstlisting}
|
||||
python3 -m py_compile pricing.py tests/test_pricing.py
|
||||
python3 -m unittest discover -s tests -v
|
||||
\end{lstlisting}
|
||||
Expected result: syntax exits zero; two tests pass. Invalid syntax or a failed
|
||||
assertion must cause a nonzero exit and fail its Jenkins stage.
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/assignment6/python-ci/ops/jenkins/install-python.sh}{The versioned Python installation helper}
|
||||
must be rerun after Jenkins container replacement. The installed Python
|
||||
packages survive a restart but are not in the pinned base image or persistent
|
||||
home volume. This limitation is explicit rather than treating package
|
||||
installation as a reproducible custom image build.
|
||||
|
||||
\subsection{First verified run}
|
||||
\EvidenceID{A6-BUILD-01}: local syntax and both tests passed before commit.
|
||||
The first push failed because the shell had no interactive Git credential;
|
||||
the operator reused the existing restricted credential helper without exposing
|
||||
its values. The branch then pushed successfully. Jenkins build 1 checked out
|
||||
\texttt{041adfc}, completed all three stages and finished SUCCESS.
|
||||
The console contains the following sanitized results:
|
||||
\begin{lstlisting}
|
||||
Python 3.13.5
|
||||
test_invalid_quantity ... ok
|
||||
test_total ... ok
|
||||
Ran 2 tests in 0.004s
|
||||
OK
|
||||
[Gitea] Notifying branch build status: SUCCESS
|
||||
[Gitea] Notified
|
||||
Finished: SUCCESS
|
||||
\end{lstlisting}
|
||||
\subsection{Readable post-restart run evidence}
|
||||
\EvidenceID{A6-BUILD-02}: the team supplied the Pipeline Steps and console
|
||||
views of main build 2 plus its console text. The controller workspace is
|
||||
\path{/var/jenkins_home/workspace/myfileagent-python-ci_main}. Checkout,
|
||||
syntax compilation and both tests completed; Gitea received SUCCESS.
|
||||
The complete tested revision is:
|
||||
\begin{lstlisting}
|
||||
131d605c5edb5b5080e4d54861c3c7bf7c360c9c
|
||||
\end{lstlisting}
|
||||
The sanitized excerpt pairs the exact checkout with each stage's outcome:
|
||||
\begin{lstlisting}[basicstyle=\ttfamily\footnotesize]
|
||||
[Pipeline] { (Checkout)
|
||||
Checking out Revision
|
||||
131d605c5edb5b5080e4d54861c3c7bf7c360c9c (main)
|
||||
+ git rev-parse HEAD
|
||||
131d605c5edb5b5080e4d54861c3c7bf7c360c9c
|
||||
[Pipeline] { (Syntax check)
|
||||
+ python3 --version
|
||||
Python 3.13.5
|
||||
+ python3 -m py_compile pricing.py tests/test_pricing.py
|
||||
[Pipeline] { (Test)
|
||||
+ python3 -m unittest discover -s tests -v
|
||||
test_invalid_quantity ... ok
|
||||
test_total ... ok
|
||||
Ran 2 tests in 0.000s
|
||||
OK
|
||||
[Gitea] Notifying branch build status: SUCCESS
|
||||
[Gitea] Notified
|
||||
Finished: SUCCESS
|
||||
\end{lstlisting}
|
||||
Expected result: successful checkout, syntax exit zero, both tests passing,
|
||||
and a successful reported status. Actual result: all expected results were
|
||||
observed in this run. The permanent link is
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/2/console}{main build 2 console}.
|
||||
The screenshot's localhost address is the team's temporary access path, not
|
||||
the grader-facing service URL. This main-branch run supports pipeline and
|
||||
restart verification; the separate PR runs below prove the merge gate.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{hw6_images/main2-pipeline-stages.png}
|
||||
\caption{October 9, 2026: main build 2 Pipeline Steps shows green Checkout and Syntax check stage results on merge commit \texttt{131d605}. The companion console excerpt identifies the full tested revision.}
|
||||
\label{fig:a6-stages}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth,trim=205 55 337.5 65,clip]{hw6_images/main2-tests-success.png}
|
||||
\caption{October 9, 2026: the same main build 2 shows both unit tests passing, Gitea status notification and Finished: SUCCESS on commit \texttt{131d605}. The private localhost URL is not the submission access URL.}
|
||||
\label{fig:a6-test-results}
|
||||
\end{figure}
|
||||
|
||||
\section{Required Merge Gate}
|
||||
\phantomsection\label{GlossaryRef:requiredcheck}\index{merge gate}\index{status check}
|
||||
\EvidenceID{A6-GATE-01}: the first branch build used context
|
||||
\texttt{myfileagent-python-ci/pipeline/head}. The first actual PR build
|
||||
revealed a different context, so the rule was corrected to require:
|
||||
\begin{lstlisting}
|
||||
myfileagent-python-ci/pipeline/pr-main
|
||||
\end{lstlisting}
|
||||
This context is emitted by the Gitea integration on the latest PR head;
|
||||
installation of Gitea Checks alone does not prove enforcement
|
||||
\cite{GiteaChecksA6}. The saved rule for \texttt{main} disables direct pushes
|
||||
and force pushes, requires one approval, dismisses stale approvals, blocks
|
||||
rejected reviews and outstanding official review requests, and disables
|
||||
administrator merge override. The versioned rule is
|
||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/jenkins/main-branch-protection.json}{the applied branch-protection record}.
|
||||
|
||||
A missing/queued check showed ``Some required checks are missing.'' After
|
||||
build 2 failed, Gitea showed ``Some required checks failed'' and prevented an
|
||||
ordinary merge. After repair, the same required check passed, but the missing
|
||||
review still blocked merging. Nick's subsequent approval satisfied the review
|
||||
requirement and enabled the ordinary Create merge commit action. No bypass
|
||||
was used. Figures~\ref{fig:a6-failed-gate} and~\ref{fig:a6-repaired-gate}
|
||||
record the failed and repaired states; the exact context and SHA are also
|
||||
retained in \path{evidence/assignment6/pr11-check-evidence.json}.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.60\linewidth,trim=0 1330 0 850,clip]{hw6_images/pr-11-failed-gate.png}
|
||||
\caption[Failed PR check blocks merging (October 9, 2026)]{October 9, 2026, 15:04 EDT: PR 11 head \texttt{d6477b3}; required
|
||||
\texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main} failed in Jenkins PR build 2.
|
||||
Gitea states that required checks were unsuccessful and blocks ordinary merge.
|
||||
The crop retains the failed commit and gate; the full original is retained
|
||||
in the Assignment 6 evidence folder.}
|
||||
\label{fig:a6-failed-gate}
|
||||
\end{figure}
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.60\linewidth]{hw6_images/pr-11-repaired-gate.png}
|
||||
\caption{October 9, 2026, after the 15:05 EDT repair: PR head
|
||||
\texttt{02d3169}; required context
|
||||
\texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main}
|
||||
passed in Jenkins PR build 3.
|
||||
The pending human review remained an independent merge blocker.
|
||||
This is the repaired green-check state, distinct from the preceding failed
|
||||
red-check screenshot; neither screenshot claims peer approval was already granted.}
|
||||
\label{fig:a6-repaired-gate}
|
||||
\end{figure}
|
||||
|
||||
\section{Failure, Repair, and Review}
|
||||
\EvidenceID{A6-PR-01}: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/10}{issue 10}
|
||||
tracks the CI acceptance exercise. \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/11}{PR 11}
|
||||
links it with \texttt{Closes \#10}, targets \texttt{main}, and requests review
|
||||
from \texttt{nkogut}. GDL's account \texttt{glovely} authored the PR;
|
||||
the tracking issue was created while signed in as \texttt{jenkins-ci}.
|
||||
NK's existing README name correction was preserved by fast-forwarding the
|
||||
local checkout before the exercise.
|
||||
|
||||
\begin{tabularx}{\linewidth}{L{2.5cm}L{2.4cm}Y}
|
||||
\toprule \textbf{Head / run} & \textbf{Result} & \textbf{Observed event and evidence}\\ \midrule
|
||||
\texttt{ad056a3} / PR 1 & SUCCESS & PR-open webhook automatically discovered PR 11; checkout, syntax and both tests passed.\\
|
||||
\texttt{d6477b3} / PR 2 & FAILURE & Multiplication changed to addition only on the feature branch; normal-total test failed with \texttt{13 != 30}; required check blocked merge.\\
|
||||
\texttt{02d3169} / PR 3 & SUCCESS & Multiplication restored without weakening either test; push/synchronization automatically rebuilt the repaired head.\\
|
||||
\texttt{b7ef485} / PR 4 & SUCCESS & Private webhook/proxy/protection configuration and operating notes versioned; final PR head passed both tests before review.\\
|
||||
\texttt{131d605} / main 1 & SUCCESS & Human merge produced a new main commit; webhook automatically built it and both tests passed.\\
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
Run links: \href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/2/console}{failed PR build 2},
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/3/console}{repaired PR build 3},
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/4/console}{final PR build 4}, and
|
||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/1/console}{post-merge main build 1}.
|
||||
The controlled failed run retained the invalid-quantity test as passing and
|
||||
returned exit code 1 from the normal-total assertion. No production service
|
||||
failure was needed to demonstrate the gate.
|
||||
|
||||
At 15:13 EDT, \texttt{nkogut} approved the final head with the comment
|
||||
``Good changes demonstrating Jenkins + Gitea.'' Gitea then explicitly stated
|
||||
that the PR could be merged automatically. GDL used the normal merge action
|
||||
at 15:14:45 EDT (19:14:45 UTC). PR 11 is merged and closed, and issue 10 closed
|
||||
through its linked closing reference. Codex verified the review, merge and
|
||||
post-merge build; it did not submit the human approval or click the merge.
|
||||
The full merge revision is:
|
||||
\begin{lstlisting}
|
||||
131d605c5edb5b5080e4d54861c3c7bf7c360c9c
|
||||
\end{lstlisting}
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.60\linewidth]{hw6_images/pr-11-approved-merge-eligible.png}
|
||||
\caption{October 9, 2026: Nick's approval and the passing final PR check
|
||||
made the ordinary merge action available. This is the review-satisfied state,
|
||||
not an administrator override.}
|
||||
\label{fig:a6-approved}
|
||||
\end{figure}
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.60\linewidth]{hw6_images/pr-11-merged.png}
|
||||
\caption{October 9, 2026: Gitea records GDL's merge into main and states
|
||||
that PR 11 was successfully merged and closed. The separate main build
|
||||
verified the merge commit after this action.}
|
||||
\label{fig:a6-merged}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{hw6_images/gitea-commit-sequence.png}
|
||||
\caption{October 9, 2026: Gitea main history ties failed commit \texttt{d6477b3}, repaired \texttt{02d3169}, final PR head \texttt{b7ef485}, and merge \texttt{131d605} to their recorded statuses. This overview supplements the mandatory PR merge-gate views.}
|
||||
\label{fig:a6-commit-sequence}
|
||||
\end{figure}
|
||||
|
||||
\section{Credentials and Build Boundary}
|
||||
\subsection{Identity, scope and controller risk}
|
||||
The verified named Jenkins administrator is \texttt{ssw590}, displayed as
|
||||
Gowri Das Lovely. The team created \texttt{jenkins-ci} in Gitea, completed its
|
||||
first-login password change, and approved Write access to the product
|
||||
repository. No Gitea administrator role was granted to that account.
|
||||
Its replacement token is public-only with repository Read/Write, user Read
|
||||
and organization Read scopes. Jenkins stores it as the Global Gitea Personal
|
||||
Access Token credential \texttt{gitea-jenkins-ci}; no value is in code or this
|
||||
manual. Global scope makes it available to applicable jobs, so job creation
|
||||
and pipeline editing must remain restricted to trusted team members.
|
||||
The team identifies the Bitwarden entries as \texttt{jenkins-admin} and
|
||||
\texttt{gitea-jenkins}; these are storage references, not credential values.
|
||||
On October 9, 2026, after the team reported only one
|
||||
token, Codex confirmed the signed-in account was \texttt{jenkins-ci} and its
|
||||
Applications page listed only \texttt{jenkins-ci-status}, added at 14:26 EDT
|
||||
and last used at 15:27 EDT, matching the successful post-restart build. No
|
||||
superseded token was listed; no further deletion was performed. This verifies
|
||||
the current inventory, not the historical revocation time. The token value
|
||||
was not viewed or recorded; the list screenshot is retained as evidence.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.94\linewidth]{hw6_images/jenkins-ci-repository-write-access.jpg}
|
||||
\caption{October 9, 2026: the dedicated integration identity has Write access
|
||||
to the product repository. The permission supports status reporting and also
|
||||
allows code changes; the account is not a site administrator.}
|
||||
\label{fig:a6-ci-account}
|
||||
\end{figure}
|
||||
|
||||
Builds run on the \textbf{controller executor}, a permitted but higher-risk
|
||||
assignment choice. Pipeline code can access the controller's workspace and
|
||||
potentially sensitive service state. The current controller has two configured
|
||||
executors; each job disables concurrent builds. The team has not yet reduced
|
||||
the global executor count to one. Only trusted team members should author
|
||||
the Jenkinsfile; the integration account itself has repository Write access.
|
||||
Fork discovery is disabled, and no privileged Docker socket or inbound agent
|
||||
port is provided. Default-branch restrictions are verified in the merge-gate section.
|
||||
Named-user Matrix authorization now restricts Jenkins administration as
|
||||
described below; the general logged-in group has no permissions.
|
||||
|
||||
\subsection{Named-user authorization}
|
||||
\label{sec:a6-auth}\index{Jenkins!authorization}
|
||||
\EvidenceID{A6-AUTH-01}: the team selected \textbf{Matrix-based security}.
|
||||
The named Jenkins account \texttt{ssw590}, displayed as Gowri Das Lovely,
|
||||
has \textbf{Overall/Administer}. Anonymous and Authenticated Users show
|
||||
\textbf{No permissions granted}. Administrator access therefore belongs
|
||||
to the named account, not every user who can sign in. The Gitea integration
|
||||
account is a repository identity/credential, not an added Jenkins administrator.
|
||||
|
||||
The team supplied the configuration screenshot, then confirmed that
|
||||
Manage Jenkins remained accessible after saving. The screenshot shows the
|
||||
configured matrix; saved administrative access is team-confirmed rather
|
||||
than independently reread by Codex. No post-save private-window access
|
||||
result or self-registration-setting screenshot has been supplied; these
|
||||
specific checks remain unconfirmed. The earlier anonymous API denial is
|
||||
recorded separately and is not presented as a new post-change test.
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth]{hw6_images/jenkins-matrix-security.png}
|
||||
\caption{October 9, 2026, team configuration evidence: Matrix-based security grants Gowri Das Lovely Overall/Administer; Anonymous and Authenticated Users have no permissions. The team subsequently confirmed retained administrative access after saving.}
|
||||
\label{fig:a6-matrix}
|
||||
\end{figure}
|
||||
|
||||
\subsection{Operator restart and troubleshooting}
|
||||
For an ordinary restart, use the recorded Compose pair without deleting volumes:
|
||||
\begin{lstlisting}
|
||||
cd /home/codex/myfileagent-gitea
|
||||
docker compose -f compose.yaml -f compose.jenkins.yaml restart jenkins
|
||||
docker compose -f compose.yaml -f compose.jenkins.yaml ps jenkins
|
||||
curl -I https://ci.myfileagent.tech/login
|
||||
\end{lstlisting}
|
||||
Expected result: Jenkins becomes ready and the saved job remains. The
|
||||
completed persistence test above recorded unchanged before/after job state
|
||||
and a passing subsequent build; repeat this verification after future restarts.
|
||||
If startup fails, inspect filtered logs without printing setup secrets; stop
|
||||
only Jenkins if the host loses responsiveness, confirm Gitea, then diagnose
|
||||
before retry. After container replacement, rerun the Python helper before builds.
|
||||
|
||||
\phantomsection\label{GlossaryRef:webhook}\index{webhook}
|
||||
For a failed webhook, inspect Gitea event selection, delivery response and
|
||||
timestamp; verify the private destination, Docker network, configured webhook
|
||||
route and authentication/signature settings. Match the delivered head commit
|
||||
to a Jenkins run. For a failed build, identify the failed stage, confirm the
|
||||
checkout SHA and tool availability, reproduce the command, repair on the same
|
||||
branch and verify a fresh status. Never use a successful delivery as proof
|
||||
that tests passed. This is an operator procedure; no live failed webhook
|
||||
has been demonstrated yet.
|
||||
|
||||
\EvidenceID{A6-PLUGIN-01}: on October 9, 2026, the operator opened
|
||||
Manage Jenkins / Plugins / Updates and selected Check now. The freshness
|
||||
indicator changed from 1 hr 53 min old to 4.3 seconds old, and the page still
|
||||
reported ``No updates available.'' The full installed-plugin page displayed
|
||||
no plugin security, deprecated, incompatible or load-failure notices. Manage
|
||||
Jenkins showed the built-in-node warning about controller builds. That warning
|
||||
was retained and the existing trusted-controller boundary remains documented;
|
||||
no agent was added or warning dismissed. Operator action: retain the current
|
||||
plugin versions because Jenkins offered no updates; keep controller builds
|
||||
limited to trusted team code and repeat this check during maintenance.
|
||||
These observations describe Jenkins's refreshed update data and displayed
|
||||
notices, not a guarantee that no vulnerability exists.
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\linewidth,trim=0 185 0 0,clip]{hw6_images/plugin-updates-complete.png}
|
||||
\caption[Refreshed Jenkins plugin check]{October 9, 2026: after Check now,
|
||||
the team-provided completed Updates view clearly reports No updates available.
|
||||
It replaces the earlier capture made during refresh. Installed-plugin notices and the
|
||||
controller-build warning were reviewed separately.}
|
||||
\label{fig:a6-plugin-check}
|
||||
\end{figure} Do not run the manual compiler and heavy
|
||||
Jenkins jobs concurrently; cost/cleanup remains on the existing team-owned
|
||||
Droplet, with no new purchased cloud resource. On retirement, revoke the CI
|
||||
token, remove its access and DNS/proxy entry, and preserve any needed Jenkins
|
||||
home data before deleting resources.
|
||||
|
||||
\section{Manual Quality and Controls}
|
||||
This Assignment 6 work-in-progress edition is version \textbf{1.8.2}, dated
|
||||
October 9, 2026, with history/AI entries attributed to \textbf{GDL, NK, CDX}.
|
||||
The history names Hosts and Passwords changes explicitly. Earlier chapters
|
||||
and the completed Assignment 5 evidence were preserved from the latest
|
||||
repository source. This chapter records decisions, expected/actual results,
|
||||
failed attempts, corrections, links and a deployment diagram. New CI terms
|
||||
are linked in the glossary and indexed; citations identify reused guidance.
|
||||
|
||||
\begin{tabularx}{\linewidth}{L{5.0cm}Y}
|
||||
\toprule \textbf{Acceptance item} & \textbf{Status at this edition}\\ \midrule
|
||||
Official Jenkins deployment and persistent home & Verified ordinary restart: 13 saved records unchanged; main build 2 passed.\\
|
||||
HTTPS URL, login and redirect & Verified; team external 8080/50000 failed and 443 passed; current Cloud Firewall attachment/rules and IPv4-only status documented; public-access approval remains unresolved.\\
|
||||
Repository discovery and traceable run & Verified private webhook, PR events, pushes and post-merge main run.\\
|
||||
Versioned pipeline and meaningful tests & Initial and repaired/final PR heads passed; main build 2 stage/commit/test evidence added.\\
|
||||
Protected default branch and required check & Verified exact PR context; failure blocked merge; normal merge after approval.\\
|
||||
Issue-linked failure, repair, review and merge & Verified issue 10 / PR 11; NK approved, GDL merged.\\
|
||||
Credentials and build boundary & Matrix administrator permissions and retained access team-confirmed; plugin evidence replaced. Bitwarden references recorded; private-window/self-registration checks unconfirmed.\\
|
||||
Document controls and final submission & Version/history/registries updated; publication commit/run and artifact are identified on the Build Identity page and in Section 10.5.\\
|
||||
\bottomrule
|
||||
\end{tabularx}
|
||||
|
||||
@@ -14,13 +14,10 @@ For security reasons, passwords in this document are stored only as links to ano
|
||||
\multicolumn{4}{l}{\small\itshape Credential Registry (continued)}\\
|
||||
\toprule \textbf{User} & \textbf{Server} & \textbf{Credential Reference} & \textbf{Rotation / Notes}\\ \midrule
|
||||
\endhead \bottomrule \endlastfoot
|
||||
Group 7 & Droplet (DigitalOcean) & Bitwarden: \texttt{DigitalOcean Droplet} & Cloud administration; rotate periodically.\\
|
||||
\texttt{nkogut} & MyFileAgent Gitea & Bitwarden: \texttt{Gitea - Nick} & Named Gitea administrator.\\
|
||||
\texttt{glovely} & MyFileAgent Gitea & Bitwarden: \texttt{Gitea - Gowri} & Named Gitea administrator.\\
|
||||
Group 7 & \texttt{.TECH domains} & Bitwarden: \texttt{.tech Domain} & Domain registrar access.\\
|
||||
Group 7 & Actions runner & Restricted state: \texttt{.runner} & Outside Git; mode 600. Revoke on retirement.\\
|
||||
\texttt{glovely} & Setup access & Restricted temporary token file & Repository-write setup only; revoke after use.\\
|
||||
\texttt{ssw590} & Jenkins & Bitwarden: \texttt{jenkins-admin} & Named Matrix administrator.\\
|
||||
\texttt{jenkins-}\allowbreak\texttt{ci} & Gitea & Bitwarden: \texttt{gitea-jenkins} & Non-admin; product repository Write access.\\
|
||||
\texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\
|
||||
Group 7 & Droplet (DigitalOcean) & Password manager entry: \texttt{DigitalOcean Droplet} & Credentials for droplet resource management web interface; rotate every 90 days\\
|
||||
\texttt{nkogut} & MyFileAgent Gitea & Password manager entry: \texttt{Gitea - Nick} & Individual Gitea administrator account; keep distinct from other service credentials\\
|
||||
\texttt{glovely} & MyFileAgent Gitea & Password manager entry: \texttt{Gitea - Gowri} & Individual Gitea administrator account; keep distinct from other service credentials\\
|
||||
Group 7 & \texttt{.TECH domains} & Password manager entry: \texttt{.tech Domain} & Registrar access for \texttt{myfileagent.tech}\\
|
||||
Group 7 & Actions runner & Restricted runner-state directory; \texttt{.runner} file & Repository registration; mode-700 directory and mode-600 state. No value stored here. Re-register/revoke on compromise or retirement.\\
|
||||
\texttt{glovely} & Setup access & Restricted temporary token file outside Git & \texttt{write:repository} scope; used by authorized setup, never injected into jobs. Revoke when implementation ends.\\
|
||||
\end{tabularx}
|
||||
|
||||
@@ -34,7 +34,7 @@ revision and checksum will make repeated pipeline runs reproducible.
|
||||
|
||||
\section{Demonstration Task}
|
||||
|
||||
The pipeline's end-to-end acceptance test will demonstrate installation, configuration, deployment, and usage of the LLM model. Each step of this process will be clearly displayed using visual metrics from GitHub actions, DigitalOcean droplet system resource monitoring, and Grafana. Finally, the following task (implemented as a test case) will demonstrate that this process was successful:
|
||||
The pipeline's end-to-end acceptance test will demonstrate installation, configuration, deployment, and usage of the LLM model. Each step of this process will be clearly displayed using visual metrics from GitHub actions, DigitalOcean droplet system resource monitoring, and Grafana. Finally, the following task (implemented as a test case) will demonstrate that this process was successful:
|
||||
|
||||
\begin{quote}
|
||||
``In the approved demonstration folder, open the file about \texttt{project status}, verify
|
||||
|
||||
@@ -128,38 +128,3 @@
|
||||
author={{Gitea}}, title={Configuration Cheat Sheet: Actions},
|
||||
howpublished={\url{https://docs.gitea.com/1.27/administration/config-cheat-sheet/}},
|
||||
note={Accessed October 6, 2026}}
|
||||
|
||||
@misc{JenkinsDockerA6,
|
||||
author = {{Jenkins Project}},
|
||||
title = {Installing Jenkins with Docker},
|
||||
howpublished = {\url{https://www.jenkins.io/doc/book/installing/docker/}},
|
||||
note = {Accessed October 9, 2026}
|
||||
}
|
||||
|
||||
@misc{JenkinsCaddyA6,
|
||||
author = {{Jenkins Project}},
|
||||
title = {Reverse proxy configuration with Caddy},
|
||||
howpublished = {\url{https://www.jenkins.io/doc/book/system-administration/reverse-proxy-configuration-with-jenkins/reverse-proxy-configuration-caddy/}},
|
||||
note = {Accessed October 9, 2026}
|
||||
}
|
||||
|
||||
@misc{GiteaPluginA6,
|
||||
author = {{Jenkins Project}},
|
||||
title = {Gitea plugin},
|
||||
howpublished = {\url{https://plugins.jenkins.io/gitea/}},
|
||||
note = {Accessed October 9, 2026}
|
||||
}
|
||||
|
||||
@misc{GiteaChecksA6,
|
||||
author = {{Jenkins Project}},
|
||||
title = {Gitea Checks plugin},
|
||||
howpublished = {\url{https://plugins.jenkins.io/gitea-checks/}},
|
||||
note = {Accessed October 9, 2026}
|
||||
}
|
||||
|
||||
@misc{GiteaScopesA6,
|
||||
author = {{Gitea Limited}},
|
||||
title = {Token scopes},
|
||||
howpublished = {\url{https://docs.gitea.com/development/oauth2-provider/#scopes}},
|
||||
note = {Accessed October 9, 2026}
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
Verification UTC: 2026-10-09 18:40:19
|
||||
Image=jenkins/jenkins@sha256:a660310e39ade10631f774bacd5219de767dfd08947ea5c32a739b5e5bb382c1 RestartPolicy=unless-stopped PortBindings={"8080/tcp":[{"HostIp":"127.0.0.1","HostPort":"8080"}]}
|
||||
Volume=myfileagent-gitea_jenkins-home Destination=/var/jenkins_home
|
||||
|
||||
Python 3.13.5
|
||||
HTTPS login: 200
|
||||
Anonymous API: 403
|
||||
HTTP/1.1 308 Permanent Redirect
|
||||
Connection: close
|
||||
Location: https://ci.myfileagent.tech/
|
||||
Server: Caddy
|
||||
Date: Fri, 09 Oct 2026 18:40:20 GMT
|
||||
|
||||
issuer=C = US, O = Let's Encrypt, CN = YE1
|
||||
notBefore=Oct 9 17:05:21 2026 GMT
|
||||
notAfter=Jan 7 17:05:20 2027 GMT
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:ci.myfileagent.tech
|
||||
@@ -1,5 +0,0 @@
|
||||
Team-supplied Windows PowerShell results, recorded October 9, 2026. Exact execution time not supplied.
|
||||
Test-NetConnection 142.93.193.110 -Port 8080: TcpTestSucceeded False; ping TimedOut
|
||||
Test-NetConnection 142.93.193.110 -Port 50000: TcpTestSucceeded False; ping TimedOut
|
||||
Test-NetConnection ci.myfileagent.tech -Port 443: RemoteAddress 142.93.193.110; TcpTestSucceeded True
|
||||
Private client details omitted. These results do not identify the blocking rule or verify IPv6.
|
||||
@@ -1,67 +0,0 @@
|
||||
[
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/1/build.xml",
|
||||
"sha256": "bd4269cfed12a0e6b0a0a6053c8257eca92470d78c7127e14dce02e831f10168",
|
||||
"bytes": 19593
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/2/build.xml",
|
||||
"sha256": "00b049c4a5b62002139818b572744a5f58fda28a5a1ebc907bfcae4a5adcc69c",
|
||||
"bytes": 19211
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/3/build.xml",
|
||||
"sha256": "8adecc92852e74dcc58d7fb38f6e47731c0be5e66a29b32b4975ab550a8d95c6",
|
||||
"bytes": 19209
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/4/build.xml",
|
||||
"sha256": "14a9b5094aa597ca7ca51df4bc1b1ca786b5fb280ff497f54d4fc955d75604c8",
|
||||
"bytes": 19210
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/config.xml",
|
||||
"sha256": "95934bc851e86f80c7c6f2f24c5af9e2749afb71a37cfcdaf73377eab1aed14e",
|
||||
"bytes": 3290
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/nextBuildNumber",
|
||||
"sha256": "f0b5c2c2211c8d67ed15e75e656c7862d086e9245420892a7de62cd9ec582a06",
|
||||
"bytes": 2
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/assignment6-python-ci.52n4g0/builds/1/build.xml",
|
||||
"sha256": "730ac081d5bf3ea36b6327745039c02216ebae182ae8fb5e9b921dfb64a4e997",
|
||||
"bytes": 18236
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/assignment6-python-ci.52n4g0/config.xml",
|
||||
"sha256": "26ea701d344510efcb143d27184d6bded9a534480987189d01e0e54c171c83bc",
|
||||
"bytes": 3001
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/assignment6-python-ci.52n4g0/nextBuildNumber",
|
||||
"sha256": "53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3",
|
||||
"bytes": 2
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/main/builds/1/build.xml",
|
||||
"sha256": "d59c3f9f3ce011cca3203df132e12e4fd2fb50ca0718f5f4f3a802f1d8386494",
|
||||
"bytes": 18346
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/main/config.xml",
|
||||
"sha256": "b69f5315f6b00668a2c514f01175a532c01f3d22d80cda95673e0c6c478fa795",
|
||||
"bytes": 4180
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/main/nextBuildNumber",
|
||||
"sha256": "53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3",
|
||||
"bytes": 2
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/config.xml",
|
||||
"sha256": "f9696483fc29b4b70746f8f6f466eb63ad24f7722ae4529c6fed0775ba6732f9",
|
||||
"bytes": 2609
|
||||
}
|
||||
]
|
||||
@@ -1,67 +0,0 @@
|
||||
[
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/1/build.xml",
|
||||
"sha256": "bd4269cfed12a0e6b0a0a6053c8257eca92470d78c7127e14dce02e831f10168",
|
||||
"bytes": 19593
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/2/build.xml",
|
||||
"sha256": "00b049c4a5b62002139818b572744a5f58fda28a5a1ebc907bfcae4a5adcc69c",
|
||||
"bytes": 19211
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/3/build.xml",
|
||||
"sha256": "8adecc92852e74dcc58d7fb38f6e47731c0be5e66a29b32b4975ab550a8d95c6",
|
||||
"bytes": 19209
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/builds/4/build.xml",
|
||||
"sha256": "14a9b5094aa597ca7ca51df4bc1b1ca786b5fb280ff497f54d4fc955d75604c8",
|
||||
"bytes": 19210
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/config.xml",
|
||||
"sha256": "95934bc851e86f80c7c6f2f24c5af9e2749afb71a37cfcdaf73377eab1aed14e",
|
||||
"bytes": 3290
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/PR-11/nextBuildNumber",
|
||||
"sha256": "f0b5c2c2211c8d67ed15e75e656c7862d086e9245420892a7de62cd9ec582a06",
|
||||
"bytes": 2
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/assignment6-python-ci.52n4g0/builds/1/build.xml",
|
||||
"sha256": "730ac081d5bf3ea36b6327745039c02216ebae182ae8fb5e9b921dfb64a4e997",
|
||||
"bytes": 18236
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/assignment6-python-ci.52n4g0/config.xml",
|
||||
"sha256": "26ea701d344510efcb143d27184d6bded9a534480987189d01e0e54c171c83bc",
|
||||
"bytes": 3001
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/assignment6-python-ci.52n4g0/nextBuildNumber",
|
||||
"sha256": "53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3",
|
||||
"bytes": 2
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/main/builds/1/build.xml",
|
||||
"sha256": "d59c3f9f3ce011cca3203df132e12e4fd2fb50ca0718f5f4f3a802f1d8386494",
|
||||
"bytes": 18346
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/main/config.xml",
|
||||
"sha256": "b69f5315f6b00668a2c514f01175a532c01f3d22d80cda95673e0c6c478fa795",
|
||||
"bytes": 4180
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/branches/main/nextBuildNumber",
|
||||
"sha256": "53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3",
|
||||
"bytes": 2
|
||||
},
|
||||
{
|
||||
"path": "/var/jenkins_home/jobs/myfileagent-python-ci/config.xml",
|
||||
"sha256": "f9696483fc29b4b70746f8f6f466eb63ad24f7722ae4529c6fed0775ba6732f9",
|
||||
"bytes": 2609
|
||||
}
|
||||
]
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"date": "2026-10-09",
|
||||
"jenkins_login_http": 200,
|
||||
"recorded_files": 13,
|
||||
"unchanged_files": 13,
|
||||
"changed_files": [],
|
||||
"test": "ordinary Jenkins service restart; persistent volume retained; no backup/restore or container replacement tested"
|
||||
}
|
||||
@@ -1,671 +0,0 @@
|
||||
Skip to content
|
||||
Manage Jenkins
|
||||
Plugins
|
||||
Search
|
||||
Manage Jenkins
|
||||
Gowri Das Lovely
|
||||
Plugins
|
||||
Updates
|
||||
Available plugins
|
||||
Installed plugins
|
||||
Advanced settings
|
||||
Name
|
||||
↓
|
||||
|
||||
Health
|
||||
Enabled
|
||||
|
||||
|
||||
Apache HttpComponents Client 4.x API Plugin
|
||||
Version
|
||||
4.5.14-269.vfa_2321039a_83
|
||||
Bundles Apache HttpComponents Client 4.x and allows it to be used by Jenkins plugins.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
ASM API Plugin
|
||||
Version
|
||||
9.10.1-216.va_9256d3b_844b_
|
||||
This plugin provides the ASM APIs (v9.10.1) for other plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Authentication Tokens API Plugin
|
||||
Version
|
||||
1.144.v5ff4a_5ec5c33
|
||||
This plugin provides an API for converting credentials into authentication tokens in Jenkins.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
bouncycastle API Plugin
|
||||
Version
|
||||
2.30.1.86.1-306.vfc711fa_36d5f
|
||||
This plugin provides a stable API to Bouncy Castle related tasks.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Branch API Plugin
|
||||
Version
|
||||
2.1303.v9f3b_95dc329d
|
||||
This plugin provides an API for multiple branch based projects.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Caffeine API Plugin
|
||||
Version
|
||||
3.3.0-210.v71b_2985ce530
|
||||
Caffeine api plugin for use by other Jenkins plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Checks API plugin
|
||||
Version
|
||||
422.vc7e8b_51488c6
|
||||
This plugin defines an API for Jenkins to publish checks to SCM platforms.
|
||||
Report an issue with this plugin
|
||||
98
|
||||
|
||||
|
||||
|
||||
|
||||
commons-lang3 v3.x Jenkins API Plugin
|
||||
Version
|
||||
3.21.0-122.v6a_ea_4fd34049
|
||||
Jenkins Api Plugin that Bundles Apache Commons Lang v3.x.
|
||||
Usage will slim downstream plugin and not require dependency jar being provided by core Jenkins.
|
||||
Provides org.apache.commons:commons-lang3:3.21.0.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
commons-text API Plugin
|
||||
Version
|
||||
1.15.0-218.va_61573470393
|
||||
Jenkins Api Plugin that Bundles Apache Commons Text v1.x.
|
||||
Usage will slim downstream plugin.
|
||||
Provides org.apache.commons:commons-text:1.15.0.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Credentials Binding Plugin
|
||||
Version
|
||||
728.v902a_273b_8947
|
||||
Allows credentials to be bound to environment variables for use from miscellaneous build steps.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Credentials Plugin
|
||||
Version
|
||||
1511.v2e3cb_0008ef0
|
||||
This plugin allows you to store credentials in Jenkins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Display URL API
|
||||
Version
|
||||
2.217.va_6b_de84cc74b_
|
||||
Provides the DisplayURLProvider extension point to provide alternate URLs for use in notifications.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Durable Task Plugin
|
||||
Version
|
||||
686.v80ff80875b_82
|
||||
Library offering an extension point for processes which can run outside of Jenkins yet be monitored.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Folders Plugin
|
||||
Version
|
||||
6.1106.v3a_d9a_6d2465e
|
||||
This plugin allows users to create "folders" to organize jobs. Users can define custom taxonomies (like by project type, organization type etc). Folders are nestable and you can define views within folders. Maintained by CloudBees, Inc.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Git client plugin
|
||||
Version
|
||||
6.6.1
|
||||
Utility plugin for Git support in Jenkins
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Git plugin
|
||||
Version
|
||||
5.10.1
|
||||
This plugin integrates Git with Jenkins.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Gitea Checks plugin
|
||||
Version
|
||||
606.679.vb_d632867a_6b_b_
|
||||
This plugin provides Gitea commit checks API for other plugins.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Gitea Plugin
|
||||
Version
|
||||
283.v14b_179495971
|
||||
SCM API implementation for Gitea
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
Gson API Plugin
|
||||
Version
|
||||
2.14.0-201.v8eefe5515533
|
||||
This plugin provides the Gson APIs (v2.14.0) for other plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Handy Uri Templates 2.x API Plugin
|
||||
Version
|
||||
2.1.8-38.vcea_5d521d5f3
|
||||
Bundles Handy Uri Templates 2.x and allows it to be used by Jenkins plugins
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
Instance Identity
|
||||
Version
|
||||
203.v15e81a_1b_7a_38
|
||||
Maintains an RSA key pair that can serve as a foundation of authentication when communicating with Jenkins
|
||||
Report an issue with this plugin
|
||||
92
|
||||
|
||||
|
||||
|
||||
|
||||
Ionicons API
|
||||
Version
|
||||
94.vcc3065403257
|
||||
Provides Ionicons for Jenkins Plugins, internally known as "symbols".
|
||||
Check out the design-library how to use ionicons in your plugin.
|
||||
Report an issue with this plugin
|
||||
93
|
||||
|
||||
|
||||
|
||||
|
||||
Jackson 2 API Plugin
|
||||
Version
|
||||
2.22.3-447.v6a_93ce7d2c82
|
||||
This plugin exposes the Jackson 2 JSON APIs to other Jenkins plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Jackson Annotations 2 API Plugin
|
||||
Version
|
||||
2.22-19.v10a_a_582ea_26e
|
||||
This plugin exposes the Jackson Annotation 2 APIs to other Jenkins plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Jakarta Activation API
|
||||
Version
|
||||
2.1.4-1
|
||||
This plugin provides the Jakarta Activation API for other plugins.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Jakarta Mail API
|
||||
Version
|
||||
2.1.5-1
|
||||
This plugin provides the Jakarta Mail API for other plugins.
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
Jakarta XML Binding API
|
||||
Version
|
||||
4.0.9-19.v2b_a_5b_44d9a_1c
|
||||
This plugin provides the Jakarta XML Binding API for other plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
JavaBeans Activation Framework (JAF) API
|
||||
Version
|
||||
1.2.0-8
|
||||
This plugin provides the JavaBeans Activation Framework (JAF) API for other plugins.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
JAXB plugin
|
||||
Version
|
||||
2.3.9-143.v5979df3304e6
|
||||
JAXB packaging for more transparent Java 9+ compatibility
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Joda Time API Plugin
|
||||
Version
|
||||
2.15.0-208.v6b_084e7a_d9f0
|
||||
This plugin provides the Joda Time APIs (v2.15.0) for other plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
JSON API Plugin
|
||||
Version
|
||||
20260814-226.v20f9685d642c
|
||||
This plugin provides the JSON APIs (v20260814) for other plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Mailer Plugin
|
||||
Version
|
||||
534.v1b_36f5864073
|
||||
This plugin allows you to configure email notifications for build results.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Matrix Authorization Strategy Plugin
|
||||
Version
|
||||
3.3
|
||||
Offers matrix-based security authorization strategies (global and per-project).
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Mina SSHD API :: Common
|
||||
Version
|
||||
2.19.0-192.v2b_a_7b_2c1dc71
|
||||
Provides the Common module of Apache Mina SSHD to plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Mina SSHD API :: Core
|
||||
Version
|
||||
2.19.0-192.v2b_a_7b_2c1dc71
|
||||
Provides the Core module of Apache Mina SSHD to plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
OWASP Markup Formatter Plugin
|
||||
Version
|
||||
173.v680e3a_b_69ff3
|
||||
Uses the OWASP Java HTML Sanitizer to allow safe-seeming HTML markup to be entered in project descriptions and the like.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline
|
||||
Version
|
||||
608.v67378e9d3db_1
|
||||
A suite of plugins that lets you orchestrate automation, simple or complex. See Pipeline as Code with Jenkins for more details.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: API
|
||||
Version
|
||||
1413.v2ff1a_5e720fa_
|
||||
Plugin that defines Pipeline API.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Basic Steps
|
||||
Version
|
||||
1098.v808b_fd7f8cf4
|
||||
Commonly used steps for Pipelines.
|
||||
Report an issue with this plugin
|
||||
95
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Build Step
|
||||
Version
|
||||
601.v6d4c6d1a_9dc7
|
||||
Adds the Pipeline step build to trigger builds of other jobs.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Declarative
|
||||
Version
|
||||
2.2293.v6e7193cec599
|
||||
An opinionated, declarative Pipeline.
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Declarative Extension Points API
|
||||
Version
|
||||
2.2293.v6e7193cec599
|
||||
APIs for extension points used in Declarative Pipelines.
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Groovy
|
||||
Version
|
||||
4391.v652b_b_b_1b_7c00
|
||||
Pipeline execution engine based on continuation passing style transformation of Groovy scripts.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Groovy Libraries
|
||||
Version
|
||||
806.v408277b_33d1d
|
||||
Libraries for Pipeline scripts allowing logic to be shared across jobs.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Input Step
|
||||
Version
|
||||
560.v56198a_642157
|
||||
Adds the Pipeline step input to wait for human input or approval.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Job
|
||||
Version
|
||||
1609.v8926e7962024
|
||||
Defines a new job type for pipelines and provides their generic user interface.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Milestone Step
|
||||
Version
|
||||
152.v6e22b_8cfc66c
|
||||
Plugin that provides the milestone step
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Model API
|
||||
Version
|
||||
2.2293.v6e7193cec599
|
||||
Model API for Declarative Pipeline.
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Multibranch
|
||||
Version
|
||||
842.v3a_b_59b_57b_e6e
|
||||
Enhances Pipeline plugin to handle branches better by automatically grouping builds from different branches.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Nodes and Processes
|
||||
Version
|
||||
1479.v56e587f413a_7
|
||||
Pipeline steps locking agents and workspaces, and running external processes that may survive a Jenkins restart or agent reconnection.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: SCM Step
|
||||
Version
|
||||
487.v41313a_96b_65d
|
||||
Adds a Pipeline step to check out or update working sources from various SCMs (version control).
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Stage Step
|
||||
Version
|
||||
345.va_96187909426
|
||||
Adds the Pipeline step stage to delineate portions of a build.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Stage Tags Metadata
|
||||
Version
|
||||
2.2293.v6e7193cec599
|
||||
Library plugin for Pipeline stage tag metadata.
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Step API
|
||||
Version
|
||||
724.v538c2362b_dfb_
|
||||
API for asynchronous build step primitive.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Pipeline: Supporting APIs
|
||||
Version
|
||||
1015.v785e5a_b_b_8b_22
|
||||
Common utility implementations to build Pipeline Plugin
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Plain Credentials Plugin
|
||||
Version
|
||||
199.v9f8e1f741799
|
||||
Allows use of plain strings and files as credentials.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
Plugin Utilities API Plugin
|
||||
Version
|
||||
7.1341.v039f146993d9
|
||||
Provides utility classes that can be used to accelerate plugin development.
|
||||
Report an issue with this plugin
|
||||
96
|
||||
|
||||
|
||||
|
||||
|
||||
SCM API Plugin
|
||||
Version
|
||||
728.vc30dcf7a_0df5
|
||||
This plugin provides a new enhanced API for interacting with SCM systems.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Script Security Plugin
|
||||
Version
|
||||
1433.v17c58a_e45cc1
|
||||
Allows Jenkins administrators to control what in-process scripts can be run by less-privileged users.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
|
||||
|
||||
SnakeYAML API Plugin
|
||||
Version
|
||||
2.7-152.vc672728cf536
|
||||
This plugin provides org.yaml:snakeyaml:2.7 for other plugins.
|
||||
Report an issue with this plugin
|
||||
98
|
||||
|
||||
|
||||
|
||||
|
||||
SSH Credentials Plugin
|
||||
Version
|
||||
372.va_250881b_08cd
|
||||
Allows storage of SSH credentials in Jenkins
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Structs Plugin
|
||||
Version
|
||||
362.va_b_695ef4fdf9
|
||||
Library plugin for DSL plugins that need names for Jenkins objects.
|
||||
Report an issue with this plugin
|
||||
97
|
||||
|
||||
|
||||
|
||||
|
||||
Timestamper
|
||||
Version
|
||||
1.30
|
||||
Adds timestamps to the Console Output
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
Variant Plugin
|
||||
Version
|
||||
70.va_d9f17f859e0
|
||||
This user-invisible library plugin allows other multi-modal plugins to behave differently depending on where they run.
|
||||
Report an issue with this plugin
|
||||
94
|
||||
|
||||
|
||||
|
||||
|
||||
Woodstox Core API Plugin
|
||||
Version
|
||||
7.3.0-16.v017f30ed004c
|
||||
This plugin provides Woodstox (v7.3.0) to other plugins.
|
||||
Report an issue with this plugin
|
||||
100
|
||||
|
||||
|
||||
@@ -1,130 +0,0 @@
|
||||
Short-Name: antisamy-markup-formatter
|
||||
Plugin-Version: 173.v680e3a_b_69ff3
|
||||
Short-Name: apache-httpcomponents-client-4-api
|
||||
Plugin-Version: 4.5.14-269.vfa_2321039a_83
|
||||
Short-Name: asm-api
|
||||
Plugin-Version: 9.10.1-216.va_9256d3b_844b_
|
||||
Short-Name: authentication-tokens
|
||||
Plugin-Version: 1.144.v5ff4a_5ec5c33
|
||||
Short-Name: bouncycastle-api
|
||||
Plugin-Version: 2.30.1.86.1-306.vfc711fa_36d5f
|
||||
Short-Name: branch-api
|
||||
Plugin-Version: 2.1303.v9f3b_95dc329d
|
||||
Short-Name: caffeine-api
|
||||
Plugin-Version: 3.3.0-210.v71b_2985ce530
|
||||
Short-Name: checks-api
|
||||
Plugin-Version: 422.vc7e8b_51488c6
|
||||
Short-Name: cloudbees-folder
|
||||
Plugin-Version: 6.1106.v3a_d9a_6d2465e
|
||||
Short-Name: commons-lang3-api
|
||||
Plugin-Version: 3.21.0-122.v6a_ea_4fd34049
|
||||
Short-Name: commons-text-api
|
||||
Plugin-Version: 1.15.0-218.va_61573470393
|
||||
Short-Name: credentials-binding
|
||||
Plugin-Version: 728.v902a_273b_8947
|
||||
Short-Name: credentials
|
||||
Plugin-Version: 1511.v2e3cb_0008ef0
|
||||
Short-Name: display-url-api
|
||||
Plugin-Version: 2.217.va_6b_de84cc74b_
|
||||
Short-Name: durable-task
|
||||
Plugin-Version: 686.v80ff80875b_82
|
||||
Short-Name: git-client
|
||||
Plugin-Version: 6.6.1
|
||||
Short-Name: git
|
||||
Plugin-Version: 5.10.1
|
||||
Short-Name: gitea-checks
|
||||
Plugin-Version: 606.679.vb_d632867a_6b_b_
|
||||
Short-Name: gitea
|
||||
Plugin-Version: 283.v14b_179495971
|
||||
Short-Name: gson-api
|
||||
Plugin-Version: 2.14.0-201.v8eefe5515533
|
||||
Short-Name: handy-uri-templates-2-api
|
||||
Plugin-Version: 2.1.8-38.vcea_5d521d5f3
|
||||
Short-Name: instance-identity
|
||||
Plugin-Version: 203.v15e81a_1b_7a_38
|
||||
Short-Name: ionicons-api
|
||||
Plugin-Version: 94.vcc3065403257
|
||||
Short-Name: jackson-annotations2-api
|
||||
Plugin-Version: 2.22-19.v10a_a_582ea_26e
|
||||
Short-Name: jackson2-api
|
||||
Plugin-Version: 2.22.3-447.v6a_93ce7d2c82
|
||||
Short-Name: jakarta-activation-api
|
||||
Plugin-Version: 2.1.4-1
|
||||
Short-Name: jakarta-mail-api
|
||||
Plugin-Version: 2.1.5-1
|
||||
Short-Name: jakarta-xml-bind-api
|
||||
Plugin-Version: 4.0.9-19.v2b_a_5b_44d9a_1c
|
||||
Short-Name: javax-activation-api
|
||||
Plugin-Version: 1.2.0-8
|
||||
Short-Name: jaxb
|
||||
Plugin-Version: 2.3.9-143.v5979df3304e6
|
||||
Short-Name: joda-time-api
|
||||
Plugin-Version: 2.15.0-208.v6b_084e7a_d9f0
|
||||
Short-Name: json-api
|
||||
Plugin-Version: 20260814-226.v20f9685d642c
|
||||
Short-Name: mailer
|
||||
Plugin-Version: 534.v1b_36f5864073
|
||||
Short-Name: matrix-auth
|
||||
Plugin-Version: 3.3
|
||||
Short-Name: mina-sshd-api-common
|
||||
Plugin-Version: 2.19.0-192.v2b_a_7b_2c1dc71
|
||||
Short-Name: mina-sshd-api-core
|
||||
Plugin-Version: 2.19.0-192.v2b_a_7b_2c1dc71
|
||||
Short-Name: pipeline-build-step
|
||||
Plugin-Version: 601.v6d4c6d1a_9dc7
|
||||
Short-Name: pipeline-groovy-lib
|
||||
Plugin-Version: 806.v408277b_33d1d
|
||||
Short-Name: pipeline-input-step
|
||||
Plugin-Version: 560.v56198a_642157
|
||||
Short-Name: pipeline-milestone-step
|
||||
Plugin-Version: 152.v6e22b_8cfc66c
|
||||
Short-Name: pipeline-model-api
|
||||
Plugin-Version: 2.2293.v6e7193cec599
|
||||
Short-Name: pipeline-model-definition
|
||||
Plugin-Version: 2.2293.v6e7193cec599
|
||||
Short-Name: pipeline-model-extensions
|
||||
Plugin-Version: 2.2293.v6e7193cec599
|
||||
Short-Name: pipeline-stage-step
|
||||
Plugin-Version: 345.va_96187909426
|
||||
Short-Name: pipeline-stage-tags-metadata
|
||||
Plugin-Version: 2.2293.v6e7193cec599
|
||||
Short-Name: plain-credentials
|
||||
Plugin-Version: 199.v9f8e1f741799
|
||||
Short-Name: plugin-util-api
|
||||
Plugin-Version: 7.1341.v039f146993d9
|
||||
Short-Name: scm-api
|
||||
Plugin-Version: 728.vc30dcf7a_0df5
|
||||
Short-Name: script-security
|
||||
Plugin-Version: 1433.v17c58a_e45cc1
|
||||
Short-Name: snakeyaml-api
|
||||
Plugin-Version: 2.7-152.vc672728cf536
|
||||
Short-Name: ssh-credentials
|
||||
Plugin-Version: 372.va_250881b_08cd
|
||||
Short-Name: structs
|
||||
Plugin-Version: 362.va_b_695ef4fdf9
|
||||
Short-Name: timestamper
|
||||
Plugin-Version: 1.30
|
||||
Short-Name: variant
|
||||
Plugin-Version: 70.va_d9f17f859e0
|
||||
Short-Name: woodstox-core-api
|
||||
Plugin-Version: 7.3.0-16.v017f30ed004c
|
||||
Short-Name: workflow-aggregator
|
||||
Plugin-Version: 608.v67378e9d3db_1
|
||||
Short-Name: workflow-api
|
||||
Plugin-Version: 1413.v2ff1a_5e720fa_
|
||||
Short-Name: workflow-basic-steps
|
||||
Plugin-Version: 1098.v808b_fd7f8cf4
|
||||
Short-Name: workflow-cps
|
||||
Plugin-Version: 4391.v652b_b_b_1b_7c00
|
||||
Short-Name: workflow-durable-task-step
|
||||
Plugin-Version: 1479.v56e587f413a_7
|
||||
Short-Name: workflow-job
|
||||
Plugin-Version: 1609.v8926e7962024
|
||||
Short-Name: workflow-multibranch
|
||||
Plugin-Version: 842.v3a_b_59b_57b_e6e
|
||||
Short-Name: workflow-scm-step
|
||||
Plugin-Version: 487.v41313a_96b_65d
|
||||
Short-Name: workflow-step-api
|
||||
Plugin-Version: 724.v538c2362b_dfb_
|
||||
Short-Name: workflow-support
|
||||
Plugin-Version: 1015.v785e5a_b_b_8b_22
|
||||
@@ -1,50 +0,0 @@
|
||||
{
|
||||
"initial": {
|
||||
"sha": "ad056a363cde9d8b2fe988da95047a07996c1a66",
|
||||
"state": "success",
|
||||
"checks": [
|
||||
{
|
||||
"context": "myfileagent-python-ci/pipeline/pr-main",
|
||||
"status": "success",
|
||||
"target_url": "https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/1/display/redirect",
|
||||
"updated_at": "2026-10-09T19:03:32Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"failure": {
|
||||
"sha": "d6477b3df620383ca6215d2455f9e40d457e3513",
|
||||
"state": "failure",
|
||||
"checks": [
|
||||
{
|
||||
"context": "myfileagent-python-ci/pipeline/pr-main",
|
||||
"status": "failure",
|
||||
"target_url": "https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/2/display/redirect",
|
||||
"updated_at": "2026-10-09T19:04:55Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"repair": {
|
||||
"sha": "02d31699aaf13b3e4d18865d34c16a2bb46135c6",
|
||||
"state": "success",
|
||||
"checks": [
|
||||
{
|
||||
"context": "myfileagent-python-ci/pipeline/pr-main",
|
||||
"status": "success",
|
||||
"target_url": "https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/3/display/redirect",
|
||||
"updated_at": "2026-10-09T19:06:08Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"final": {
|
||||
"sha": "b7ef4850b74bbb7169871684a385a7bfad7beee8",
|
||||
"state": "success",
|
||||
"checks": [
|
||||
{
|
||||
"context": "myfileagent-python-ci/pipeline/pr-main",
|
||||
"status": "success",
|
||||
"target_url": "https://ci.myfileagent.tech/job/myfileagent-python-ci/job/PR-11/4/display/redirect",
|
||||
"updated_at": "2026-10-09T19:09:20Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"pr": 11,
|
||||
"merged": true,
|
||||
"merged_at": "2026-10-09T19:14:45Z",
|
||||
"merged_by": "glovely",
|
||||
"merge_sha": "131d605c5edb5b5080e4d54861c3c7bf7c360c9c",
|
||||
"checks": [
|
||||
{
|
||||
"context": "Assignment 5 manual PDF / manual (push)",
|
||||
"status": "pending",
|
||||
"target_url": "/myfileagent/myfileagent-pipeline/actions/runs/13/jobs/13"
|
||||
},
|
||||
{
|
||||
"context": "myfileagent-python-ci/pipeline/head",
|
||||
"status": "success",
|
||||
"target_url": "https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/1/display/redirect"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
Evidence supplied by team during October 9, 2026 documentation update.
|
||||
Cloud Firewall ssw590-group7-gitea-firewall attached to ssw590-group7-droplet, 142.93.193.110, Up to date.
|
||||
Inbound TCP 22/80/443 all IPv4/IPv6; no 5050/8080/50000 allowances. Outbound ICMP/all TCP/all UDP.
|
||||
Droplet Public IPv6 offers Enable IPv6 (disabled). CI AAAA query: SOA authority only, no AAAA returned.
|
||||
sudo ufw status verbose: Status: inactive. Other host rules not inventoried.
|
||||
Matrix-based security: ssw590 display Gowri Das Lovely Overall/Administer; Anonymous and Authenticated Users no permissions. Team confirms admin access after save.
|
||||
Post-save private-window and self-registration checks not supplied. Public-browser exception approval not supplied.
|
||||
Earlier external TCP tests precede firewall cleanup; no fresh post-cleanup connectivity test claimed.
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"id": 1,
|
||||
"type": "gitea",
|
||||
"active": true,
|
||||
"events": [
|
||||
"pull_request_milestone",
|
||||
"pull_request_sync",
|
||||
"push",
|
||||
"pull_request",
|
||||
"pull_request_label",
|
||||
"pull_request_review_request",
|
||||
"pull_request_assign",
|
||||
"pull_request_comment",
|
||||
"pull_request_review"
|
||||
],
|
||||
"config": {
|
||||
"url": "http://jenkins:8080/gitea-webhook/post",
|
||||
"content_type": "json"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 273 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 22 KiB |
@@ -49,9 +49,9 @@
|
||||
\definecolor{devopsLightBlue}{RGB}{232,240,247}
|
||||
|
||||
% Replace these values for each assignment.
|
||||
\newcommand{\AssignmentTitle}{Continuous Integration with Jenkins}
|
||||
\newcommand{\AssignmentNumber}{6}
|
||||
\newcommand{\DocumentVersion}{1.8.2}
|
||||
\newcommand{\AssignmentTitle}{Automated LaTeX Manual Builds with Gitea Actions}
|
||||
\newcommand{\AssignmentNumber}{5}
|
||||
\newcommand{\DocumentVersion}{1.7.1}
|
||||
\newcommand{\DocumentStatus}{Group Assignment Report}
|
||||
\newcommand{\CourseNumber}{SSW 590}
|
||||
\newcommand{\CourseName}{DevOps Principles and Practices}
|
||||
@@ -59,7 +59,7 @@
|
||||
\newcommand{\StudentNames}{Nicholas Kogut\\Gowri Das Lovely}
|
||||
\newcommand{\PDFAuthors}{Nicholas Kogut and Gowri Das Lovely}
|
||||
\newcommand{\Organization}{Stevens Institute of Technology}
|
||||
\newcommand{\DocumentDate}{October 9, 2026}
|
||||
\newcommand{\DocumentDate}{October 7, 2026}
|
||||
\newcommand{\DueDate}{Not specified}
|
||||
% Generated only in the build workspace; never committed by the workflow.
|
||||
\newcommand{\BuildSuffix}{+local.unverified}
|
||||
@@ -73,8 +73,8 @@
|
||||
pdftitle={\CourseNumber\ --- Assignment \AssignmentNumber: \AssignmentTitle},
|
||||
pdfauthor={\PDFAuthors},
|
||||
pdfcreator={Darian Muresan, Ph.D., with OpenAI Codex and Anthropic Claude Code},
|
||||
pdfsubject={SSW 590 Assignment 6 continuous integration with Jenkins},
|
||||
pdfkeywords={DevOps, Jenkins, Gitea, Python, continuous integration, HTTPS, tests, merge gate}
|
||||
pdfsubject={SSW 590 Assignment 5 automated LaTeX manual builds with Gitea Actions},
|
||||
pdfkeywords={DevOps, DigitalOcean, Docker, Gitea Actions, LaTeX, runner, build artifact, traceability}
|
||||
}
|
||||
|
||||
\newcolumntype{Y}{>{\raggedright\arraybackslash}X}
|
||||
@@ -156,7 +156,6 @@
|
||||
\include{devopsProjectProposal}
|
||||
\include{devopsGiteaStartupFoundation}
|
||||
\include{devopsAutomatedManualBuild}
|
||||
\include{devopsJenkinsContinuousIntegration}
|
||||
|
||||
\bibliographystyle{IEEEtran}
|
||||
\bibliography{devopsReferences}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# Merge this site block into the deployment's existing Caddyfile.
|
||||
# Gitea delivers directly to Jenkins through the private Docker bridge.
|
||||
ci.myfileagent.tech {
|
||||
@giteaHook path /gitea-webhook /gitea-webhook/*
|
||||
respond @giteaHook "Webhook is available only on the private network" 403
|
||||
reverse_proxy jenkins:8080
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
# Assignment 6 Python CI
|
||||
|
||||
The pipeline runs on the trusted Jenkins controller executor. Only trusted
|
||||
team members may change pipeline code. Do not supply secrets or privileged
|
||||
Docker access to untrusted pull requests. Fork PR discovery is disabled.
|
||||
|
||||
The controller uses the official Jenkins LTS image recorded in compose.jenkins.yaml.
|
||||
Python comes from that image's Debian package repositories; record the actual
|
||||
Python version from each build. No pip dependencies or Docker socket are needed.
|
||||
After replacing the container, run `sh ops/jenkins/install-python.sh` on the
|
||||
Droplet before building. A restart retains Python; replacement requires reinstall.
|
||||
Jenkins jobs and settings persist in the jenkins-home volume.
|
||||
|
||||
From the repository root, reproduce checks with:
|
||||
|
||||
python3 -m py_compile pricing.py tests/test_pricing.py
|
||||
python3 -m unittest discover -s tests -v
|
||||
|
||||
Expected: both tests pass. Syntax or test failures must fail the Jenkins run.
|
||||
Multibranch origin PR discovery tests the current PR revision, not a merged revision.
|
||||
The printed checkout commit identifies what was actually tested.
|
||||
|
||||
Webhook delivery, status reporting, branch protection, and the controlled
|
||||
failure/repair demonstration must be configured and verified separately.
|
||||
|
||||
## Gitea webhook and required merge gate
|
||||
|
||||
Configure the repository Gitea webhook with POST, application/json, active,
|
||||
push and pull-request events, branch filter `*`, and target
|
||||
`http://jenkins:8080/gitea-webhook/post`. Gitea must allow the exact `jenkins`
|
||||
host through its webhook destination allowlist; see `compose.webhook.yaml`.
|
||||
The deployed base Compose file includes this same environment setting.
|
||||
The hook is configured manually, so Jenkins does not manage repository hooks.
|
||||
|
||||
The installed Gitea plugin handler does not verify a shared-secret signature.
|
||||
Leave the hook secret empty and use the existing private Docker network.
|
||||
Block `/gitea-webhook` and `/gitea-webhook/*` at the public Caddy site, as in
|
||||
`Caddyfile.jenkins`. Raw port 8080 remains loopback-only. Do not claim HMAC
|
||||
authentication, and do not expose the unsigned receiver publicly.
|
||||
|
||||
Require `myfileagent-python-ci/pipeline/pr-main` on `main`; this is the
|
||||
observed PR-head context. The branch context ending `/pipeline/head` is
|
||||
not the PR context. `main-branch-protection.json` records the applied rule:
|
||||
no direct or force pushes, one approval, dismiss stale approvals, reject
|
||||
changes-requested reviews, and no administrator merge override.
|
||||
|
||||
October 9, 2026 acceptance exercise, linked to issue #10 and PR #11:
|
||||
- PR build 1 passed on ad056a3 after a real pull-request-open webhook.
|
||||
- Commit d6477b3 changed multiplication to addition; PR build 2 failed with
|
||||
`AssertionError: 13 != 30`; Gitea showed the required check failed.
|
||||
- Commit 02d3169 restored multiplication; the webhook started PR build 3,
|
||||
which passed both tests and updated the same required context.
|
||||
- PR #11 remains open for reviewer nkogut. No review approval or merge has
|
||||
been performed by automation.
|
||||
|
||||
For delivery diagnosis, inspect Gitea's recent delivery response and compare
|
||||
its event/head SHA with Jenkins' console. A 200 `Processed` delivery alone
|
||||
is not proof that tests passed. Save the failed and repaired PR gate views
|
||||
before further commits. A new commit needs a new success status and review.
|
||||
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
jenkins:
|
||||
image: jenkins/jenkins@sha256:a660310e39ade10631f774bacd5219de767dfd08947ea5c32a739b5e5bb382c1
|
||||
container_name: myfileagent-jenkins
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
JAVA_OPTS: "-Xms64m -Xmx256m"
|
||||
mem_limit: 448m
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
volumes:
|
||||
- jenkins-home:/var/jenkins_home
|
||||
networks:
|
||||
- gitea-private
|
||||
|
||||
volumes:
|
||||
jenkins-home:
|
||||
@@ -0,0 +1,7 @@
|
||||
# Apply with the existing base compose.yaml and compose.jenkins.yaml.
|
||||
# Allows only the named Jenkins destination in addition to Gitea's default
|
||||
# external destinations; never use '*' to allow every private address.
|
||||
services:
|
||||
gitea:
|
||||
environment:
|
||||
GITEA__webhook__ALLOWED_HOST_LIST: "external,jenkins"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Run on the Droplet after recreating the official Jenkins container.
|
||||
# Python installed in the container survives restart, not container replacement.
|
||||
set -eu
|
||||
docker exec -u root myfileagent-jenkins sh -c 'apt-get update -qq && apt-get install -y --no-install-recommends python3'
|
||||
docker exec myfileagent-jenkins python3 --version
|
||||
@@ -1,8 +1,12 @@
|
||||
# Assignment 5 manual build infrastructure
|
||||
|
||||
Status on October 6, 2026: infrastructure preparation; the authoritative manual
|
||||
has not been transferred. No manual PDF build or failure/repair exercise is
|
||||
claimed. Assignment metadata must remain 1.7.1, October 6, 2026.
|
||||
Status on October 6, 2026 (America/New_York): source transfer resolved. The
|
||||
complete manual now resides in documentation/. Push-triggered manual runs 3
|
||||
and 4 passed; controlled LaTeX failure run 5 published no PDF; repaired run 6
|
||||
passed. All three successful artifacts were downloaded and checksum-verified.
|
||||
See manual-build-evidence.json and documentation/devopsAutomatedManualBuild.tex.
|
||||
Assignment metadata remains 1.7.1, October 6, 2026. Final PDF publication uses
|
||||
its generated Build Identity; final download verification is retained separately.
|
||||
|
||||
## Deployment
|
||||
|
||||
@@ -36,8 +40,7 @@ workflow changes remains a procedural control, not an enforced approval gate.
|
||||
|
||||
Dockerfile pins Debian by digest and packages by the October 1, 2026 Debian
|
||||
snapshot. It supplies TeX Live 2022, latexmk, minted/Pygments, Latin Modern,
|
||||
recommended fonts, BibTeX, index/glossary tools, Node and pypdf. Full source
|
||||
compatibility remains unverified until the real manual is available.
|
||||
recommended fonts, BibTeX, index/glossary tools, Node and pypdf. Full source compatibility was verified by precompilation and successful Actions runs.
|
||||
|
||||
runner-preflight.yml is an isolated infrastructure test on branch
|
||||
manual-runner-preflight. It is not one of the required manual source builds.
|
||||
@@ -47,22 +50,17 @@ retention; the eventual PDF workflow must also record its actual retention.
|
||||
Checkout is pinned to v4.2.2 commit 11bd71901bbe5b1630ceea73d27597364c9af683.
|
||||
Upload is pinned to v3.2.2 commit c6a366c94c3e0affe28c06c8df20a878f24da3cf.
|
||||
|
||||
## Source transfer and remaining work
|
||||
## Source and build
|
||||
|
||||
Transfer the actual C:\Users\gowri\SSW590\assignment5\documentation directory,
|
||||
including main.tex, all chapters, cornell.cls, bibliography/style files,
|
||||
ci/build_manual.py, hw4_images and other referenced assets, plus the instruction
|
||||
PDF dosManual-V1.18.pdf. Preserve the archive as an input and inspect it before
|
||||
extracting. Exclude credentials and stale build/cache outputs from commits.
|
||||
Use existing authenticated SSH/SFTP/SCP to stage the source archive under
|
||||
/home/codex/myfileagent-gitea/incoming; do not open a public upload port.
|
||||
|
||||
Then verify dependencies, add the push-triggered manual workflow, generate
|
||||
uncommitted visible version/commit/run metadata, and require a nonempty PDF.
|
||||
Perform two successful source-change builds, the controlled error and repair
|
||||
on manual-build-validation, update all eight chapter sections and history,
|
||||
prompt log, Hosts/Passwords (explicit changed/unchanged), glossary and index.
|
||||
Download and visually inspect the final successful Actions PDF artifact.
|
||||
The user supplied Assignment5-source-prepared.zip, SHA-256
|
||||
ad93f9f2e71bc66a2b882b57510cbb7f51827637047073d6a6f78c0170e6205e.
|
||||
The original archive and instruction PDF remain outside the public repository.
|
||||
All actual manual dependencies, including twelve hw4_images files, are versioned.
|
||||
The active workflow is .gitea/workflows/manual-pdf.yml, triggered by pushes to
|
||||
main and manual-build-validation. Its helper runs from documentation/ci and
|
||||
creates uncommitted build metadata in a fresh temporary workspace. Compiler
|
||||
errors, missing/empty PDFs and failed identity/reference checks stop publication.
|
||||
The requested artifact retention is 14 days. No generated PDF is auto-committed.
|
||||
|
||||
## Ownership, cost, cleanup and recovery
|
||||
|
||||
@@ -108,14 +106,11 @@ The pinned upload-artifact v3.2.2 action works with this server. Its legacy
|
||||
artifact is downloadable from the run URL but absent from the newer REST
|
||||
artifact listing. Use the run's named download link for this protocol. Retention
|
||||
is requested as 14 days; expiry enforcement has not yet been observed.
|
||||
The pending manual workflow is in manual-pdf.yml.example, not activated.
|
||||
The active manual workflow is .gitea/workflows/manual-pdf.yml; manual-pdf.yml.example is the original preparation template.
|
||||
|
||||
The first preflight hit the runner's 96 MiB cap during action download. Its
|
||||
orphaned container was stopped; the cap is now 192 MiB with GOMEMLIMIT=128MiB.
|
||||
Run 2 then passed without another runner restart. This infrastructure repair
|
||||
is NOT the required controlled LaTeX error and repair exercise.
|
||||
|
||||
No original manual chapter, history, glossary, Hosts or Passwords table was
|
||||
modified on this host because its authoritative source is still missing.
|
||||
Once transferred, incorporate these verified facts into the single complete
|
||||
devopsAutomatedManualBuild.tex and preserve prior history.
|
||||
The original manual is now imported. Its complete automated-build chapter, history, prompt log, introduction, references and Hosts/Passwords hints have been updated while preserving earlier evidence. The glossary and index link the build concepts; the final artifact requires visual review after download.
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
"job_memory_mib": 256,
|
||||
"runner_image": "gitea/act_runner@sha256:b5c35d6bdbb9bb25e531230bfc7cc663cb751406cbec90a2a891b85fea54de86",
|
||||
"compiler_image_id": "sha256:579106aaffa81dc2436a72a5dbfc51d3590f1a97646321fd38c694aae6d7cba1",
|
||||
"source_transfer": "pending; incoming directory empty",
|
||||
"manual_builds_verified": 0,
|
||||
"source_transfer": "resolved: user-provided archive imported into documentation",
|
||||
"manual_builds_verified": 3,
|
||||
"preflight_1": {
|
||||
"commit": "194cce7c657ff1166c4cddb5dd6f47bfa9c97e93",
|
||||
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/1",
|
||||
@@ -47,5 +47,6 @@
|
||||
"color-buttons-app on 8080"
|
||||
],
|
||||
"secret_boundary": "runner state and temporary repository write token outside Git, restricted storage; no credential values in evidence",
|
||||
"hosts_passwords_manual_tables": "unchanged remotely; authoritative manual unavailable"
|
||||
"hosts_passwords_manual_tables": "updated with runner and protected credential-storage hints",
|
||||
"manual_evidence": "manual-build-evidence.json"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"observed_date": "2026-10-06 America/New_York",
|
||||
"source_archive_sha256": "ad93f9f2e71bc66a2b882b57510cbb7f51827637047073d6a6f78c0170e6205e",
|
||||
"successful_builds": [
|
||||
{
|
||||
"commit": "c74087a93bf53b44a75a25c3658fc178ff253225",
|
||||
"run_number": "3",
|
||||
"run_id": "3",
|
||||
"attempt": "1",
|
||||
"suffix": "+build.3.c74087a.attempt.1",
|
||||
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3",
|
||||
"document_version": "1.7.1",
|
||||
"pdf_sha256": "ab99995751da7a67684d97e32344cfc8d7f3d0c6c26055bbd0670b3dc030d337",
|
||||
"pages": 72,
|
||||
"artifact_name": "assignment5-1.7.1-run-3-c74087a93bf53b44a75a25c3658fc178ff253225",
|
||||
"artifact_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3/artifacts/assignment5-1.7.1-run-3-c74087a93bf53b44a75a25c3658fc178ff253225",
|
||||
"artifact_zip_sha256": "f4ebf6cf6e9278715dd8347a6e38a9034e62256ea5e619887109a6bddece6b2d",
|
||||
"result": "success"
|
||||
},
|
||||
{
|
||||
"commit": "2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a",
|
||||
"run_number": "4",
|
||||
"run_id": "4",
|
||||
"attempt": "1",
|
||||
"suffix": "+build.4.2b8be11.attempt.1",
|
||||
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4",
|
||||
"document_version": "1.7.1",
|
||||
"pdf_sha256": "ba87740958bada14f31d2236638c9b175d8b24797f715252cdb0f0af6668be06",
|
||||
"pages": 72,
|
||||
"artifact_name": "assignment5-1.7.1-run-4-2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a",
|
||||
"artifact_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4/artifacts/assignment5-1.7.1-run-4-2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a",
|
||||
"artifact_zip_sha256": "87d3ed75e74caf0eaf823a8b3dd7355fd090e7a13b28ae75ba82020ff2045bbc",
|
||||
"result": "success"
|
||||
},
|
||||
{
|
||||
"commit": "a4737f1a4eed5e1b786038bb917ca1ab9f1ed856",
|
||||
"run_number": "6",
|
||||
"run_id": "6",
|
||||
"attempt": "1",
|
||||
"suffix": "+build.6.a4737f1.attempt.1",
|
||||
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/6",
|
||||
"document_version": "1.7.1",
|
||||
"pdf_sha256": "7591b1cd87f319dfc77eaa4ca9fd9727d1e7b97253a05d9a93e8624296bc736e",
|
||||
"pages": 72,
|
||||
"artifact_name": "assignment5-1.7.1-run-6-a4737f1a4eed5e1b786038bb917ca1ab9f1ed856",
|
||||
"artifact_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/6/artifacts/assignment5-1.7.1-run-6-a4737f1a4eed5e1b786038bb917ca1ab9f1ed856",
|
||||
"artifact_zip_sha256": "e7de44f82686fdb57b8c57480f4b0079dca1b27751a08b15b980adaaa10473d8",
|
||||
"result": "success"
|
||||
}
|
||||
],
|
||||
"controlled_failure": {
|
||||
"run": 5,
|
||||
"commit": "f0e7b74ee63b40811334ee9cd4aecf035f1b0864",
|
||||
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/5",
|
||||
"error": "Undefined control sequence: AssignmentFiveControlledFailure",
|
||||
"latexmk_exit": 12,
|
||||
"artifact_download_status": 404
|
||||
},
|
||||
"final_publication": "Current PDF build identity and matching Actions artifact identify the final source; external verification follows download."
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
# Instruction PDF section 3.5 documentation review
|
||||
|
||||
Reviewed October 7, 2026 against the supplied dosManual-V1.18.pdf, section 3.5
|
||||
(printed pages 13–14). This checks documented coverage, not a grade prediction.
|
||||
The title remains Assignment 5, version 1.7.1, October 6, 2026.
|
||||
|
||||
| Requirement | Documentation and evidence | Result |
|
||||
|---|---|---|
|
||||
| Eight numbered subsections in rubric order; dated, labeled, sanitized evidence and clickable links | Chapter 10 has sections 10.1–10.8 in the required order; MAN-RUNNER-01 and MAN-BUILD/FAIL/REPAIR records have dates, expected/actual results and real run links. | Included |
|
||||
| 1. Source and trigger: repository/main/workflow links, branch and push trigger, observed triggered run, HTTPS path and ports, no runner submission port | 10.1 names main and manual-build-validation, links source/workflow, traces HTTPS 443 → Caddy → private Gitea 3000, and explains outbound runner polling; 10.6 correlates source pushes and runs. | Included |
|
||||
| 2. Runner setup: version, location, scope, label, execution mode, network path, capacity, online/assigned evidence, isolation and temporary jobs | 10.2 records runner 0.6.1, same-Droplet configuration location, repository scope, ID 1, manual-latex, explicit Docker docker:// execution, temporary TeX containers, HTTPS paths, capacity one, resource limits, online API observation and assigned run 2. No public runner/job ports or socket mount in jobs. | Included |
|
||||
| 3. Reproducible compilation: image, dependencies, command, main file, output, successful log, failure detection, compiler location and source/artifact exchange | 10.3 records the pinned image ID, tool versions, latexmk command, helper/output path and validation gates; 10.1 identifies main.tex. A direct successful run-9 job-log link is included. Sections 10.2–10.3 and Figure 10.1 explain temporary compiler installation and HTTPS exchange without a Gitea/shared compiler filesystem. | Included |
|
||||
| 4. PDF identity: human version, build suffix, full commit/run, matching run and no auto-commit loop | 10.4 and the visible Build Identity page describe generated temporary metadata. The title includes the actual build suffix; matching runs and PDF identities are in 10.6. | Included |
|
||||
| 5. Artifact: named successful artifact link, downloaded file opens, retention and no permanent-backup claim | 10.5 provides a generated link to the current PDF artifact and requests 14-day retention; it explicitly states artifacts are not permanent backups. 10.6 records downloaded/parsed PDFs and matching checksums for runs 3, 4 and 6. The newly revised artifact is downloaded and checked after this review is committed. | Included; revised artifact verification follows build |
|
||||
| 6. Two successive source changes plus controlled failure and repair, expected/actual results and matched commits | 10.6 correlates successful runs 3–4, failed run 5 (compiler error, upload skipped, artifact 404), and repaired run 6 with full commits, visible PDF versions, named artifacts and checksums. | Included |
|
||||
| 7. Workflow rights, secret storage hints, isolation, Docker privilege risk and non-secret configuration links | 10.7 documents Owners-team rights, trusted push triggers, protected runner/token storage, socket risk and job restrictions. It directly links runner-config.yaml, runner-compose.yaml and the workflow. | Included |
|
||||
| 8. Version/history and chapter link; explicit Hosts/Passwords changes; current hints-only tables; citations, glossary/index, evidence, failed-build procedure | Consolidated 1.7.1 history explicitly records Hosts and Passwords updates and links the chapters. 10.8 links the tables/history/log, cites supporting material and gives troubleshooting. Existing glossary/index destinations and all earlier-version history remain. | Included |
|
||||
|
||||
The four 1.7.1 rows in each log were merged into one concise October 6–7 row.
|
||||
Their rendered height is checked against the requested two-thirds-page maximum
|
||||
(preferably one-half page) in the downloaded Actions PDF. No earlier-version
|
||||
entry was removed. Section 10.1's requested sentence was removed; historical
|
||||
records in other chapters remain intact.
|
||||
@@ -0,0 +1,4 @@
|
||||
def total_price(unit_price, quantity):
|
||||
if quantity < 1:
|
||||
raise ValueError("Quantity must be positive")
|
||||
return unit_price * quantity
|
||||
@@ -0,0 +1,11 @@
|
||||
import unittest
|
||||
from pricing import total_price
|
||||
|
||||
|
||||
class PricingTests(unittest.TestCase):
|
||||
def test_total(self):
|
||||
self.assertEqual(total_price(10, 3), 30)
|
||||
|
||||
def test_invalid_quantity(self):
|
||||
with self.assertRaises(ValueError):
|
||||
total_price(10, 0)
|
||||