Document Chapter 4 deadline merge, passing main build and live firewall evidence
This commit is contained in:
+27
-9
@@ -6,7 +6,7 @@
|
||||
This chapter implements Chapter 4 of the instructor's Version 1.38 manual using the existing Group 10 startup repository. The October 21, 2026 work repaired the earlier incomplete Jenkins installation, replaced the placeholder test with a permitted minimal Python application, and verified a failed and repaired pull-request head through Jenkins and Gitea. Earlier Gitea Actions runs compile this IT manual; they are separate from this application's Jenkins checks \cite{JenkinsDocker,JenkinsSecurity,GiteaProtectedBranches}.
|
||||
|
||||
\begin{devopsNote}[Completion boundary]
|
||||
The failed and passing Jenkins checks and protected-branch configuration are verified. PR~9 remains open awaiting a real teammate's approval and eventual merge. Browser source restriction is applied and verified. Current account-side Cloud Firewall rule evidence remains pending; it must not be inferred from HTTPS or blocked backend ports. This is an operational evidence draft, not a claim that every rubric item is finished.
|
||||
The failed and passing Jenkins checks and protected-branch configuration are verified. On October 23, Sergio authorized merging PR~9 without peer approval because Turan could not complete the review before the deadline. The PR was merged and issue~8 closed; the missing peer review remains an unmet assignment requirement. The one-approval rule was restored immediately after the merge. Browser source restriction is applied and verified. Current Cloud Firewall rules and the correct Droplet attachment were inspected on October 23. SSH remains allowed from all IPv4 addresses, an explicit hardening gap. This revision records the deadline disposition honestly; it does not claim every rubric item is finished.
|
||||
\end{devopsNote}
|
||||
|
||||
\begin{longtable}{L{4.0cm}L{9.0cm}}
|
||||
@@ -146,11 +146,22 @@ Authentication & Private Jenkins security realm; self-registration disabled; ano
|
||||
Public mappings & Only Caddy publishes TCP 80/443. Jenkins 8080/50000 and Gitea 3000 are container-internal. UFW reports inactive; it is not credited as an active protective layer.\\
|
||||
External IPv4 tests & 80 and 443 open; 8080, 50000, 3000 and 5432 timed out from the Windows workstation. These results show non-reachability from this vantage; they do not alone identify which firewall layer dropped traffic.\\
|
||||
IPv6 & DigitalOcean lists no public IPv6 address; the host has no global IPv6 address and CI DNS has no AAAA record. Docker's wildcard IPv6 publish notation is not evidence of a globally reachable IPv6 host. Deployment assessed as IPv4 only.\\
|
||||
Current Cloud Firewall & Current account-side inspection was explicitly left pending by Sergio on October 21. Earlier chapter rules and this chapter's external checks are supporting context, not a fresh account-side rule inspection.\\
|
||||
Current Cloud Firewall & Inspected October 23 after Sergio signed in: \texttt{ssw590-gitea-firewall}, ID \nolinkurl{dc253da0-adff-4549-b4d1-ce3cb509914b}, attached to Droplet 604497684 / \texttt{165.227.90.215}, status Up to date. Inbound TCP 22 allows All IPv4 plus \texttt{108.35.145.74/32}; TCP 80/443 allow All IPv4 and All IPv6. All other inbound traffic is blocked by this ruleset. Outbound permits ICMP, all TCP and all UDP to IPv4/IPv6 destinations for DNS, packages, time and certificates. SSH is therefore globally allowed over IPv4; the extra host address does not restrict it. No rules were changed.\\
|
||||
Browser restriction and instructor path & \input{evidence/chapter4/access-note.tex}\\
|
||||
Client verification caveat & Windows Schannel curl and the browser reached the valid HTTPS service. A separate Python/OpenSSL request reported an expired-chain validation error; validation was not disabled. An earlier login HEAD request timed out while the service was under load. The final external GET check at 23:31 UTC returned 200 for Jenkins and Gitea, with certificate validation enabled. The initial exceptions and final results are retained separately.\\
|
||||
\end{longtable}
|
||||
|
||||
\textbf{October 23 network refresh.} External TCP 80/443 remained reachable; 8080, 50000, 3000 and 5432 timed out. HTTP login redirected with 308; Gitea HTTPS returned 200. Jenkins HTTPS returned 403 from the workstation\textquotesingle s current home address, which is outside the approved campus-source allowlist. This is an expected source restriction, not proof of a Jenkins outage. No broader source range was authorized or applied. Use the private viewing path below. Evidence: \nolinkurl{evidence/chapter4/oct23-network.json}.
|
||||
|
||||
\begin{figure}[htbp]\centering
|
||||
\includegraphics[width=\linewidth]{evidence/chapter4/oct23-cloud-firewall-rules.png}
|
||||
\caption{October 23, 2026: authenticated DigitalOcean rules for \texttt{ssw590-gitea-firewall}. SSH permits All IPv4; HTTP/HTTPS permit IPv4 and IPv6. The structured record lists all outbound rules, including UDP. No firewall change was made.}\label{Figure:JenkinsCloudRules}
|
||||
\end{figure}
|
||||
\begin{figure}[htbp]\centering
|
||||
\includegraphics[width=\linewidth]{evidence/chapter4/oct23-cloud-firewall-attachment.png}
|
||||
\caption{October 23, 2026: the same firewall is applied and Up to date on the actual Jenkins/Gitea Droplet, \texttt{165.227.90.215}. The observed Droplet link identifies ID 604497684.}\label{Figure:JenkinsCloudAttachment}
|
||||
\end{figure}
|
||||
|
||||
\textbf{Approved private viewing path.} An authorized administrator can run \nolinkurl{ssh -N -L 127.0.0.1:8443:127.0.0.1:443 root@165.227.90.215}. On that workstation, resolve the CI hostname to \texttt{127.0.0.1} through an approved local hosts override, then open \url{https://ci.165.227.90.215.sslip.io:8443/login}. The original hostname preserves certificate validation; the connection reaches Caddy through the host gateway. This is an operator-assisted route, not a newly provisioned instructor account. The tunnel transport was tested with curl hostname-to-loopback mapping: HTTPS login returned 200 with certificate validation enabled; no workstation hosts file was changed during that test. Remove any browser hosts override and close the tunnel afterward. A fresh source authorization is needed if the operator leaves the approved network. The direct approved-source URL remains the primary login link above.
|
||||
|
||||
Before changing access ranges, keep an approved administrator SSH connection open, validate the proxy configuration, and verify login access through the intended route. The instructor needs to open the complete login URL through the documented approved path, without a Jenkins sign-in. Do not publish a Jenkins agent port to enable grading.
|
||||
@@ -209,7 +220,7 @@ The native Gitea plugin reports pending and final statuses using the scoped CI c
|
||||
|
||||
\section{Failure, Repair, and Review}
|
||||
\begin{longtable}{L{3.1cm}L{9.9cm}}
|
||||
\caption{Auditable issue-linked failure and repair, October 21, 2026}\label{Table:JenkinsSequence}\\
|
||||
\caption{Auditable issue-linked failure, repair and deadline disposition, October 21--23, 2026}\label{Table:JenkinsSequence}\\
|
||||
\toprule Step & Actual evidence\\\midrule\endfirsthead
|
||||
\toprule Step & Actual evidence\\\midrule\endhead\bottomrule\endlastfoot
|
||||
Issue and PR & \href{https://git.sespinal590.dev/group10-startup/startup-product/issues/8}{Issue 8}; \href{https://git.sespinal590.dev/group10-startup/startup-product/pulls/9}{PR 9}, source \nolinkurl{codex/chapter4-issue-8}, target \texttt{main}. The description contains \texttt{Closes \#8}; a branch name alone would not link the issue.\\
|
||||
@@ -217,11 +228,18 @@ Failed commit & \href{https://git.sespinal590.dev/group10-startup/startup-produc
|
||||
Failed run and block & PR-9/1 began 23:08:42 UTC; checkout/syntax passed, two pricing tests failed, final result FAILURE; Gitea marked the required check failed and displayed the merge block.\\
|
||||
Corrective commit & \href{https://git.sespinal590.dev/group10-startup/startup-product/commit/ed8684a2897c407946320183e572f6412dbb7703}{ed8684a}: restored multiplication and documented clean execution; pushed 23:11:38 UTC on the same branch.\\
|
||||
Passing run/status & Polling discovered the new head; PR-9/2 began 23:12:19 UTC and passed all three tests; the same Gitea context reported success for that new SHA.\\
|
||||
Peer review and merge & Pending real teammate review. The captured passing state shows 0/1 approvals and an open PR. No automated or substitute reviewer approval is claimed, and the issue is not claimed closed. Record reviewer, date, review link, merge commit and closed issue after actual completion.\\
|
||||
Peer review & Not completed. Turan could not review before the deadline. Sergio explicitly authorized merging without approval on October 23; no substitute approval or reviewer identity was supplied. This rubric requirement remains unmet.\\
|
||||
Deadline merge & PR~9 merged October 23, 2026 at 20:05:26 Eastern (October 24 at 00:05:26 UTC), commit \href{https://git.sespinal590.dev/group10-startup/startup-product/commit/6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065}{6cfac4e}. Issue~8 closed automatically. Required approvals were temporarily changed from one to zero, then restored to one in a guaranteed cleanup step. The exact passing CI context, direct/force-push restrictions and administrator override restriction were retained. Gitea initially asked for a retry; the rule was restored after that attempt, then the merge succeeded on retry.\\
|
||||
Post-merge verification & Periodic discovery started \href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/main/2/}{main/2} for merge commit \texttt{6cfac4e}; checkout, syntax and all three unit tests passed with result SUCCESS. The previous placeholder main/1 run is not used as proof. Sanitized merge, restored protection, build, stage and console evidence are retained as \nolinkurl{oct23-merge.json} and \nolinkurl{oct23-main-*} under this chapter's evidence directory.\\
|
||||
\end{longtable}
|
||||
|
||||
Normal authenticated Git pushes succeeded during this exercise. The earlier direct branch-reference workaround was not used. The deliberate defect affected only the pricing feature branch; no deployed service was intentionally broken. Times above are UTC (local Eastern time is UTC minus four hours on this date).
|
||||
|
||||
\begin{figure}[htbp]\centering
|
||||
\includegraphics[width=\linewidth]{evidence/chapter4/oct23-merged-pr.png}
|
||||
\caption{October 23, 2026: PR~9 merged under Sergio\textquotesingle s explicit deadline exception. The PR description discloses the absent peer review; Gitea shows no reviewers. Merge commit: \texttt{6cfac4e}; the one-approval policy was restored.}\label{Figure:JenkinsDeadlineMerge}
|
||||
\end{figure}
|
||||
|
||||
\section{Credentials and Build Boundary}
|
||||
\begin{longtable}{L{4.0cm}L{9.0cm}}
|
||||
\caption{Credential scope and pipeline trust controls\label{Table:JenkinsCredentials}}\\
|
||||
@@ -252,17 +270,17 @@ This revision records actual commands, expected and observed outcomes, correctiv
|
||||
\toprule Criterion & Points & Evidence and outstanding work\\\midrule\endfirsthead
|
||||
\toprule Criterion & Points & Evidence and outstanding work\\\midrule\endhead\bottomrule\endlastfoot
|
||||
Deployment/persistence & 10 & Official recorded image, Compose, full loaded plugin inventory, capacity and actual restart test.\\
|
||||
HTTPS/access/firewall & 15 & Live login screenshot/URL, cert/redirect, private backend mappings and IPv4 probes; source restriction verified; current account-side Cloud Firewall rule inspection remains pending.\\
|
||||
HTTPS/access/firewall & 15 & Live login screenshot/URL, cert/redirect, private backend mappings and IPv4 probes; source restriction verified; current Cloud Firewall rules and attachment captured; globally allowed IPv4 SSH is disclosed as a hardening gap.\\
|
||||
Gitea trigger/traceability & 15 & Working permitted polling fallback; automatic repaired-head detection, private API/checkout/status paths and adapted UML diagram.\\
|
||||
Pipeline/tests & 15 & Versioned root Jenkinsfile, three real tests, clean-run instructions, distinct stage results and exact head SHAs.\\
|
||||
Required merge gate & 15 & Exact reported context required by main; failed/passing screenshots, direct-push and override restrictions; passing state still awaits review.\\
|
||||
Failure/repair/review & 10 & Failed and repaired heads/runs verified on issue-linked PR~9; actual teammate approval and eventual merge remain pending.\\
|
||||
Required merge gate & 15 & Exact reported context required by main; failed/passing screenshots, direct-push and override restrictions; October 23 merge exception disclosed; one-approval policy restored afterward.\\
|
||||
Failure/repair/review & 10 & Failed and repaired heads/runs verified on issue-linked PR~9; merge and issue closure verified October 23; teammate approval was omitted and remains unmet.\\
|
||||
Credentials/build boundary & 10 & Scoped bot and Jenkins credentials, documented trusted-controller risk, no Docker socket, plugin check and troubleshooting; legacy Jenkins privilege reduction remains advisable.\\
|
||||
Manual quality/controls & 10 & Version/history, Hosts and Passwords hints, diagram, citations, glossary/index, restart procedures and sanitized evidence updated; the final human review/merge and deferred Cloud Firewall evidence remain outstanding.\\
|
||||
Manual quality/controls & 10 & Version/history, Hosts and Passwords hints, diagram, citations, glossary/index, restart procedures and sanitized evidence updated; peer review remains unmet; current Cloud Firewall evidence is retained, including the unrestricted IPv4 SSH limitation.\\
|
||||
\end{longtable}
|
||||
|
||||
This revision\textquotesingle s non-secret source and evidence are retained on the \href{https://git.sespinal590.dev/group10-startup/devops-it-manual/src/branch/codex/chapter4-jenkins-evidence}{Chapter 4 review branch}. The Hosts and Passwords control tables in \ChapterRef{Gitea} are updated for Jenkins and the CI bot. Password entries contain handling hints only, never passwords, derivation keys, tokens or recovery codes. The dated update-history entry names those changes. Material AI assistance is recorded in \ChapterRef{AIPromptLog}.
|
||||
|
||||
\textbf{Operator restart:} run \nolinkurl{cd /opt/jenkins && docker compose restart jenkins}; verify login, existing multibranch job, PR run history, URL/executor settings, polling and zero failed plugins. For a replacement container, additionally run the executor bootstrap script. Stopping Jenkins does not retire the shared Gitea service. No additional paid resource was provisioned; the existing Droplet remains billable until the owner shuts it down/deletes it under the team's retention plan.
|
||||
|
||||
\textbf{Submission:} after the remaining genuine review/merge and access/firewall evidence are complete, compile and inspect the full existing team manual and submit only that PDF. Keep non-secret configuration, source and evidence versioned in Gitea and publish the corresponding source revision before claiming its links are available. Canvas controls the due date and submission location. No video, separate screenshots, Jenkinsfile or backup archive is submitted.
|
||||
\textbf{Submission:} compile and inspect the full existing team manual and submit only that PDF by the Canvas deadline, with the missing review and the SSH hardening gap disclosed. A later review must be dated honestly; it cannot be represented as a pre-merge approval. Keep non-secret configuration, source and evidence versioned in Gitea and publish the corresponding source revision before claiming its links are available. Canvas controls the due date and submission location. No video, separate screenshots, Jenkinsfile or backup archive is submitted.
|
||||
|
||||
Reference in New Issue
Block a user