Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9c0680784 | ||
|
|
da0577e435 | ||
|
|
1df4798a31 |
@@ -29,3 +29,10 @@ accounts, created the DigitalOcean firewall in the web console, confirmed DNS
|
|||||||
record creation, and authorized replacing obsolete teammate-hosted assignment
|
record creation, and authorized replacing obsolete teammate-hosted assignment
|
||||||
details; Unresolved assumptions: the temporary reviewer account can be
|
details; Unresolved assumptions: the temporary reviewer account can be
|
||||||
replaced by a real teammate account before future production use.
|
replaced by a real teammate account before future production use.
|
||||||
|
|
||||||
|
\section{Chapter 4 Jenkins Record}
|
||||||
|
Date: October 21, 2026; Tool: OpenAI Codex; Task: inspect the existing Jenkins/Gitea setup, complete missing Chapter 4 work and update the manual against Version 1.38. Inputs: instructor PDF, current group source, authorized server checks, Jenkins/Gitea APIs and live browser observations. Output used: repaired plugin dependencies, permitted minimal Python application/tests, scoped CI bot, native multibranch polling, protected-branch check, actual failed/repaired PR evidence, updated narrative, diagram, tables and runbook. Human authorization: Sergio explicitly approved use of the existing server-stored Jenkins administrator credential. Corrections: retained real plugin/indexing/test failures; selected the permitted polling route after a proposed webhook-network change was not approved. No teammate review or merge is invented. Outstanding access/firewall and human-review items remain identified. The full-document build and visual inspection are recorded in the handoff verification note.
|
||||||
|
|
||||||
|
|
||||||
|
\section{Chapter 4 Deadline Disposition}
|
||||||
|
Date: October 23, 2026; Tool: OpenAI Codex. Sergio reported that Turan could not review before the deadline and explicitly authorized removing the approval requirement to merge transparently. Codex verified the repaired head's passing required status, temporarily set required approvals to zero, merged PR~9 without impersonating a reviewer, restored one approval, verified issue~8 closed and collected the successful main/2 checkout/syntax/three-test result. The PR description and manual disclose the absent review. A first merge attempt returned a retry response; cleanup restored the rule before a later successful attempt. Sergio also authorized resuming Cloud Firewall inspection and completed sign-in. Codex read and captured the live Rules and Droplets tabs, confirmed attachment to ID 604497684, and disclosed globally allowed IPv4 SSH. No firewall rules were changed. Existing source restrictions were retained after a changed client address produced an expected 403. Remaining rubric gaps are recorded without claiming full completion.
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
\usepackage{xspace}
|
\usepackage{xspace}
|
||||||
\usepackage{xcolor}
|
\usepackage{xcolor}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usetikzlibrary{arrows.meta,fit}
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage{amsmath,amssymb}
|
\usepackage{amsmath,amssymb}
|
||||||
\usepackage{array}
|
\usepackage{array}
|
||||||
@@ -37,13 +39,13 @@
|
|||||||
% Replace these values for each assignment.
|
% Replace these values for each assignment.
|
||||||
\newcommand{\AssignmentTitle}{Group 10 DevOps Project}
|
\newcommand{\AssignmentTitle}{Group 10 DevOps Project}
|
||||||
\newcommand{\AssignmentNumber}{}
|
\newcommand{\AssignmentNumber}{}
|
||||||
\newcommand{\DocumentVersion}{1.8}
|
\newcommand{\DocumentVersion}{1.11}
|
||||||
\newcommand{\DocumentStatus}{Active}
|
\newcommand{\DocumentStatus}{Active}
|
||||||
\newcommand{\CourseNumber}{SSW 590}
|
\newcommand{\CourseNumber}{SSW 590}
|
||||||
\newcommand{\CourseName}{DevOps}
|
\newcommand{\CourseName}{DevOps}
|
||||||
\newcommand{\Instructor}{Darian Muresan}
|
\newcommand{\Instructor}{Darian Muresan}
|
||||||
\newcommand{\Organization}{Stevens Institute of Technology}
|
\newcommand{\Organization}{Stevens Institute of Technology}
|
||||||
\newcommand{\DocumentDate}{October 12, 2026}
|
\newcommand{\DocumentDate}{October 23, 2026}
|
||||||
\newcommand{\DueDate}{}
|
\newcommand{\DueDate}{}
|
||||||
\newcommand{\VERSION}{Version \DocumentVersion}
|
\newcommand{\VERSION}{Version \DocumentVersion}
|
||||||
\input{devopsBuildMetadata.tex}
|
\input{devopsBuildMetadata.tex}
|
||||||
|
|||||||
@@ -22,6 +22,18 @@ link each entry to the changed chapter, table, figure, or controlled artifact.
|
|||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
|
||||||
|
October 23, 2026 / 1.11 & SE, CDX &
|
||||||
|
Recorded Sergio's authorized deadline merge of PR~9 without peer review, automatic issue closure, restored one-approval policy, and successful post-merge main/2 application tests. Added actual merged-PR screenshot, sanitized API/build evidence and fresh network checks. Peer review remains unmet. Captured current Cloud Firewall rules and correct Droplet attachment after account sign-in; disclosed globally allowed IPv4 SSH as a hardening gap. Updated the handoff and AI log. &
|
||||||
|
\ChapterRef{Jenkins}, \hyperref[Table:JenkinsSequence]{failure/repair/review}, \hyperref[Table:JenkinsRemainingWork]{rubric evidence}\\
|
||||||
|
October 21, 2026 / 1.10 & SE, CDX &
|
||||||
|
Implemented Chapter 4 Jenkins PR-head checks: repaired dependency loading, added real pricing tests, verified failed and repaired commits on issue-linked PR~9, configured a required check and peer approval, retained actual run/status/screenshots, and updated the deployment diagram and runbook. Updated the Hosts table with Jenkins/executor/network details and the Passwords table with CI credential-handling hints. Applied and verified the explicitly approved Jenkins browser source restriction. Real peer review/merge and current Cloud Firewall rule evidence remain explicitly pending. &
|
||||||
|
\ChapterRef{Jenkins}, \hyperref[Table:JenkinsRemainingWork]{rubric evidence}, \hyperref[Table:GiteaHosts]{Hosts}, \hyperref[Table:GiteaPasswordHints]{Passwords}\\
|
||||||
|
October 13, 2026 / 1.9 & SE, CDX &
|
||||||
|
Completed the corrected Chapter 3 Gitea Actions evidence after SSH access was restored: registered the Windows LaTeX runner, pushed the manual workflow to Gitea, recorded successful main-branch builds, captured a controlled failed build, repaired it, and updated the artifact, runner, traceability, and rubric-status evidence while preserving the Jenkins chapter as Chapter 4 groundwork. &
|
||||||
|
\ChapterRef{GiteaActions}, \hyperref[Table:GiteaActionsRunner]{runner setup},
|
||||||
|
\hyperref[Table:GiteaActionsRuns]{Actions runs},
|
||||||
|
\hyperref[Table:GiteaActionsArtifact]{artifact evidence},
|
||||||
|
\hyperref[Table:GiteaActionsRemainingWork]{rubric evidence}\\
|
||||||
October 12, 2026 / 1.8 & SE, CDX &
|
October 12, 2026 / 1.8 & SE, CDX &
|
||||||
Added the corrected Chapter 3 Gitea Actions manual-build chapter after comparing
|
Added the corrected Chapter 3 Gitea Actions manual-build chapter after comparing
|
||||||
the Version 1.18 assignment manual with the earlier Version 1.12 Jenkins-only
|
the Version 1.18 assignment manual with the earlier Version 1.12 Jenkins-only
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ Plan & \texttt{s-1vcpu-512mb-10gb} & Lowest-cost plan available in the create Dr
|
|||||||
Public IPv4 & \texttt{165.227.90.215} & External address used by DNS and browser testing.\\
|
Public IPv4 & \texttt{165.227.90.215} & External address used by DNS and browser testing.\\
|
||||||
Private IPv4 & \texttt{10.116.0.3} & Internal VPC address, not exposed directly to users.\\
|
Private IPv4 & \texttt{10.116.0.3} & Internal VPC address, not exposed directly to users.\\
|
||||||
SSH key & \texttt{espinKey1DigitalOceanDroplet} & Key-based access for administration.\\
|
SSH key & \texttt{espinKey1DigitalOceanDroplet} & Key-based access for administration.\\
|
||||||
|
Jenkins CI host & \url{https://ci.165.227.90.215.sslip.io/login} & Same controlled Droplet; private backend \texttt{jenkins:8080}; details and current access boundary in \ChapterRef{Jenkins}.\\
|
||||||
|
Jenkins executor/storage & One trusted controller executor; \texttt{/opt/jenkins/home} & Python 3.13.5, Git 2.47.3; no separate agent or Docker socket.\\
|
||||||
|
CI integration identity & \texttt{jenkins-ci} on Gitea & Restricted bot with access only to startup-product; Jenkins credential ID \texttt{gitea-startup-ci}.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
The service stack uses pinned container image versions so future rebuilds are predictable.
|
The service stack uses pinned container image versions so future rebuilds are predictable.
|
||||||
@@ -394,6 +397,10 @@ The persistence test in Table~\ref{Table:GiteaPersistence} and the backup/restor
|
|||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
Jenkins named admin & Use the approved server-only secret store; never copy a password, derivation key or recovery code into the manual. Named administrator: \texttt{sespinal-admin}.\\
|
||||||
|
Jenkins CI token handling & Token-only restricted Gitea bot; use Jenkins credential \texttt{gitea-startup-ci}; repository/status scope only, no value shown. Rotate/revoke through the operator's approved secret process.\\
|
||||||
|
Chapter 4 setup credential & Temporary repository setup token is operational only and must be revoked after publishing the final source/evidence; do not retain it in Git or the PDF.\\
|
||||||
|
|
||||||
DigitalOcean account & Payment details are entered manually by the account owner and are not recorded.\\
|
DigitalOcean account & Payment details are entered manually by the account owner and are not recorded.\\
|
||||||
Name.com account & Contact, address, phone, and payment details are excluded from screenshots or text.\\
|
Name.com account & Contact, address, phone, and payment details are excluded from screenshots or text.\\
|
||||||
Gitea administrator password & Password is known only to the account owner and is not placed in Git, Overleaf, screenshots, or prompts.\\
|
Gitea administrator password & Password is known only to the account owner and is not placed in Git, Overleaf, screenshots, or prompts.\\
|
||||||
|
|||||||
+63
-42
@@ -8,35 +8,35 @@
|
|||||||
\section{Source and Trigger}
|
\section{Source and Trigger}
|
||||||
This chapter records the corrected Chapter 3 assignment from the Version 1.18 startup DevOps manual: the team manual must build automatically from source in Gitea Actions \cite{GiteaActionsQuickstart,GiteaActionsArtifacts,GiteaRunnerDocker,GiteaRunnerLabels,LatexmkCtan,TexLiveTug}. The older Chapter 3 manual treated Jenkins as the next assignment; in Version 1.18 Jenkins moved to Chapter 4, while Chapter 3 became the automated LaTeX manual-build assignment. The Jenkins work is preserved in \ChapterRef{Jenkins}; this chapter adds the missing Gitea Actions path.
|
This chapter records the corrected Chapter 3 assignment from the Version 1.18 startup DevOps manual: the team manual must build automatically from source in Gitea Actions \cite{GiteaActionsQuickstart,GiteaActionsArtifacts,GiteaRunnerDocker,GiteaRunnerLabels,LatexmkCtan,TexLiveTug}. The older Chapter 3 manual treated Jenkins as the next assignment; in Version 1.18 Jenkins moved to Chapter 4, while Chapter 3 became the automated LaTeX manual-build assignment. The Jenkins work is preserved in \ChapterRef{Jenkins}; this chapter adds the missing Gitea Actions path.
|
||||||
|
|
||||||
\begin{devopsNote}[Current Evidence Boundary]
|
\begin{devopsNote}[Evidence Summary]
|
||||||
The non-secret workflow, build metadata hook, runner notes, and manual documentation were added on October 12, 2026. Gitea itself is reachable over HTTPS and the public API reports that Actions are enabled for \texttt{group10-startup/startup-product}. Live runner registration, workflow execution, artifact download, and failed-then-repaired run evidence remain pending because SSH to the Droplet timed out from the operator workstation and no Gitea administrator token was available in the local environment. Those gaps are recorded in Table~\ref{Table:GiteaActionsRemainingWork} instead of being marked complete.
|
The manual source was mirrored into the Gitea repository \texttt{group10-startup/devops-it-manual}, and Gitea Actions built the PDF with the registered runner \texttt{sergio-windows-latex-runner}. The evidence set includes successful main-branch builds, a controlled failed LaTeX build, and a repaired passing build. The runner uses a Windows host label because the existing \texttt{512 MB} Droplet did not have enough practical disk and memory headroom for a full TeX Live job-container image.
|
||||||
\end{devopsNote}
|
\end{devopsNote}
|
||||||
|
|
||||||
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
||||||
\caption{Source and Trigger Configuration\label{Table:GiteaActionsSource}}\\
|
\caption{Source and Trigger Configuration\label{Table:GiteaActionsSource}}\\
|
||||||
\toprule
|
\toprule
|
||||||
\textbf{Item} & \textbf{Configured or Required Value}\\
|
\textbf{Item} & \textbf{Configured or Verified Value}\\
|
||||||
\midrule
|
\midrule
|
||||||
\endfirsthead
|
\endfirsthead
|
||||||
\toprule
|
\toprule
|
||||||
\textbf{Item} & \textbf{Configured or Required Value}\\
|
\textbf{Item} & \textbf{Configured or Verified Value}\\
|
||||||
\midrule
|
\midrule
|
||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
Manual repository source & The complete LaTeX manual source currently lives in the team repository and must be mirrored or pushed to the team Gitea repository before final evidence collection.\\
|
Manual repository source & \url{https://git.sespinal590.dev/group10-startup/devops-it-manual}.\\
|
||||||
Main file & \texttt{devopsAssignment.tex}.\\
|
Main file & \texttt{devopsAssignment.tex}.\\
|
||||||
Workflow file & \texttt{.gitea/workflows/manual-pdf.yml}.\\
|
Workflow file & \texttt{.gitea/workflows/manual-pdf.yml}.\\
|
||||||
Selected branch and event & Pushes to \texttt{main}; manual dispatch is also allowed for controlled reruns.\\
|
Selected branch and event & Pushes to \texttt{main} and \texttt{chapter3-failure-test}; manual dispatch is also allowed for controlled reruns.\\
|
||||||
Git submission path & Team workstation uses HTTPS Git push to \texttt{https://git.sespinal590.dev/...}; the browser and Git client reach Caddy on TCP \texttt{443}, and Caddy forwards private traffic to Gitea on container port \texttt{3000}.\\
|
Git submission path & HTTPS Git push to \texttt{https://git.sespinal590.dev/group10-startup/devops-it-manual.git}. The browser and Git client reach Caddy on TCP \texttt{443}, and Caddy forwards private traffic to Gitea on container port \texttt{3000}.\\
|
||||||
Runner public exposure & No runner submission port is required. The runner requests work from Gitea over HTTPS and should not publish a Docker daemon or runner management port to the internet.\\
|
Runner public exposure & No runner submission port is exposed. The runner requests work from Gitea over HTTPS and does not publish Docker, runner management, or build-agent ports to the internet.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\section{Runner Setup}
|
\section{Runner Setup}
|
||||||
The intended runner is a self-managed Gitea Actions runner using the label \texttt{latex-docker}. The preferred execution mode is Docker job containers so the LaTeX compiler runs in a temporary build environment rather than inside the Gitea application container. This follows the Chapter 3 guidance that Gitea stores source and Actions metadata, while a runner and job environment perform the compile.
|
The live runner is a self-managed Gitea Actions runner registered as \texttt{sergio-windows-latex-runner}. The runner advertises the label \texttt{windows-latex-host}. This was selected after testing the Droplet path: a small TeX image was insufficient for the manual build, and the full LaTeX image was not a good fit for the \texttt{512 MB} Gitea Droplet with about \texttt{1.7 GB} free disk at the time of setup.
|
||||||
|
|
||||||
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
||||||
\caption{Runner Setup Plan and Access Status\label{Table:GiteaActionsRunner}}\\
|
\caption{Runner Setup Evidence\label{Table:GiteaActionsRunner}}\\
|
||||||
\toprule
|
\toprule
|
||||||
\textbf{Item} & \textbf{Status or Value}\\
|
\textbf{Item} & \textbf{Status or Value}\\
|
||||||
\midrule
|
\midrule
|
||||||
@@ -47,21 +47,23 @@ The intended runner is a self-managed Gitea Actions runner using the label \text
|
|||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
Runner label & \texttt{latex-docker}.\\
|
Runner name & \texttt{sergio-windows-latex-runner}.\\
|
||||||
Execution mode & Docker job container selected by the workflow.\\
|
Runner label & \texttt{windows-latex-host}.\\
|
||||||
Runner location & Intended to run on the existing Gitea Droplet only if memory and disk remain acceptable; otherwise it should move to a separate runner host.\\
|
Execution mode & Host runner on Sergio's Windows workstation.\\
|
||||||
Droplet capacity concern & The existing Droplet is a \texttt{512 MB} instance. Jenkins already required swap, so a TeX build runner may be memory constrained.\\
|
Toolchain & Local MiKTeX with \texttt{latexmk}, Git, Node.js, and Python/Pygments for \texttt{minted}.\\
|
||||||
Registration scope & Repository or organization scope should be used; the token must be created in Gitea and stored only on the runner host.\\
|
Registration scope & Repository runner registered with a Gitea token generated for setup and kept outside the repository.\\
|
||||||
Live registration status & Pending. Public HTTPS checks succeeded, but SSH to \texttt{165.227.90.215:22} timed out on October 12, 2026.\\
|
Rejected runner path & Docker execution on the Gitea Droplet was tested and rejected for this assignment because the Droplet was too constrained for a full TeX Live build image.\\
|
||||||
|
Live registration status & Complete. The runner accepted jobs for runs \texttt{3}, \texttt{4}, \texttt{6}, and \texttt{7}.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\section{Reproducible Compilation}
|
\section{Reproducible Compilation}
|
||||||
The workflow records a pinned LaTeX toolchain image and a reproducible compile command. It checks out the triggering revision, writes a generated metadata file, runs \texttt{latexmk}, and fails if \texttt{devopsAssignment.pdf} is missing or empty.
|
The workflow checks out the triggering revision, writes generated build metadata, runs \texttt{latexmk}, and fails if \texttt{devopsAssignment.pdf} is missing or empty. The Windows host runner uses \texttt{cmd} steps so the generated Gitea action scripts are not blocked by local PowerShell execution policy.
|
||||||
|
|
||||||
\begin{lstlisting}[caption={Manual PDF workflow build command},label={Listing:GiteaActionsBuildCommand}]
|
\begin{lstlisting}[caption={Manual PDF workflow build command},label={Listing:GiteaActionsBuildCommand}]
|
||||||
latexmk -norc -pdf -shell-escape -interaction=nonstopmode \
|
latexmk -norc -pdf -shell-escape -interaction=nonstopmode ^
|
||||||
-halt-on-error devopsAssignment.tex
|
-halt-on-error devopsAssignment.tex
|
||||||
test -s devopsAssignment.pdf
|
if not exist devopsAssignment.pdf exit /b 1
|
||||||
|
for %%A in (devopsAssignment.pdf) do if %%~zA EQU 0 exit /b 1
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
||||||
@@ -76,27 +78,46 @@ test -s devopsAssignment.pdf
|
|||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
Toolchain image & \texttt{texlive/texlive:TL2026-historic} in the workflow job container.\\
|
Runner selector & \texttt{runs-on: windows-latex-host}.\\
|
||||||
Build command & \texttt{latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex}.\\
|
Build command & \texttt{latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex}.\\
|
||||||
Main output & \texttt{devopsAssignment.pdf}.\\
|
Main output & \texttt{devopsAssignment.pdf}.\\
|
||||||
Failure detection & The workflow uses \texttt{-halt-on-error} and \texttt{test -s devopsAssignment.pdf}. A missing or empty PDF fails the job.\\
|
Failure detection & The workflow uses \texttt{-halt-on-error}, then checks that \texttt{devopsAssignment.pdf} exists and has nonzero size.\\
|
||||||
Compiler location & Temporary job container selected by the Gitea runner, not the Gitea application container.\\
|
Compiler location & The Windows runner host performs the compile; the Gitea application container only stores source, workflow state, and logs.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\section{PDF Version Traceability}
|
\section{PDF Version Traceability}
|
||||||
The manual now includes \texttt{devopsBuildMetadata.tex}. In local builds, that file defines a safe fallback value. During Actions builds, the workflow overwrites it with the triggering commit hash, workflow run number, and run attempt. The footer displays the normal human version plus the generated build identifier.
|
The manual includes \texttt{devopsBuildMetadata.tex}. In local builds, that file defines safe fallback values. During Actions builds, the workflow overwrites it with the triggering commit hash, workflow run number, and run attempt. The footer displays the normal human version plus the generated build identifier.
|
||||||
|
|
||||||
\begin{lstlisting}[caption={Generated metadata written during Actions build},label={Listing:GiteaActionsMetadata}]
|
\begin{lstlisting}[caption={Generated metadata written during Actions build},label={Listing:GiteaActionsMetadata}]
|
||||||
\renewcommand{\BuildIdentifier}{+build.${run_number}.${short_sha}}
|
\providecommand{\BuildIdentifier}{local-unverified}
|
||||||
\renewcommand{\SourceRevision}{${short_sha}}
|
\renewcommand{\BuildIdentifier}{+build.<run-number>.<short-sha>}
|
||||||
\renewcommand{\WorkflowRunNumber}{${run_number}}
|
\renewcommand{\SourceRevision}{<short-sha>}
|
||||||
\renewcommand{\WorkflowRunAttempt}{${run_attempt}}
|
\renewcommand{\WorkflowRunNumber}{<run-number>}
|
||||||
|
\renewcommand{\WorkflowRunAttempt}{<run-attempt>}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
The workflow does not commit generated metadata back to the repository. That avoids a push/build loop while still making the downloaded PDF traceable to the commit and run that produced it.
|
The workflow does not commit generated metadata back to the repository. That avoids a push/build loop while still making each downloaded PDF traceable to the commit and run that produced it.
|
||||||
|
|
||||||
|
\begin{longtable}{L{2.0cm}L{3.3cm}L{2.5cm}L{4.8cm}}
|
||||||
|
\caption{Observed Gitea Actions Build Evidence\label{Table:GiteaActionsRuns}}\\
|
||||||
|
\toprule
|
||||||
|
\textbf{Run} & \textbf{Branch} & \textbf{Conclusion} & \textbf{Evidence}\\
|
||||||
|
\midrule
|
||||||
|
\endfirsthead
|
||||||
|
\toprule
|
||||||
|
\textbf{Run} & \textbf{Branch} & \textbf{Conclusion} & \textbf{Evidence}\\
|
||||||
|
\midrule
|
||||||
|
\endhead
|
||||||
|
\bottomrule
|
||||||
|
\endlastfoot
|
||||||
|
\texttt{3} & \texttt{main} & Success & Commit \texttt{f15d65c}; PDF built as \texttt{devopsAssignment.pdf} with reported output size \texttt{1575428} bytes and artifact upload completed.\\
|
||||||
|
\texttt{4} & \texttt{main} & Success & Commit \texttt{ca620f9}; second main-branch source change built successfully.\\
|
||||||
|
\texttt{6} & \texttt{chapter3-failure-test} & Failure & Commit \texttt{2d879a8}; controlled source-level LaTeX failure confirmed the workflow fails broken manual source.\\
|
||||||
|
\texttt{7} & \texttt{chapter3-failure-test} & Success & Commit \texttt{6ca37f1}; repair commit removed the deliberate failure and rebuilt successfully.\\
|
||||||
|
\end{longtable}
|
||||||
|
|
||||||
\section{Downloadable Artifact}
|
\section{Downloadable Artifact}
|
||||||
The workflow uploads the compiled manual as a named artifact from the successful run. The artifact name includes the run number and commit SHA so the downloaded PDF can be matched to the Gitea Actions page.
|
The workflow uploads the compiled manual as a named artifact from successful runs. The artifact name includes the run number and commit SHA so the downloaded PDF can be matched to the Gitea Actions page.
|
||||||
|
|
||||||
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
\begin{longtable}{L{4.1cm}L{9.1cm}}
|
||||||
\caption{PDF Artifact Configuration\label{Table:GiteaActionsArtifact}}\\
|
\caption{PDF Artifact Configuration\label{Table:GiteaActionsArtifact}}\\
|
||||||
@@ -113,14 +134,15 @@ The workflow uploads the compiled manual as a named artifact from the successful
|
|||||||
Artifact source path & \texttt{devopsAssignment.pdf}.\\
|
Artifact source path & \texttt{devopsAssignment.pdf}.\\
|
||||||
Artifact naming pattern & \texttt{devops-it-manual-<run-number>-<commit-sha>}.\\
|
Artifact naming pattern & \texttt{devops-it-manual-<run-number>-<commit-sha>}.\\
|
||||||
Retention setting & \texttt{14} days in the workflow. This is an artifact retention setting, not a backup policy.\\
|
Retention setting & \texttt{14} days in the workflow. This is an artifact retention setting, not a backup policy.\\
|
||||||
Download evidence & Pending until the runner is registered and the workflow completes successfully in Gitea.\\
|
Verified upload evidence & Run \texttt{3} uploaded \texttt{devops-it-manual-3-f15d65cc7490253c310a80973d92b20b272598d1}; the log reported a successful upload and finalized compressed artifact of \texttt{1413101} bytes.\\
|
||||||
|
Download note & The artifact is downloaded from the Gitea Actions run page for the matching successful run. The API artifact-list endpoint did not return a separate list during verification, so the manual records the successful upload log as the primary evidence.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\section{Change, Failure, and Repair Evidence}
|
\section{Change, Failure, and Repair Evidence}
|
||||||
The final Chapter 3 evidence still needs three live Actions runs: two successful source changes and one safe failed compile followed by a repaired passing run. The safe failure should be made on a branch covered by the workflow, for example by temporarily introducing a harmless LaTeX syntax error in a draft branch, confirming the job fails, then repairing it and confirming the artifact builds.
|
The Chapter 3 workflow now has the required behavior pattern. Main branch runs \texttt{3} and \texttt{4} demonstrate repeatable successful manual builds after source changes. The branch \texttt{chapter3-failure-test} demonstrates failure and repair: run \texttt{6} failed after the source intentionally introduced \texttt{\textbackslash undefinedChapterThreeFailureTestCommand}, and run \texttt{7} passed after the repair commit removed that line. This proves the workflow is not only uploading a PDF when source is valid, but also stopping the pipeline when source is broken.
|
||||||
|
|
||||||
\section{Runner and Secret Boundary}
|
\section{Runner and Secret Boundary}
|
||||||
Runner registration tokens, Gitea tokens, and any repository secrets must not be committed, printed in the PDF, or stored in workflow logs. Workflow edit rights should be limited to trusted team members because workflow code can execute commands in the runner environment. If Docker execution is used on the same Droplet as Gitea, the team must treat Docker socket access as privileged host access and avoid giving untrusted pull requests access to secrets or privileged labels.
|
Runner registration tokens, Gitea tokens, repository secrets, and SSH keys were kept outside the repository. Workflow edit rights should be limited to trusted team members because workflow code executes commands in the runner environment. The runner does not require any inbound firewall rule. The only temporary inbound change needed during this setup was SSH access for administration of the Droplet; after setup, SSH should be restricted again to the operator's current IP address.
|
||||||
|
|
||||||
\section{Manual Quality and Controls}
|
\section{Manual Quality and Controls}
|
||||||
\begin{longtable}{L{4.4cm}L{2.0cm}L{6.8cm}}
|
\begin{longtable}{L{4.4cm}L{2.0cm}L{6.8cm}}
|
||||||
@@ -135,17 +157,16 @@ Runner registration tokens, Gitea tokens, and any repository secrets must not be
|
|||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
Versioned source and push-triggered workflow & Partial & Workflow file and build metadata hook were added. Source still needs to be pushed to the Gitea repository used for evidence.\\
|
Versioned source and push-triggered workflow & Complete & Manual source is in \texttt{group10-startup/devops-it-manual}; workflow \texttt{manual-pdf.yml} triggers on covered branch pushes.\\
|
||||||
Registered runner and documented execution environment & Pending & Runner plan and label are documented, but live registration requires Gitea admin or SSH access.\\
|
Registered runner and documented execution environment & Complete & Runner \texttt{sergio-windows-latex-runner} with label \texttt{windows-latex-host} completed live Gitea Actions jobs.\\
|
||||||
Reproducible LaTeX compilation and failure detection & Partial & Workflow command, image, and missing-PDF check are documented. Live run log is pending.\\
|
Reproducible LaTeX compilation and failure detection & Complete & The workflow runs \texttt{latexmk} with \texttt{-halt-on-error} and checks for a nonempty PDF. Run \texttt{6} confirmed failure detection.\\
|
||||||
Visible commit/run version traceability in the PDF & Partial & Metadata mechanism is implemented. A real Actions-produced PDF with run number and commit hash is pending.\\
|
Visible commit/run version traceability in the PDF & Complete & Actions builds rewrite \texttt{devopsBuildMetadata.tex} with run number, attempt, and commit hash for the PDF footer.\\
|
||||||
Downloadable, verified PDF artifact & Pending & Artifact upload is configured, but no live artifact is verified yet.\\
|
Downloadable, verified PDF artifact & Complete with note & Artifact upload completed in the successful run log. The Gitea API artifact listing did not expose a separate artifact list during verification.\\
|
||||||
Two builds plus controlled failure and repair & Pending & Requires live runner execution.\\
|
Two builds plus controlled failure and repair & Complete & Runs \texttt{3} and \texttt{4} passed on \texttt{main}; run \texttt{6} failed intentionally; run \texttt{7} passed after repair.\\
|
||||||
Runner permissions and secret boundary & Partial & Secret and workflow-author risks are documented; live runner token storage remains pending.\\
|
Runner permissions and secret boundary & Complete & Tokens were kept outside source control; no runner management port is exposed publicly.\\
|
||||||
Versioned IT manual, history, tables, and evidence & Partial & Version, history, citations, glossary/index terms, workflow, and troubleshooting notes were added; final live evidence remains pending.\\
|
Versioned IT manual, history, tables, and evidence & Complete & Version, history, citations, glossary/index terms, workflow, tables, run evidence, and troubleshooting notes are included.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\begin{devopsNote}[Troubleshooting Procedure]
|
\begin{devopsNote}[Troubleshooting Procedure]
|
||||||
If a Gitea Actions build does not start, check that Actions are enabled for the repository, the workflow file is under \texttt{.gitea/workflows/}, the push targets the selected branch, and the runner is online with the label \texttt{latex-docker}. If the build starts but fails, inspect the \texttt{latexmk} log, confirm \texttt{devopsBuildMetadata.tex} was generated, and verify that \texttt{devopsAssignment.pdf} exists before artifact upload.
|
If a Gitea Actions build does not start, check that Actions are enabled for the repository, the workflow file is under \texttt{.gitea/workflows/}, the push targets a covered branch, and the runner is online with the label \texttt{windows-latex-host}. If the build starts but fails, inspect the \texttt{latexmk} log, confirm \texttt{devopsBuildMetadata.tex} was generated, and verify that \texttt{devopsAssignment.pdf} exists before artifact upload.
|
||||||
\end{devopsNote}
|
\end{devopsNote}
|
||||||
|
|
||||||
|
|||||||
@@ -24,3 +24,5 @@
|
|||||||
\newglossaryentry{artifact}{name={artifact},description={A build output retained by a workflow run, such as a generated PDF, for later download and review}}
|
\newglossaryentry{artifact}{name={artifact},description={A build output retained by a workflow run, such as a generated PDF, for later download and review}}
|
||||||
\newglossaryentry{runner}{name={runner},description={A self-managed service that polls Gitea for workflow jobs and executes them in a configured environment}}
|
\newglossaryentry{runner}{name={runner},description={A self-managed service that polls Gitea for workflow jobs and executes them in a configured environment}}
|
||||||
|
|
||||||
|
|
||||||
|
\newglossaryentry{polling}{name={polling},description={Periodic requests that discover repository changes and trigger verification without an inbound webhook}}
|
||||||
|
|||||||
+265
-148
@@ -1,169 +1,286 @@
|
|||||||
\chapter{Continuous Integration with Jenkins}
|
\chapter{Continuous Integration with Jenkins}
|
||||||
\ChapterLabel{Jenkins}
|
\ChapterLabel{Jenkins}
|
||||||
\index{Jenkins}
|
\index{Jenkins}\index{continuous integration}\index{merge gate}\index{polling}\index{webhook}
|
||||||
\index{continuous integration}
|
|
||||||
\index{merge gate}
|
|
||||||
\index{webhook}
|
|
||||||
|
|
||||||
\section{Jenkins Deployment and Persistence}
|
\section{Jenkins Deployment and Persistence}
|
||||||
This chapter records the Chapter 3 continuous-integration work performed on October 7, 2026. The goal was to add Jenkins to the same startup environment used for the Gitea foundation, connect it to the startup product repository, and use it as the required status check for pull requests. Jenkins was deployed from the official Jenkins LTS container image and placed on the same private Docker network as Gitea and Caddy \cite{JenkinsDocker,JenkinsSecurity,JenkinsReverseProxy,GiteaWebhooks,GiteaProtectedBranches}.
|
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}[Evidence Boundary]
|
\begin{devopsNote}[Completion boundary]
|
||||||
The infrastructure deployment, HTTPS proxy, raw-port blocking, Jenkins startup, plugin installation attempt, and versioned non-secret configuration were completed. The full Gitea webhook, status publication, branch-protection merge gate, and failed-then-repaired pull request were not completed because Jenkins plugin dependencies failed to load and the Jenkins API job-creation attempt was blocked by CSRF/plugin state during follow-up configuration. Those gaps are recorded in Table~\ref{Table:JenkinsRemainingWork} rather than being marked complete.
|
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}
|
\end{devopsNote}
|
||||||
|
|
||||||
\begin{longtable}{L{4.0cm}L{9.2cm}}
|
\begin{longtable}{L{4.0cm}L{9.0cm}}
|
||||||
\caption{Jenkins Deployment and Persistence Evidence\label{Table:JenkinsDeployment}}\\
|
\caption{Jenkins deployment verified October 21, 2026\label{Table:JenkinsDeployment}}\\
|
||||||
\toprule
|
\toprule Item & Configuration and observation\\\midrule\endfirsthead
|
||||||
\textbf{Item} & \textbf{Observed or Configured Value}\\
|
\toprule Item & Configuration and observation\\\midrule\endhead
|
||||||
\midrule
|
\bottomrule\endlastfoot
|
||||||
\endfirsthead
|
Official image & \nolinkurl{jenkins/jenkins:2.528.1-lts-jdk21}; Jenkins core 2.528.1, Java 21.0.8.\\
|
||||||
\toprule
|
Controlled host & Droplet \texttt{sergio-ssw590-gitea}, ID 604497684, public IPv4 \texttt{165.227.90.215}; Ubuntu 24.04, 1 vCPU, 512 MB plan. The actual running host reports 458 MiB RAM.\\
|
||||||
\textbf{Item} & \textbf{Observed or Configured Value}\\
|
Available capacity & At 23:13 UTC: 137 MiB available RAM, 1,023 MiB swap total (544 MiB used), 8.7 GiB root filesystem (3.4 GiB available). No additional Droplet or paid plan upgrade was created for this chapter.\\
|
||||||
\midrule
|
Persistent home & \nolinkurl{/opt/jenkins/home:/var/jenkins_home}; restart policy \texttt{unless-stopped}.\\
|
||||||
\endhead
|
Compose source & \href{https://git.sespinal590.dev/group10-startup/devops-it-manual/src/branch/codex/chapter4-jenkins-evidence/ops/jenkins/compose.yml}{Versioned Jenkins Compose file}; this revision's operational files and evidence are retained on the linked review branch.\\
|
||||||
\bottomrule
|
Build location & One controller executor labeled \texttt{controller-small-trusted}; no separate build agent and no Docker socket.\\
|
||||||
\endlastfoot
|
Executor dependencies & Python 3.13.5 and Git 2.47.3. Python was installed from the image's Debian package repositories; application tests use the standard library only.\\
|
||||||
Host & Existing DigitalOcean Droplet \texttt{sergio-ssw590-gitea}, public IPv4 \texttt{165.227.90.215}.\\
|
Repeatability & Run \nolinkurl{ops/jenkins/bootstrap-executor.sh} after creating or recreating the official container. Python installed in its writable layer survives a restart, but must be installed again after recreation.\\
|
||||||
Capacity before Jenkins & Approximately \texttt{458 MiB} memory, \texttt{8.7 GiB} root filesystem, and no swap.\\
|
Restart test & See the dated persistence result below. This verifies container restart persistence, not backup/restore or recreation.\\
|
||||||
Capacity change & A \texttt{1 GiB} swap file was added at \texttt{/swapfile} to keep Jenkins from exhausting the small Droplet.\\
|
|
||||||
Jenkins image & \texttt{jenkins/jenkins:2.528.1-lts-jdk21}.\\
|
|
||||||
Persistent home & Host path \texttt{/opt/jenkins/home} mounted to \texttt{/var/jenkins\_home}.\\
|
|
||||||
Restart policy & \texttt{unless-stopped} in \texttt{ops/jenkins/compose.yml}.\\
|
|
||||||
Controller executors & Configured as one controller executor with label \texttt{controller-small-trusted}. This is acceptable only for the small trusted class deployment and should be replaced by a separate agent for untrusted pull requests.\\
|
|
||||||
Administrator account & Named account \texttt{sespinal-admin}; password stored only on the Droplet under \texttt{/root/jenkins-secrets/admin-password}. The first-boot generated setup password was rotated out of operational use.\\
|
|
||||||
Restart evidence & Jenkins restarted through Docker Compose and returned \texttt{Jenkins is fully up and running}.\\
|
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\section{HTTPS, Access, and Firewall}
|
\begin{lstlisting}[caption={Non-secret Compose configuration; only the proxy publishes web ports}]
|
||||||
Jenkins was not published directly on host port \texttt{8080}. The container exposes \texttt{8080/tcp} only inside Docker networking, and Caddy reverse proxies the public HTTPS hostname to \texttt{jenkins:8080}. Because no \texttt{ci.sespinal590.dev} DNS record existed at the time of implementation, the working Jenkins hostname used for this assignment evidence is \url{https://ci.165.227.90.215.sslip.io/}.
|
services:
|
||||||
|
jenkins:
|
||||||
\begin{longtable}{L{4.0cm}L{9.2cm}}
|
image: jenkins/jenkins:2.528.1-lts-jdk21
|
||||||
\caption{Jenkins HTTPS and Exposure Checks\label{Table:JenkinsHttps}}\\
|
container_name: jenkins
|
||||||
\toprule
|
restart: unless-stopped
|
||||||
\textbf{Check} & \textbf{Observed Result}\\
|
environment:
|
||||||
\midrule
|
- JENKINS_OPTS=--prefix=/
|
||||||
\endfirsthead
|
- JAVA_OPTS=-Xms128m -Xmx384m -Djenkins.install.runSetupWizard=true
|
||||||
\toprule
|
volumes:
|
||||||
\textbf{Check} & \textbf{Observed Result}\\
|
- /opt/jenkins/home:/var/jenkins_home
|
||||||
\midrule
|
networks:
|
||||||
\endhead
|
- gitea_default
|
||||||
\bottomrule
|
networks:
|
||||||
\endlastfoot
|
gitea_default:
|
||||||
Caddy configuration & Added a second Caddy site block for \texttt{ci.165.227.90.215.sslip.io} with \texttt{reverse\_proxy jenkins:8080}.\\
|
external: true
|
||||||
HTTP behavior & \texttt{http://ci.165.227.90.215.sslip.io/} returned \texttt{308 Permanent Redirect}.\\
|
|
||||||
HTTPS behavior & \texttt{https://ci.165.227.90.215.sslip.io/} returned \texttt{HTTP/2 403} from Jenkins before login, proving the browser reached Jenkins through Caddy and Jenkins required authentication.\\
|
|
||||||
Certificate & Caddy obtained a Let's Encrypt certificate for \texttt{ci.165.227.90.215.sslip.io} using the HTTP-01 challenge.\\
|
|
||||||
Raw Jenkins port & External test to \texttt{ci.165.227.90.215.sslip.io:8080} failed, which is the expected result because port \texttt{8080} is not publicly published.\\
|
|
||||||
Agent port & Jenkins showed container port \texttt{50000/tcp} internally only; it was not published on the host. No inbound agent port was opened for this assignment.\\
|
|
||||||
Access control & Jenkins requires login. Additional browser source restriction should be added at Caddy or firewall level before real team use.\\
|
|
||||||
\end{longtable}
|
|
||||||
|
|
||||||
\section{Gitea Trigger and Traceability}
|
|
||||||
Jenkins and Gitea share the Docker network, so the intended webhook route is private service-to-service traffic from Gitea to Jenkins, while browser traffic reaches Jenkins through Caddy.
|
|
||||||
|
|
||||||
\begin{figure}[htbp]
|
|
||||||
\centering
|
|
||||||
\fbox{\begin{minipage}{0.88\linewidth}
|
|
||||||
\centering
|
|
||||||
\textbf{Team Browser}\\
|
|
||||||
\texttt{https://ci.165.227.90.215.sslip.io}\\[4pt]
|
|
||||||
$\Downarrow$\\[4pt]
|
|
||||||
\textbf{DigitalOcean Cloud Firewall}\\
|
|
||||||
Public 80/443 only; no public 8080 or 50000\\[4pt]
|
|
||||||
$\Downarrow$\\[4pt]
|
|
||||||
\textbf{Caddy Container}\\
|
|
||||||
TLS termination and reverse proxy\\[4pt]
|
|
||||||
$\Downarrow$\\[4pt]
|
|
||||||
\textbf{Jenkins Container}\\
|
|
||||||
CI controller, trusted small-class executor\\[4pt]
|
|
||||||
$\Uparrow$\\[4pt]
|
|
||||||
\textbf{Gitea Container}\\
|
|
||||||
Future webhook path over the private Docker network
|
|
||||||
\end{minipage}}
|
|
||||||
\caption{Jenkins and Gitea integration boundary}
|
|
||||||
\label{Figure:JenkinsArchitecture}
|
|
||||||
\end{figure}
|
|
||||||
|
|
||||||
The startup repository is \href{https://git.sespinal590.dev/group10-startup/startup-product}{\texttt{group10-startup/startup-product}}. Jenkins was able to reach the repository URL from inside the Jenkins container, and \texttt{git ls-remote} returned commit \texttt{ff266cf} before the Jenkinsfile was added. The Jenkinsfile was then added to the repository as commit \texttt{b0eee02}. A local Gitea filesystem hook issue prevented a normal host-side push, so the operator moved the class repository's branch reference from inside the Gitea container. That action is adequate for a lab setup but is not a substitute for the required pull-request workflow evidence.
|
|
||||||
|
|
||||||
\section{Versioned Pipeline and Tests}
|
|
||||||
The versioned pipeline source is stored in \texttt{ops/jenkins/Jenkinsfile} in this manual repository and was copied into the startup product repository as \texttt{Jenkinsfile}. It contains three stages: checkout, lint, and automated test. The lint step checks for the expected \texttt{README.md} and verifies that it names the startup. The automated test step prints a CI smoke-test marker and lists repository files so the run proves it executed against a real checkout.
|
|
||||||
|
|
||||||
\begin{lstlisting}[caption={Jenkinsfile CI stages},label={Listing:JenkinsfileSummary}]
|
|
||||||
stage('Lint') {
|
|
||||||
sh 'test -f README.md && grep -qi "startup" README.md'
|
|
||||||
}
|
|
||||||
stage('Automated Test') {
|
|
||||||
sh 'find . -maxdepth 2 -type f | sort | head -20'
|
|
||||||
}
|
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
The original installation failed to activate Git and Gitea integrations and several Pipeline components because dependency versions were inconsistent. The operator retained configuration/plugin rollback copies on the server and aligned \texttt{bouncycastle-api}, \texttt{caffeine-api}, \texttt{gson-api}, and subsequently \texttt{script-security} to the required compatible versions. After restart, Jenkins reported zero failed plugins. Table~\ref{Table:JenkinsPluginCheck} records every loaded version, also retained in \nolinkurl{ops/jenkins/plugins.txt}.
|
||||||
|
|
||||||
|
\begingroup\footnotesize
|
||||||
|
\begin{longtable}{L{5.2cm}L{6.3cm}L{1.5cm}}
|
||||||
|
\caption{Loaded Jenkins plugins after dependency repair\label{Table:JenkinsPluginCheck}}\\
|
||||||
|
\toprule Plugin ID & Version & State\\\midrule\endfirsthead
|
||||||
|
\toprule Plugin ID & Version & State\\\midrule\endhead
|
||||||
|
\bottomrule\endlastfoot
|
||||||
|
apache-httpcomponents-client-4-api & 4.5.14-269.vfa\_2321039a\_83 & Active\\
|
||||||
|
asm-api & 9.10.1-216.va\_9256d3b\_844b\_ & Active\\
|
||||||
|
authentication-tokens & 1.144.v5ff4a\_5ec5c33 & Active\\
|
||||||
|
bouncycastle-api & 2.30.1.82-277.v70ca\_0b\_877184 & Active\\
|
||||||
|
branch-api & 2.1303.v9f3b\_95dc329d & Active\\
|
||||||
|
caffeine-api & 3.2.3-194.v31a\_b\_f7a\_b\_5a\_81 & Active\\
|
||||||
|
checks-api & 422.vc7e8b\_51488c6 & Active\\
|
||||||
|
cloudbees-folder & 6.1106.v3a\_d9a\_6d2465e & Active\\
|
||||||
|
command-launcher & 123.v37cfdc92ef67 & Active\\
|
||||||
|
commons-lang3-api & 3.21.0-122.v6a\_ea\_4fd34049 & Active\\
|
||||||
|
commons-text-api & 1.15.0-218.va\_61573470393 & Active\\
|
||||||
|
credentials & 1487.va\_d001ede2c31 & Active\\
|
||||||
|
credentials-binding & 728.v902a\_273b\_8947 & Active\\
|
||||||
|
display-url-api & 2.217.va\_6b\_de84cc74b\_ & Active\\
|
||||||
|
durable-task & 686.v80ff80875b\_82 & Active\\
|
||||||
|
eddsa-api & 0.3.0.1-19.vc432d923e5ee & Active\\
|
||||||
|
git & 5.10.1 & Active\\
|
||||||
|
git-client & 6.6.1 & Active\\
|
||||||
|
gitea & 273.vb\_78d13f6d9a\_d & Active\\
|
||||||
|
gitea-checks & 604.638.ve9e5472551b\_3 & Active\\
|
||||||
|
gson-api & 2.13.2-173.va\_a\_092315913c & Active\\
|
||||||
|
handy-uri-templates-2-api & 2.1.8-38.vcea\_5d521d5f3 & Active\\
|
||||||
|
instance-identity & 203.v15e81a\_1b\_7a\_38 & Active\\
|
||||||
|
ionicons-api & 94.vcc3065403257 & Active\\
|
||||||
|
jackson-annotations2-api & 2.22-19.v10a\_a\_582ea\_26e & Active\\
|
||||||
|
jackson2-api & 2.21.2-436.v29efdb\_7418ff & Active\\
|
||||||
|
jakarta-activation-api & 2.1.4-1 & Active\\
|
||||||
|
jakarta-mail-api & 2.1.5-1 & Active\\
|
||||||
|
jakarta-xml-bind-api & 4.0.9-19.v2b\_a\_5b\_44d9a\_1c & Active\\
|
||||||
|
javax-activation-api & 1.2.0-8 & Active\\
|
||||||
|
javax-mail-api & 1.6.2-11 & Active\\
|
||||||
|
jaxb & 2.3.9-133.vb\_ec76a\_73f706 & Active\\
|
||||||
|
jdk-tool & 83.v417146707a\_3d & Active\\
|
||||||
|
joda-time-api & 2.15.0-208.v6b\_084e7a\_d9f0 & Active\\
|
||||||
|
json-api & 20260814-226.v20f9685d642c & Active\\
|
||||||
|
mailer & 534.v1b\_36f5864073 & Active\\
|
||||||
|
mina-sshd-api-common & 2.16.0-167.va\_269f38cc024 & Active\\
|
||||||
|
mina-sshd-api-core & 2.16.0-167.va\_269f38cc024 & Active\\
|
||||||
|
pipeline-build-step & 601.v6d4c6d1a\_9dc7 & Active\\
|
||||||
|
pipeline-graph-analysis & 254.v0f63a\_a\_447dca\_ & Active\\
|
||||||
|
pipeline-groovy-lib & 798.v5cc688825312 & Active\\
|
||||||
|
pipeline-input-step & 560.v56198a\_642157 & Active\\
|
||||||
|
pipeline-milestone-step & 152.v6e22b\_8cfc66c & Active\\
|
||||||
|
pipeline-model-api & 2.2293.v6e7193cec599 & Active\\
|
||||||
|
pipeline-model-definition & 2.2293.v6e7193cec599 & Active\\
|
||||||
|
pipeline-model-extensions & 2.2293.v6e7193cec599 & Active\\
|
||||||
|
pipeline-rest-api & 2.41 & Active\\
|
||||||
|
pipeline-stage-step & 345.va\_96187909426 & Active\\
|
||||||
|
pipeline-stage-tags-metadata & 2.2293.v6e7193cec599 & Active\\
|
||||||
|
pipeline-stage-view & 2.41 & Active\\
|
||||||
|
plain-credentials & 199.v9f8e1f741799 & Active\\
|
||||||
|
plugin-util-api & 6.1192.v30fe6e2837ff & Active\\
|
||||||
|
scm-api & 728.vc30dcf7a\_0df5 & Active\\
|
||||||
|
script-security & 1399.ve6a\_66547f6e1 & Active\\
|
||||||
|
snakeyaml-api & 2.7-152.vc672728cf536 & Active\\
|
||||||
|
ssh-credentials & 372.va\_250881b\_08cd & Active\\
|
||||||
|
sshd & 3.374.v19b\_d59ce6610 & Active\\
|
||||||
|
structs & 362.va\_b\_695ef4fdf9 & Active\\
|
||||||
|
trilead-api & 2.209.v0e69b\_c43c245 & Active\\
|
||||||
|
variant & 70.va\_d9f17f859e0 & Active\\
|
||||||
|
woodstox-core-api & 7.3.0-16.v017f30ed004c & Active\\
|
||||||
|
workflow-aggregator & 608.v67378e9d3db\_1 & Active\\
|
||||||
|
workflow-api & 1384.vdc05a\_48f535f & Active\\
|
||||||
|
workflow-basic-steps & 1098.v808b\_fd7f8cf4 & Active\\
|
||||||
|
workflow-cps & 4350.vcc65d4958821 & Active\\
|
||||||
|
workflow-durable-task-step & 1479.v56e587f413a\_7 & Active\\
|
||||||
|
workflow-job & 1571.1580.v18e46842c125 & Active\\
|
||||||
|
workflow-multibranch & 841.vec5b\_9e1806ec & Active\\
|
||||||
|
workflow-scm-step & 487.v41313a\_96b\_65d & Active\\
|
||||||
|
workflow-step-api & 724.v538c2362b\_dfb\_ & Active\\
|
||||||
|
workflow-support & 1015.v785e5a\_b\_b\_8b\_22 & Active\\
|
||||||
|
\end{longtable}\endgroup
|
||||||
|
|
||||||
|
\input{evidence/chapter4/persistence-note.tex}
|
||||||
|
|
||||||
|
\section{HTTPS, Access, and Firewall}
|
||||||
|
The complete Jenkins login URL is \url{https://ci.165.227.90.215.sslip.io/login}. This hostname resolves to the existing Droplet; a separate \texttt{ci.sespinal590.dev} DNS record was not required for the working deployment. The login screenshot proves web-service availability only. Pipeline evidence is linked separately \cite{JenkinsReverseProxy,JenkinsSecurity}.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=0.95\linewidth]{evidence/chapter4/jenkins-login.png}
|
||||||
|
\caption{Live Jenkins HTTPS login page, October 21, 2026. No account was used for this availability screenshot.}\label{Figure:JenkinsLogin}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
\begin{longtable}{L{4.0cm}L{9.0cm}}
|
||||||
|
\caption{HTTPS, access, and exposure evidence\label{Table:JenkinsHttps}}\\
|
||||||
|
\toprule Check & Expected and actual result\\\midrule\endfirsthead
|
||||||
|
\toprule Check & Expected and actual result\\\midrule\endhead
|
||||||
|
\bottomrule\endlastfoot
|
||||||
|
DNS and certificate & A record returns \texttt{165.227.90.215}; no AAAA address was returned. The CI certificate subject matches the hostname; issuer Let's Encrypt YE1; valid October 7, 2026 04:04:29 UTC through January 5, 2027 04:04:28 UTC.\\
|
||||||
|
Redirect and renewal & HTTP \nolinkurl{/login} returns 308 to the same HTTPS path. Caddy automatic HTTPS manages renewal; its \nolinkurl{/data} and \nolinkurl{/config} use persistent Docker volumes. Certificate inspection is not a renewal dry-run.\\
|
||||||
|
Jenkins URL and headers & Jenkins URL is the HTTPS base URL. Caddy terminates TLS and proxies to \texttt{jenkins:8080}; its reverse-proxy defaults supply forwarding headers. Login, public hostname and service links were checked through this proxy.\\
|
||||||
|
Authentication & Private Jenkins security realm; self-registration disabled; anonymous read disabled. Named account \texttt{sespinal-admin} administers the service. Existing \texttt{admin} and \texttt{sespinal} accounts also exist under the current logged-in-user full-control strategy; reducing legacy-account privileges is a remaining hardening task.\\
|
||||||
|
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 & 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.
|
||||||
|
|
||||||
|
\section{Gitea Trigger and Traceability}
|
||||||
|
The product is \href{https://git.sespinal590.dev/group10-startup/startup-product}{\nolinkurl{group10-startup/startup-product}}. Jenkins uses a dedicated restricted, non-administrator \texttt{jenkins-ci} bot. Its sole collaborator grant is this product repository; token scopes are \texttt{write:repository} and \texttt{read:user}. Gitea requires repository write permission for status reporting. The token is stored as Jenkins credential ID \texttt{gitea-startup-ci}, never embedded in the pipeline \cite{GiteaWebhooks,JenkinsSecurity}.
|
||||||
|
|
||||||
|
\textbf{Implemented trigger: periodic discovery polling.} The assignment permits a demonstrated polling fallback. A one-minute Multibranch Pipeline scan checks origin PR heads and branches without open PRs. Fork PR discovery is disabled. Automatic webhook management is off and no successful webhook delivery is claimed. A proposed webhook host-allowlist edit was not applied; the operator used the allowed polling route instead of broadening Gitea networking. Each new head must receive its own status.
|
||||||
|
|
||||||
|
Initial indexing failed with \nolinkurl{Unknown server: http://gitea:3000}; registering the private Gitea server in Jenkins resolved the failure. The initial scan discovered PR~9. The corrective push at 23:11:38 UTC was subsequently discovered by the configured scan: run~2 began at 23:12:19 UTC with cause \texttt{Branch indexing}. No manual build or rescan was requested after that push. The log fetched \nolinkurl{refs/pull/9/head} and checked out \texttt{ed8684a2\allowbreak{}897c4079\allowbreak{}46320183\allowbreak{}e572f641\allowbreak{}2dbb7703}.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\input{ops/jenkins/deployment-diagram.tex}
|
||||||
|
\caption{Actual Group 10 UML deployment, October 21, 2026. Jenkins polls Gitea privately; no active Gitea-to-Jenkins webhook is claimed. Checkout and tests execute on the controller. The browser access restriction is governed by the access-status evidence in Section~\ref{Section:JenkinsControls}.}\label{Figure:JenkinsArchitecture}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
The browser follows HTTPS through the Cloud Firewall and Caddy. Jenkins API polling, repository checkout and status publication use the private \texttt{gitea\_default} network and \nolinkurl{http://gitea:3000}. Gitea's SQLite database and repository files live under its persistent \nolinkurl{/data}; Jenkins settings, job and build records live under its persistent home. There is no separate agent connection in this deployment.
|
||||||
|
|
||||||
|
For a missing run, inspect the last periodic scan, server registration, credential resolution and private Gitea reachability. If later switching to webhooks, inspect selected PR/push events, private destination allowlist, HTTP response and delivery timestamp before looking for a matching commit/run. A delivered webhook alone does not prove a required status was published.
|
||||||
|
|
||||||
|
\section{Versioned Pipeline and Tests}
|
||||||
|
The instructor expressly permits the minimal Python pricing application. It multiplies unit price by positive quantity and rejects zero or negative quantities. Tests check a three-item total, a single-item price, and invalid quantities. All dependencies are in Python's standard library; no package registry, Docker daemon or socket is needed during tests. The versioned \href{https://git.sespinal590.dev/group10-startup/startup-product/src/commit/ed8684a2897c407946320183e572f6412dbb7703/Jenkinsfile}{root Jenkinsfile} uses explicit checkout, syntax and unit-test stages.
|
||||||
|
|
||||||
|
\lstinputlisting[caption={Application Jenkinsfile from the repaired PR head}]{ops/jenkins/Jenkinsfile}
|
||||||
|
|
||||||
|
For a clean reproduction, clone the product repository, check out the repaired commit and run:
|
||||||
|
\begin{lstlisting}
|
||||||
|
python3 -m py_compile pricing.py tests/test_pricing.py
|
||||||
|
python3 -m unittest discover -s tests -v
|
||||||
|
\end{lstlisting}
|
||||||
|
Expected: syntax command exits 0 and all three tests pass. Actual: repaired run~2 checked out the exact latest head and passed all checks. The controller workspace was \nolinkurl{/var/jenkins_home/workspace/startup-product-ci_PR-9}. The bad commit instead returned 13 for \texttt{total\_price(10,3)}, so the test expecting 30 failed. Jenkins returned failure rather than printing an unconditional success message.
|
||||||
|
|
||||||
|
\begin{table}[htbp]\centering
|
||||||
|
\caption{Sanitized run view derived from Jenkins stage APIs, October 21, 2026}\label{Table:JenkinsStageResults}
|
||||||
|
\begin{tabular}{llll}\toprule Run / commit & Checkout & Syntax & Unit tests\\\midrule
|
||||||
|
\href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/1/}{PR-9/1} / \texttt{35605c3} & Success & Success & Failed (2 failures)\\
|
||||||
|
\href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/}{PR-9/2} / \texttt{ed8684a} & Success & Success & Success (3 tests)\\\bottomrule
|
||||||
|
\end{tabular}
|
||||||
|
\end{table}
|
||||||
|
The retained \texttt{failed-stages.json}, \texttt{passed-stages.json} and console excerpts identify each stage, result and checked-out SHA. Run~2 took about 16 seconds. A green run of the old README-only pipeline on \texttt{main} is not counted as the application-test demonstration.
|
||||||
|
|
||||||
\section{Required Merge Gate}
|
\section{Required Merge Gate}
|
||||||
The required merge gate is not yet complete. Gitea branch protection still needs to require the Jenkins status context on pull-request head commits. The exact status context should be the Jenkins job or Gitea Checks context selected after the Jenkins Gitea integration plugin loads successfully. A successful webhook delivery is not enough; the Gitea pull request must show a required check that blocks merge while failing and permits the normal review process after passing.
|
The protected branch is \texttt{main}. Its exact required context is \nolinkurl{startup-product-ci/pipeline/pr-main}. Direct pushes and force pushes are disabled; one approval is required; stale approvals are dismissed; rejected reviews block merging; administrator merge override is disabled. The required context was taken from an actual Jenkins-published Gitea status, not guessed from a webhook response \cite{GiteaProtectedBranches}.
|
||||||
|
|
||||||
|
The native Gitea plugin reports pending and final statuses using the scoped CI credential. Failed commit \texttt{35605c33\allowbreak{}b903742c\allowbreak{}d13d444a\allowbreak{}1a14d61b\allowbreak{}07fbaa86} received failure linked to PR-9/1. Repaired commit \texttt{ed8684a2\allowbreak{}897c4079\allowbreak{}46320183\allowbreak{}e572f641\allowbreak{}2dbb7703} received success linked to PR-9/2. The two images show the required-check state before and after repair. Passing CI removes that blocker; it does not supply the remaining peer approval.
|
||||||
|
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.85\textheight,keepaspectratio]{evidence/chapter4/failed-pr.png}
|
||||||
|
\caption{October 21, 2026: PR~9, failed head \texttt{35605c3}; required context \nolinkurl{startup-product-ci/pipeline/pr-main}. Gitea shows failed required checks and a blocked merge. Matching Jenkins run: \href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/1/}{PR-9/1}; \href{https://git.sespinal590.dev/group10-startup/startup-product/pulls/9}{pull request}.}\label{Figure:JenkinsFailedGate}
|
||||||
|
\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.85\textheight,keepaspectratio]{evidence/chapter4/passed-pr.png}
|
||||||
|
\caption{October 21, 2026: PR~9, repaired head \texttt{ed8684a}; the same required context passes. Gitea still requires one real peer approval. Matching Jenkins run: \href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/}{PR-9/2}; \href{https://git.sespinal590.dev/group10-startup/startup-product/pulls/9}{pull request}.}\label{Figure:JenkinsPassingGate}
|
||||||
|
\end{figure}
|
||||||
|
\clearpage
|
||||||
|
|
||||||
\section{Failure, Repair, and Review}
|
\section{Failure, Repair, and Review}
|
||||||
The failed-then-repaired pull request sequence remains pending. The required evidence sequence should use one issue-linked pull request and show: failed commit, failed Jenkins run, blocked merge, repair commit, passing run, peer review, and merge. This manual currently does not claim that evidence because no Jenkins status check was successfully published back to Gitea.
|
\begin{longtable}{L{3.1cm}L{9.9cm}}
|
||||||
|
\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.\\
|
||||||
|
Failed commit & \href{https://git.sespinal590.dev/group10-startup/startup-product/commit/35605c33b903742cd13d444a1a14d61b07fbaa86}{35605c3}: deliberately changed multiplication to addition in the isolated feature branch.\\
|
||||||
|
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 & 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}
|
\section{Credentials and Build Boundary}
|
||||||
\begin{longtable}{L{4.0cm}L{9.2cm}}
|
\begin{longtable}{L{4.0cm}L{9.0cm}}
|
||||||
\caption{Jenkins Credentials and Build Boundary\label{Table:JenkinsCredentials}}\\
|
\caption{Credential scope and pipeline trust controls\label{Table:JenkinsCredentials}}\\
|
||||||
\toprule
|
\toprule Control & Actual implementation or explicit remaining limit\\\midrule\endfirsthead
|
||||||
\textbf{Control} & \textbf{Implementation or Required Follow-up}\\
|
\toprule Control & Actual implementation or explicit remaining limit\\\midrule\endhead\bottomrule\endlastfoot
|
||||||
\midrule
|
Secret storage & Jenkins administrator secret remains in a protected server-only secret store. The bot token is stored in Jenkins credentials; no secret values are included in the repository, this manual or the evidence excerpts. Temporary setup-token cleanup must be verified at handoff.\\
|
||||||
\endfirsthead
|
CI identity & Restricted bot \texttt{jenkins-ci}; non-admin; collaborator only on startup-product; scopes \texttt{write:repository,read:user}. Repository write is required by this integration for commit statuses; the token is therefore sensitive even though its purpose is CI reporting.\\
|
||||||
\toprule
|
Pipeline authors & Only trusted team writers may change the same-repository Jenkinsfile. Origin-head discovery is enabled; untrusted fork PR discovery is absent. Do not broaden repository collaborators without reassessing this boundary.\\
|
||||||
\textbf{Control} & \textbf{Implementation or Required Follow-up}\\
|
Controller execution & Allowed by the assignment for this small trusted deployment. Pipeline code can execute commands on the controller, so a malicious trusted author could compromise it and its credentials. No untrusted code, production secrets, privileged containers or Docker socket are permitted here.\\
|
||||||
\midrule
|
Separate agent alternative & Not deployed. Before accepting untrusted contributions, isolate builds in an agent and set controller executors to zero; update the diagram and evidence to match.\\
|
||||||
\endhead
|
Plugin operations & Update-center refresh completed successfully on October 21. Four incompatible dependencies were repaired. Newer versions remain available (recorded in \texttt{plugin-update-check.txt}); the current set is a tested inventory, not a claim of full patch currency. Review security advisories and core compatibility before a separately tested upgrade.\\
|
||||||
\bottomrule
|
Troubleshooting response & Earlier stale crumb errors were addressed by retaining the authenticated session cookie with the crumb. CSRF protection stayed enabled. The unknown-server scan failure was corrected by registering the private endpoint; the pricing failure was corrected in code.\\
|
||||||
\endlastfoot
|
|
||||||
Jenkins administrator credential & Stored only on the Droplet in \texttt{/root/jenkins-secrets/admin-password}; not committed to Git or printed in this manual.\\
|
|
||||||
Initial setup password & Jenkins printed a generated first-boot password in container logs. It was replaced operationally by the named admin account and should be rotated again before long-term use.\\
|
|
||||||
Gitea integration token & Pending. A narrow token should be created for repository read and status/check reporting only.\\
|
|
||||||
Build location & Builds currently run on the controller because this is a small trusted course deployment. This is a risk: untrusted Jenkinsfile authors could execute commands on the controller.\\
|
|
||||||
Compensating restriction & Only trusted team members should be able to edit the Jenkinsfile until a separate build agent is deployed and secrets are isolated from untrusted pull requests.\\
|
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\begin{longtable}{L{4.0cm}L{9.2cm}}
|
\begin{enumerate}
|
||||||
\caption{Jenkins Plugin Check and Operator Response\label{Table:JenkinsPluginCheck}}\\
|
\item For a missing run, check scan schedule, latest scan log, registered endpoint, scoped credentials, network route and active plugins.
|
||||||
\toprule
|
\item For a failed run, compare the exact PR head with the checkout log; locate the first failed stage and reproduce its command from a clean checkout.
|
||||||
\textbf{Plugin or Check} & \textbf{Result}\\
|
\item For a missing status or blocked merge, inspect the status API and exact required context on the latest SHA. A passing older commit does not satisfy a new head. Verify peer approvals independently.
|
||||||
\midrule
|
\item For HTTPS failure, check DNS, certificate validity, Caddy validation/logs, permitted browser source and backend reachability. Inspect cloud rules and Docker mappings separately from UFW.
|
||||||
\endfirsthead
|
\item For recovery, keep current persistent home and pre-change plugin/configuration copies; restart only the affected service and recheck login, jobs, status publication and plugin failures. Never reset Jenkins home merely to hide an error.
|
||||||
\toprule
|
\end{enumerate}
|
||||||
\textbf{Plugin or Check} & \textbf{Result}\\
|
|
||||||
\midrule
|
\section{Manual Quality and Controls}\label{Section:JenkinsControls}
|
||||||
\endhead
|
This revision records actual commands, expected and observed outcomes, corrective actions, dated screenshots, exact commit/run links and explicit gaps. The written procedures are primary; screenshots support the narrative. \gls{mergegate}, \gls{pipeline}, \gls{leastprivilege}, \gls{reverseproxy}, and \gls{polling} describe the operational controls.
|
||||||
\bottomrule
|
|
||||||
\endlastfoot
|
\begin{longtable}{L{4.9cm}L{1.6cm}L{6.5cm}}
|
||||||
Installed plugin attempt & \texttt{git}, \texttt{workflow-aggregator}, \texttt{pipeline-stage-view}, \texttt{gitea}, and \texttt{gitea-checks}.\\
|
\caption{Chapter 4 rubric evidence status\label{Table:JenkinsRemainingWork}}\\
|
||||||
Recorded plugin versions & Git \texttt{5.10.1}, Pipeline \texttt{608.v67378e9d3db\_1}, Pipeline Stage View \texttt{2.41}, Gitea \texttt{273.vb\_78d13f6d9a\_d}, and Gitea Checks \texttt{604.638.ve9e5472551b\_3}.\\
|
\toprule Criterion & Points & Evidence and outstanding work\\\midrule\endfirsthead
|
||||||
Plugin warning & Jenkins reported security advisories for some Pipeline-related plugins during installation.\\
|
\toprule Criterion & Points & Evidence and outstanding work\\\midrule\endhead\bottomrule\endlastfoot
|
||||||
Plugin failure & Jenkins logs reported dependency failures requiring newer \texttt{bouncycastle-api}, \texttt{caffeine-api}, and \texttt{gson-api} plugins. A repair attempt was made, but the failures persisted in the last observed logs.\\
|
Deployment/persistence & 10 & Official recorded image, Compose, full loaded plugin inventory, capacity and actual restart test.\\
|
||||||
Operator response & The issue was recorded as a blocker. The correct next action is to update the Jenkins base image or reset the plugin catalog/home state, then reinstall plugins and re-run the Gitea check integration.\\
|
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; 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; peer review remains unmet; current Cloud Firewall evidence is retained, including the unrestricted IPv4 SSH limitation.\\
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
\section{Manual Quality and Controls}
|
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}.
|
||||||
\begin{longtable}{L{4.4cm}L{2.0cm}L{6.8cm}}
|
|
||||||
\caption{Chapter 3 Rubric Evidence Status\label{Table:JenkinsRemainingWork}}\\
|
|
||||||
\toprule
|
|
||||||
\textbf{Rubric Criterion} & \textbf{Status} & \textbf{Evidence or Gap}\\
|
|
||||||
\midrule
|
|
||||||
\endfirsthead
|
|
||||||
\toprule
|
|
||||||
\textbf{Rubric Criterion} & \textbf{Status} & \textbf{Evidence or Gap}\\
|
|
||||||
\midrule
|
|
||||||
\endhead
|
|
||||||
\bottomrule
|
|
||||||
\endlastfoot
|
|
||||||
Jenkins deployment and persistence & Partial & Jenkins container, persistent home, restart policy, swap, named admin account, and restart evidence are documented. A longer restart persistence screenshot/check should be captured after browser login.\\
|
|
||||||
HTTPS, access control, and firewall & Partial & HTTPS, redirect, certificate acquisition, login requirement, and blocked raw port \texttt{8080} are documented. Browser source restriction still needs tightening.\\
|
|
||||||
Gitea trigger and traceable Jenkins run & Pending & Jenkins can reach the repository, but webhook delivery and matching Jenkins run are not proven.\\
|
|
||||||
Versioned pipeline with meaningful build and tests & Partial & Jenkinsfile is versioned and committed as \texttt{b0eee02}; Jenkins plugin/API issues blocked the final run evidence.\\
|
|
||||||
Required Gitea status check and merge gate & Pending & Branch protection and required Jenkins context still need configuration after plugin repair.\\
|
|
||||||
Failed-then-repaired, reviewed pull request & Pending & No failed/repaired PR sequence has been completed.\\
|
|
||||||
Credentials, pipeline trust boundary, and plugin operations & Partial & Credentials are not committed; controller-build risk and plugin failures are documented.\\
|
|
||||||
Versioned IT manual, history, Hosts/Passwords hints, and evidence & Complete for current state & Version 1.7, this history entry, Jenkins host/password controls, deployment artifacts, citations, glossary/index terms, and honest blockers are included.\\
|
|
||||||
\end{longtable}
|
|
||||||
|
|
||||||
|
\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:} 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.
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# Chapter 4 handoff — 2026-10-23
|
||||||
|
|
||||||
|
## Verified
|
||||||
|
|
||||||
|
- Jenkins 2.528.1 official LTS container; zero failed plugins after four dependency repairs.
|
||||||
|
- Python 3.13.5 / Git 2.47.3; real syntax check and three pricing unit tests.
|
||||||
|
- Issue 8: https://git.sespinal590.dev/group10-startup/startup-product/issues/8
|
||||||
|
- PR 9: https://git.sespinal590.dev/group10-startup/startup-product/pulls/9
|
||||||
|
- Failed head 35605c33b903742cd13d444a1a14d61b07fbaa86, PR-9/1: two failing tests, required-check merge block.
|
||||||
|
- Repaired head ed8684a2897c407946320183e572f6412dbb7703, PR-9/2: all three tests pass; periodic scan detected the corrective push without a manual build/rescan.
|
||||||
|
- Required context startup-product-ci/pipeline/pr-main; main requires one real approval, dismisses stale approvals, disallows direct/force pushes and admin merge override.
|
||||||
|
- Container restart retained the job XML hash, successful run, URL, executor, polling and active-plugin state.
|
||||||
|
- HTTPS login URL, hostname certificate/expiry, 308 redirect and live login screenshot retained.
|
||||||
|
- User explicitly approved CI browser allowlist 155.246.151.38/32 and host gateway 172.18.0.1/32; approved-source GET 200, excluded-container HTTPS 403, administrator SSH tunnel GET 200.
|
||||||
|
- External IPv4 backend/agent/database probes timed out; no public host IPv6/AAAA. UFW is inactive and is not credited as an active firewall.
|
||||||
|
- Full group PDF builds with bibliography, glossary and index; affected chapter pages visually reviewed. No unresolved reference/citation warnings. Older chapters retain existing layout warnings.
|
||||||
|
|
||||||
|
## Pending, not claimed complete
|
||||||
|
|
||||||
|
1. Peer approval was NOT completed before the deadline and remains an unmet rubric requirement. Sergio authorized merging without approval; PR #9 merged as 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065 at October 23 20:05:26 Eastern. Issue #8 closed. Required approvals were temporarily zero and restored to one; CI and push protections were retained. No review identity was fabricated. main/2 automatically built the merge SHA and passed syntax and all three tests.
|
||||||
|
2. Current DigitalOcean Cloud Firewall rules and correct Droplet attachment were inspected October 23 after Sergio signed in; see oct23-cloud-firewall.json and dated screenshots. SSH permits All IPv4 plus the redundant home /32; this remains a hardening gap. No rule change was made. Direct CI returns expected 403 from the current home network outside the approved campus allowlist; use the authorized SSH tunnel.
|
||||||
|
3. Legacy Jenkins account privilege reduction and a separately tested core/plugin security-update plan remain operational hardening limits; the active full-control-after-login strategy and available plugin updates are documented.
|
||||||
|
|
||||||
|
## Source/evidence
|
||||||
|
|
||||||
|
Review branch: codex/chapter4-jenkins-evidence in the Gitea devops-it-manual repository. All retained evidence comes from actual service/API/browser observations. Screenshot captions identify dates, heads, context and runs. The manual is version 1.11 and explicitly discloses the unmet peer review and SSH hardening gap. Do not submit the source directory, screenshot files, or archives separately: submit only the final compiled PDF.
|
||||||
|
|
||||||
|
The Jenkinsfile/application live in the product PR. Deployment/configuration/runbook/inventory and sanitized evidence live with this manual. No new paid resources were provisioned. Keep real credentials outside this source. Temporary setup credential cleanup is recorded separately in cleanup.json when completed.
|
||||||
|
|
||||||
|
Final deadline revision: full PDF compiled with glossary/index and no unresolved references/citations; new merge and firewall pages visually inspected. Existing older chapter layout warnings remain.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Applied with Sergio's explicit approval on October 21, 2026: Caddy admits the current team source \nolinkurl{155.246.151.38/32} and host tunnel gateway \nolinkurl{172.18.0.1/32} for this Jenkins hostname. Approved external access returned 200; an excluded container source received 403 with certificate validation enabled. Gitea's separate hostname is unchanged. For instructor access, arrange an operator-supervised browser on the approved team network, or have an approved administrator establish the SSH tunnel described below. Add any different instructor/team source only after authorization; no instructor Jenkins sign-in is required.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"checked_at": "2026-10-21T23:22:39.342537+00:00",
|
||||||
|
"negative_source": "Jenkins container (not in Caddy browser allowlist), using private Caddy address with real HTTPS hostname and certificate validation",
|
||||||
|
"negative_result": "HTTP/1.1 403 Forbidden\nAlt-Svc: h3=\":443\"; ma=2592000\nContent-Type: text/plain; charset=utf-8\nServer: Caddy\nDate: Wed, 21 Oct 2026 23:22:39 GMT\nContent-Length: 72\nConnection: close\n",
|
||||||
|
"negative_error": "",
|
||||||
|
"exit_code": 0,
|
||||||
|
"approved_ranges": "Explicit user approval: current team IPv4 /32 and Docker host tunnel gateway /32",
|
||||||
|
"no_gitea_change": true,
|
||||||
|
"caddy_validation": "{\"level\":\"info\",\"ts\":1792624959.8015752,\"msg\":\"using config from file\",\"file\":\"/etc/caddy/Caddyfile\"}\n{\"level\":\"info\",\"ts\":1792624959.809916,\"msg\":\"adapted config to JSON\",\"adapter\":\"caddyfile\"}\n{\"level\":\"warn\",\"ts\":1792624959.8102844,\"msg\":\"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies\",\"adapter\":\"caddyfile\",\"file\":\"/etc/caddy/Caddyfile\",\"line\":2}\n{\"level\":\"info\",\"ts\":1792624959.8118005,\"logger\":\"http.auto_https\",\"msg\":\"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS\",\"server_name\":\"srv0\",\"https_port\":443}\n{\"level\":\"info\",\"ts\":1792624959.8122551,\"logger\":\"http.auto_https\",\"msg\":\"enabling automatic HTTP->HTTPS redirects\",\"server_name\":\"srv0\"}\n{\"level\":\"info\",\"ts\":1792624959.8142786,\"logger\":\"http\",\"msg\":\"servers shutting down with eternal grace period\"}\n{\"level\":\"info\",\"ts\":1792624959.8152323,\"logger\":\"tls.cache.maintenance\",\"msg\":\"started background certificate maintenance\",\"cache\":\"0xc000458a80\"}\n{\"level\":\"info\",\"ts\":1792624959.8164768,\"logger\":\"tls.cache.maintenance\",\"msg\":\"stopped background certificate maintenance\",\"cache\":\"0xc000458a80\"}\nValid configuration\n"
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"branch_name": "main",
|
||||||
|
"rule_name": "main",
|
||||||
|
"priority": 1,
|
||||||
|
"enable_push": false,
|
||||||
|
"enable_push_whitelist": false,
|
||||||
|
"push_whitelist_usernames": [],
|
||||||
|
"push_whitelist_teams": [],
|
||||||
|
"push_whitelist_deploy_keys": false,
|
||||||
|
"enable_force_push": false,
|
||||||
|
"enable_force_push_allowlist": false,
|
||||||
|
"force_push_allowlist_usernames": [],
|
||||||
|
"force_push_allowlist_teams": [],
|
||||||
|
"force_push_allowlist_deploy_keys": false,
|
||||||
|
"enable_merge_whitelist": false,
|
||||||
|
"merge_whitelist_usernames": [],
|
||||||
|
"merge_whitelist_teams": [],
|
||||||
|
"enable_bypass_allowlist": false,
|
||||||
|
"bypass_allowlist_usernames": [],
|
||||||
|
"bypass_allowlist_teams": [],
|
||||||
|
"enable_status_check": true,
|
||||||
|
"status_check_contexts": [
|
||||||
|
"startup-product-ci/pipeline/pr-main"
|
||||||
|
],
|
||||||
|
"required_approvals": 1,
|
||||||
|
"enable_approvals_whitelist": false,
|
||||||
|
"approvals_whitelist_username": [],
|
||||||
|
"approvals_whitelist_teams": [],
|
||||||
|
"block_on_rejected_reviews": true,
|
||||||
|
"block_on_official_review_requests": false,
|
||||||
|
"block_on_outdated_branch": false,
|
||||||
|
"dismiss_stale_approvals": true,
|
||||||
|
"ignore_stale_approvals": false,
|
||||||
|
"require_signed_commits": false,
|
||||||
|
"protected_file_patterns": "",
|
||||||
|
"unprotected_file_patterns": "",
|
||||||
|
"block_admin_merge_override": true,
|
||||||
|
"created_at": "2026-10-21T23:09:26Z",
|
||||||
|
"updated_at": "2026-10-21T23:09:26Z"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"checked_at": "2026-10-21T23:35:27.306651+00:00",
|
||||||
|
"pr": {
|
||||||
|
"number": 9,
|
||||||
|
"head": "ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"merged": false,
|
||||||
|
"reviews": []
|
||||||
|
},
|
||||||
|
"temporary_token_revocation": {
|
||||||
|
"deleted_token_id": 22,
|
||||||
|
"deleted_name": "chapter4-setup-20261021",
|
||||||
|
"persistent_ci_token_untouched": true
|
||||||
|
},
|
||||||
|
"revoked_token_http_status": 401,
|
||||||
|
"raw_setup_and_bot_token_copies_removed": true,
|
||||||
|
"ci_credential_retained": "Encrypted Jenkins credentials; normal administrator secret store unchanged."
|
||||||
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
Branch indexing
|
||||||
|
Looking up repository group10-startup/startup-product
|
||||||
|
Querying the current revision of pull request #9...
|
||||||
|
Current revision of pull request #9 is 35605c33b903742cd13d444a1a14d61b07fbaa86
|
||||||
|
Obtained Jenkinsfile from 35605c33b903742cd13d444a1a14d61b07fbaa86
|
||||||
|
[Pipeline] Start of Pipeline
|
||||||
|
[Pipeline] node
|
||||||
|
Running on Jenkins in /var/jenkins_home/workspace/startup-product-ci_PR-9
|
||||||
|
[Pipeline] {
|
||||||
|
[Pipeline] timeout
|
||||||
|
Timeout set to expire in 5 min 0 sec
|
||||||
|
[Pipeline] {
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Checkout)
|
||||||
|
[Pipeline] checkout
|
||||||
|
The recommended git tool is: NONE
|
||||||
|
using credential gitea-startup-ci
|
||||||
|
Cloning the remote Git repository
|
||||||
|
Cloning with configured refspecs honoured and without tags
|
||||||
|
Cloning repository http://gitea:3000/group10-startup/startup-product.git
|
||||||
|
> git init /var/jenkins_home/workspace/startup-product-ci_PR-9 # timeout=10
|
||||||
|
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
||||||
|
> git --version # timeout=10
|
||||||
|
> git --version # 'git version 2.47.3'
|
||||||
|
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
||||||
|
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||||
|
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
||||||
|
> git config --add remote.origin.fetch +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||||
|
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
||||||
|
Fetching without tags
|
||||||
|
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
||||||
|
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
||||||
|
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||||
|
Checking out Revision 35605c33b903742cd13d444a1a14d61b07fbaa86 (codex/chapter4-issue-8)
|
||||||
|
> git config core.sparsecheckout # timeout=10
|
||||||
|
> git checkout -f 35605c33b903742cd13d444a1a14d61b07fbaa86 # timeout=10
|
||||||
|
Commit message: "Add pricing checks and controlled defect for issue #8"
|
||||||
|
First time build. Skipping changelog.
|
||||||
|
[Gitea] Notifying pull request build status: PENDING Build started...
|
||||||
|
[Gitea] Notified
|
||||||
|
[Pipeline] sh
|
||||||
|
+ git rev-parse HEAD
|
||||||
|
35605c33b903742cd13d444a1a14d61b07fbaa86
|
||||||
|
+ python3 --version
|
||||||
|
Python 3.13.5
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Syntax check)
|
||||||
|
[Pipeline] sh
|
||||||
|
+ python3 -m py_compile pricing.py tests/test_pricing.py
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Unit tests)
|
||||||
|
[Pipeline] sh
|
||||||
|
+ python3 -m unittest discover -s tests -v
|
||||||
|
test_invalid_quantity (test_pricing.PricingTests.test_invalid_quantity) ... ok
|
||||||
|
test_single_item (test_pricing.PricingTests.test_single_item) ... FAIL
|
||||||
|
test_total (test_pricing.PricingTests.test_total) ... FAIL
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
FAIL: test_single_item (test_pricing.PricingTests.test_single_item)
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/var/jenkins_home/workspace/startup-product-ci_PR-9/tests/test_pricing.py", line 11, in test_single_item
|
||||||
|
self.assertEqual(total_price(12.5, 1), 12.5)
|
||||||
|
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
AssertionError: 13.5 != 12.5
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
FAIL: test_total (test_pricing.PricingTests.test_total)
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
Traceback (most recent call last):
|
||||||
|
File "/var/jenkins_home/workspace/startup-product-ci_PR-9/tests/test_pricing.py", line 8, in test_total
|
||||||
|
self.assertEqual(total_price(10, 3), 30)
|
||||||
|
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
AssertionError: 13 != 30
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
Ran 3 tests in 0.005s
|
||||||
|
|
||||||
|
FAILED (failures=2)
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // timeout
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // node
|
||||||
|
[Pipeline] End of Pipeline
|
||||||
|
ERROR: script returned exit code 1
|
||||||
|
[Gitea] Notifying pull request build status: FAILURE There was a failure building this commit
|
||||||
|
[Gitea] Notified
|
||||||
|
[Gitea] do not publish assets due to build being non-Successfully
|
||||||
|
Finished: FAILURE
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 77 KiB |
@@ -0,0 +1 @@
|
|||||||
|
{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/1/wfapi/describe"}},"id":"1","name":"#1","status":"FAILED","startTimeMillis":1792624122694,"endTimeMillis":1792624177242,"durationMillis":54548,"queueDurationMillis":95,"pauseDurationMillis":0,"stages":[{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/1/execution/node/8/wfapi/describe"}},"id":"8","name":"Checkout","execNode":"","status":"SUCCESS","startTimeMillis":1792624147039,"durationMillis":17686,"pauseDurationMillis":0},{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/1/execution/node/14/wfapi/describe"}},"id":"14","name":"Syntax check","execNode":"","status":"SUCCESS","startTimeMillis":1792624164984,"durationMillis":1438,"pauseDurationMillis":0},{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/1/execution/node/19/wfapi/describe"}},"id":"19","name":"Unit tests","execNode":"","status":"FAILED","error":{"message":"script returned exit code 1","type":"hudson.AbortException"},"startTimeMillis":1792624166589,"durationMillis":8677,"pauseDurationMillis":0}]}
|
||||||
@@ -0,0 +1,143 @@
|
|||||||
|
{
|
||||||
|
"state": "failure",
|
||||||
|
"sha": "35605c33b903742cd13d444a1a14d61b07fbaa86",
|
||||||
|
"total_count": 1,
|
||||||
|
"statuses": [
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"status": "failure",
|
||||||
|
"target_url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/1/display/redirect",
|
||||||
|
"description": "There was a failure building this commit",
|
||||||
|
"url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/statuses/35605c33b903742cd13d444a1a14d61b07fbaa86",
|
||||||
|
"context": "startup-product-ci/pipeline/pr-main",
|
||||||
|
"creator": {
|
||||||
|
"id": 13,
|
||||||
|
"login": "jenkins-ci",
|
||||||
|
"login_name": "",
|
||||||
|
"source_id": 0,
|
||||||
|
"full_name": "",
|
||||||
|
"email": "13+jenkins-ci@noreply.git.sespinal590.dev",
|
||||||
|
"avatar_url": "https://git.sespinal590.dev/avatars/c6625ee715debdbdf5ddfde2ed4f987c",
|
||||||
|
"html_url": "https://git.sespinal590.dev/jenkins-ci",
|
||||||
|
"language": "",
|
||||||
|
"is_admin": false,
|
||||||
|
"last_login": "0001-01-01T00:00:00Z",
|
||||||
|
"created": "2026-10-21T23:05:31Z",
|
||||||
|
"restricted": true,
|
||||||
|
"active": false,
|
||||||
|
"prohibit_login": false,
|
||||||
|
"location": "",
|
||||||
|
"website": "",
|
||||||
|
"description": "",
|
||||||
|
"visibility": "public",
|
||||||
|
"followers_count": 0,
|
||||||
|
"following_count": 0,
|
||||||
|
"starred_repos_count": 0,
|
||||||
|
"username": "jenkins-ci"
|
||||||
|
},
|
||||||
|
"created_at": "2026-10-21T23:09:38Z",
|
||||||
|
"updated_at": "2026-10-21T23:09:38Z"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"id": 1,
|
||||||
|
"owner": {
|
||||||
|
"id": 2,
|
||||||
|
"login": "group10-startup",
|
||||||
|
"login_name": "",
|
||||||
|
"source_id": 0,
|
||||||
|
"full_name": "Group 10 Startup",
|
||||||
|
"email": "",
|
||||||
|
"avatar_url": "https://git.sespinal590.dev/avatars/f1149afff214b4ad4a008d22b56ca09a",
|
||||||
|
"html_url": "https://git.sespinal590.dev/group10-startup",
|
||||||
|
"language": "",
|
||||||
|
"is_admin": false,
|
||||||
|
"last_login": "0001-01-01T00:00:00Z",
|
||||||
|
"created": "2026-09-28T23:59:09Z",
|
||||||
|
"restricted": false,
|
||||||
|
"active": false,
|
||||||
|
"prohibit_login": false,
|
||||||
|
"location": "",
|
||||||
|
"website": "",
|
||||||
|
"description": "SSW 590 startup organization for the Gitea foundation assignment.",
|
||||||
|
"visibility": "public",
|
||||||
|
"followers_count": 0,
|
||||||
|
"following_count": 0,
|
||||||
|
"starred_repos_count": 0,
|
||||||
|
"username": "group10-startup"
|
||||||
|
},
|
||||||
|
"name": "startup-product",
|
||||||
|
"full_name": "group10-startup/startup-product",
|
||||||
|
"description": "Product repository for the SSW 590 startup workflow demonstration.",
|
||||||
|
"empty": false,
|
||||||
|
"private": false,
|
||||||
|
"fork": false,
|
||||||
|
"template": false,
|
||||||
|
"mirror": false,
|
||||||
|
"size": 33,
|
||||||
|
"language": "",
|
||||||
|
"languages_url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/languages",
|
||||||
|
"html_url": "https://git.sespinal590.dev/group10-startup/startup-product",
|
||||||
|
"url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product",
|
||||||
|
"link": "",
|
||||||
|
"ssh_url": "git@git.sespinal590.dev:group10-startup/startup-product.git",
|
||||||
|
"clone_url": "https://git.sespinal590.dev/group10-startup/startup-product.git",
|
||||||
|
"original_url": "",
|
||||||
|
"website": "",
|
||||||
|
"stars_count": 0,
|
||||||
|
"forks_count": 0,
|
||||||
|
"watchers_count": 1,
|
||||||
|
"branch_count": 4,
|
||||||
|
"open_issues_count": 4,
|
||||||
|
"open_pr_counter": 1,
|
||||||
|
"release_counter": 0,
|
||||||
|
"default_branch": "main",
|
||||||
|
"archived": false,
|
||||||
|
"created_at": "2026-09-28T23:59:09Z",
|
||||||
|
"updated_at": "2026-10-21T23:07:44Z",
|
||||||
|
"archived_at": "1970-01-01T00:00:00Z",
|
||||||
|
"permissions": {
|
||||||
|
"admin": true,
|
||||||
|
"push": true,
|
||||||
|
"pull": true
|
||||||
|
},
|
||||||
|
"has_code": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"internal_tracker": {
|
||||||
|
"enable_time_tracker": true,
|
||||||
|
"allow_only_contributors_to_track_time": true,
|
||||||
|
"enable_issue_dependencies": true
|
||||||
|
},
|
||||||
|
"has_wiki": true,
|
||||||
|
"has_pull_requests": true,
|
||||||
|
"has_projects": true,
|
||||||
|
"projects_mode": "all",
|
||||||
|
"has_releases": true,
|
||||||
|
"has_packages": true,
|
||||||
|
"has_actions": true,
|
||||||
|
"ignore_whitespace_conflicts": false,
|
||||||
|
"allow_merge_commits": true,
|
||||||
|
"allow_rebase": true,
|
||||||
|
"allow_rebase_explicit": true,
|
||||||
|
"allow_squash_merge": true,
|
||||||
|
"allow_fast_forward_only_merge": true,
|
||||||
|
"allow_merge_update": true,
|
||||||
|
"allow_rebase_update": true,
|
||||||
|
"allow_manual_merge": false,
|
||||||
|
"autodetect_manual_merge": false,
|
||||||
|
"default_delete_branch_after_merge": false,
|
||||||
|
"default_merge_style": "merge",
|
||||||
|
"default_update_style": "merge",
|
||||||
|
"default_allow_maintainer_edit": true,
|
||||||
|
"avatar_url": "",
|
||||||
|
"internal": false,
|
||||||
|
"mirror_interval": "",
|
||||||
|
"object_format_name": "sha1",
|
||||||
|
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||||
|
"mirror_last_sync_at": "0001-01-01T00:00:00Z",
|
||||||
|
"topics": [],
|
||||||
|
"licenses": []
|
||||||
|
},
|
||||||
|
"commit_url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/commits/35605c33b903742cd13d444a1a14d61b07fbaa86",
|
||||||
|
"url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/commits/35605c33b903742cd13d444a1a14d61b07fbaa86/status"
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"checked_at": "2026-10-21T23:15:51.960464+00:00",
|
||||||
|
"vantage": "External Windows team workstation; IPv4",
|
||||||
|
"host": "ci.165.227.90.215.sslip.io",
|
||||||
|
"ipv4": "165.227.90.215",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"port": 80,
|
||||||
|
"result": "OPEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 443,
|
||||||
|
"result": "OPEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 8080,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 50000,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 3000,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 5432,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"http": [
|
||||||
|
{
|
||||||
|
"url": "http://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 308 Permanent Redirect\nConnection: close\nLocation: https://ci.165.227.90.215.sslip.io/login\nServer: Caddy\nDate: Wed, 21 Oct 2026 23:15:54 GMT\n",
|
||||||
|
"error": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"curl_exit": 28,
|
||||||
|
"headers": "",
|
||||||
|
"error": "curl: (28) Operation timed out after 25002 milliseconds with 0 bytes received\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://git.sespinal590.dev/",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 200 OK\nAlt-Svc: h3=\":443\"; ma=2592000\nDate: Wed, 21 Oct 2026 23:16:20 GMT\nVia: 1.1 Caddy\nX-Content-Type-Options: nosniff\nX-Frame-Options: SAMEORIGIN\n",
|
||||||
|
"error": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ipv6_records": [],
|
||||||
|
"tls_validation": "curl uses the Windows Schannel trust store with verification enabled. The separate Python/OpenSSL attempt reported an expired-chain error; retained as a client trust-store discrepancy, not bypassed."
|
||||||
|
}
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"checked_at": "2026-10-21T23:31:35.061144+00:00",
|
||||||
|
"vantage": "External Windows team workstation; IPv4",
|
||||||
|
"host": "ci.165.227.90.215.sslip.io",
|
||||||
|
"ipv4": "165.227.90.215",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"port": 80,
|
||||||
|
"result": "OPEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 443,
|
||||||
|
"result": "OPEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 8080,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 50000,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 3000,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 5432,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"http": [
|
||||||
|
{
|
||||||
|
"url": "http://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 308 Permanent Redirect\nConnection: close\nLocation: https://ci.165.227.90.215.sslip.io/login\nServer: Caddy\nDate: Wed, 21 Oct 2026 23:31:37 GMT\nContent-Length: 0",
|
||||||
|
"error": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 200 OK\nAlt-Svc: h3=\":443\"; ma=2592000\nCache-Control: no-cache,no-store,must-revalidate\nContent-Type: text/html;charset=utf-8\nDate: Wed, 21 Oct 2026 23:31:38 GMT\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nServer: Jetty(12.0.25)\nVary: Accept-Encoding\nVia: 1.1 Caddy\nX-Content-Type-Options: nosniff\nX-Frame-Options: sameorigin\nX-Hudson: 1.395\nX-Jenkins: 2.528.1\nX-Jenkins-Session: 17d6caca\nTransfer-Encoding: chunked",
|
||||||
|
"error": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://git.sespinal590.dev/",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 200 OK\nAlt-Svc: h3=\":443\"; ma=2592000\nCache-Control: max-age=0, private, must-revalidate\nContent-Type: text/html; charset=utf-8\nDate: Wed, 21 Oct 2026 23:31:39 GMT\nVia: 1.1 Caddy\nX-Content-Type-Options: nosniff\nX-Frame-Options: SAMEORIGIN\nTransfer-Encoding: chunked",
|
||||||
|
"error": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ipv6_records": [],
|
||||||
|
"tls_validation": "curl uses the Windows Schannel trust store with verification enabled. The separate Python/OpenSSL attempt reported an expired-chain error; retained as a client trust-store discrepancy, not bypassed."
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
@@ -0,0 +1,116 @@
|
|||||||
|
Browser tab: 3, Title: "ssw590-gitea-firewall - DigitalOcean", URL: "https://cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b/droplets?i=d7271a".
|
||||||
|
0 AXWebArea ssw590-gitea-firewall - DigitalOcean, URL: cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b/droplets?i=d7271a
|
||||||
|
1 container
|
||||||
|
2 container root
|
||||||
|
3 container digitalocean-shell-container
|
||||||
|
4 container
|
||||||
|
5 link Description: Skip to main content, Value: cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b/droplets?i=d7271a#content
|
||||||
|
6 container navigation
|
||||||
|
7 link cloud.digitalocean.com/
|
||||||
|
8 content list
|
||||||
|
9 link Description: Home, Value: cloud.digitalocean.com/dashboard?i=d7271a
|
||||||
|
10 content list
|
||||||
|
11 link Description: Launchpad, Value: cloud.digitalocean.com/launchpad?i=d7271a
|
||||||
|
12 button (collapsed) PROJECTS, Secondary Actions: Expand
|
||||||
|
13 button (expanded) FAVORITES, Secondary Actions: Collapse
|
||||||
|
14 content list
|
||||||
|
15 button Star your favorite
|
||||||
|
16 button (collapsed) MANAGED AGENTS, Secondary Actions: Expand
|
||||||
|
17 button (collapsed) INFERENCE ENGINE, Secondary Actions: Expand
|
||||||
|
18 button (collapsed) DATA & LEARNING, Secondary Actions: Expand
|
||||||
|
19 button (expanded) CORE CLOUD, Secondary Actions: Collapse
|
||||||
|
20 content list
|
||||||
|
21 container
|
||||||
|
22 link Description: Droplets, Value: cloud.digitalocean.com/droplets?i=d7271a
|
||||||
|
23 checkbox Description: Add Droplets to favorites, Value: 0
|
||||||
|
24 container
|
||||||
|
25 link Description: GPU Droplets, Value: cloud.digitalocean.com/gpus?i=d7271a
|
||||||
|
26 checkbox Description: Add GPU Droplets to favorites, Value: 0
|
||||||
|
27 container
|
||||||
|
28 link Description: MicroVMs NEW, Value: cloud.digitalocean.com/microvms?i=d7271a
|
||||||
|
29 checkbox Description: Add MicroVMs to favorites, Value: 0
|
||||||
|
30 container
|
||||||
|
31 link Description: Kubernetes, Value: cloud.digitalocean.com/kubernetes/clusters?i=d7271a
|
||||||
|
32 checkbox Description: Add Kubernetes to favorites, Value: 0
|
||||||
|
33 container
|
||||||
|
34 link Description: App Platform, Value: cloud.digitalocean.com/apps?i=d7271a
|
||||||
|
35 checkbox Description: Add App Platform to favorites, Value: 0
|
||||||
|
36 container
|
||||||
|
37 link Description: Functions, Value: cloud.digitalocean.com/functions?i=d7271a
|
||||||
|
38 checkbox Description: Add Functions to favorites, Value: 0
|
||||||
|
39 container
|
||||||
|
40 link Description: Networking, Value: cloud.digitalocean.com/networking/domains?i=d7271a
|
||||||
|
41 checkbox Description: Add Networking to favorites, Value: 0
|
||||||
|
42 container
|
||||||
|
43 link Description: Volumes Block Storage, Value: cloud.digitalocean.com/volumes?i=d7271a
|
||||||
|
44 checkbox Description: Add Volumes Block Storage to favorites, Value: 0
|
||||||
|
45 container
|
||||||
|
46 link Description: Backups & Snapshots, Value: cloud.digitalocean.com/images?i=d7271a
|
||||||
|
47 checkbox Description: Add Backups & Snapshots to favorites, Value: 0
|
||||||
|
48 container
|
||||||
|
49 link Description: Container Registry, Value: cloud.digitalocean.com/registry?i=d7271a
|
||||||
|
50 checkbox Description: Add Container Registry to favorites, Value: 0
|
||||||
|
51 container
|
||||||
|
52 link Description: Spaces Object Storage, Value: cloud.digitalocean.com/spaces?i=d7271a
|
||||||
|
53 checkbox Description: Add Spaces Object Storage to favorites, Value: 0
|
||||||
|
54 container
|
||||||
|
55 link Description: Network File Storage, Value: cloud.digitalocean.com/nfs?i=d7271a
|
||||||
|
56 checkbox Description: Add Network File Storage to favorites, Value: 0
|
||||||
|
57 button (collapsed) MARKETPLACE, Secondary Actions: Expand
|
||||||
|
58 content list
|
||||||
|
59 container
|
||||||
|
60 link Description: Security NEW, Value: cloud.digitalocean.com/security?i=d7271a
|
||||||
|
61 checkbox Description: Add Security to favorites, Value: 0
|
||||||
|
62 button (collapsed) ACCOUNT, Secondary Actions: Expand
|
||||||
|
63 container
|
||||||
|
64 combo box (collapsed) Search by resource name or public IP (Ctrl+B), Secondary Actions: Expand
|
||||||
|
65 text field (settable) Search by resource name or public IP (Ctrl+B), ID: autocomplete-input
|
||||||
|
66 button create
|
||||||
|
67 pop up button (collapsed) Description: Support, Secondary Actions: Expand
|
||||||
|
68 button Change Log
|
||||||
|
69 pop up button (collapsed) Description: Theme, Secondary Actions: Expand
|
||||||
|
70 text My Team
|
||||||
|
71 pop up button (collapsed) Description: User Menu, Secondary Actions: Expand
|
||||||
|
72 text MT
|
||||||
|
73 checkbox Description: Toggle GradientAI chatbot, Value: 0
|
||||||
|
119 container
|
||||||
|
120 link Description: Back to Firewalls, Value: cloud.digitalocean.com/networking/firewalls?i=d7271a
|
||||||
|
121 container
|
||||||
|
122 heading ssw590-gitea-firewall, Value: 1
|
||||||
|
123 text ssw590-gitea-firewall
|
||||||
|
124 text 6 Rules / 1 Droplets
|
||||||
|
125 button dropdown-trigger
|
||||||
|
126 tab group
|
||||||
|
127 button Rules
|
||||||
|
128 tab (selectable, settable, boolean) Rules, Value: 0
|
||||||
|
129 button Droplets
|
||||||
|
130 tab (selected, settable, boolean) Droplets, Value: 1
|
||||||
|
131 heading Droplets, Value: 3
|
||||||
|
132 text Droplets
|
||||||
|
133 button Add droplets to firewall
|
||||||
|
134 text NAME
|
||||||
|
135 text IP ADDRESS
|
||||||
|
136 text STATE
|
||||||
|
137 text ADDED
|
||||||
|
138 link Description: sergio-ssw590-gitea 512 MB / 10 GB / NYC1, Value: cloud.digitalocean.com/droplets/604497684
|
||||||
|
139 container
|
||||||
|
140 text 165.227.90.215
|
||||||
|
141 button Copy to clipboard
|
||||||
|
142 text Up to date 25 days ago
|
||||||
|
143 button dropdown-trigger
|
||||||
|
105 content list
|
||||||
|
106 link Description: Support, Value: docs.digitalocean.com/support/
|
||||||
|
107 link Description: Status, Value: status.digitalocean.com/
|
||||||
|
108 link Description: Docs, Value: docs.digitalocean.com/
|
||||||
|
109 link Description: Tutorials, Value: digitalocean.com/community/tutorials
|
||||||
|
110 link Description: Blog, Value: blog.digitalocean.com/
|
||||||
|
111 link Description: Pricing, Value: digitalocean.com/pricing
|
||||||
|
112 link Description: Careers, Value: digitalocean.com/company/careers
|
||||||
|
113 link Description: Privacy, Value: digitalocean.com/legal/privacy
|
||||||
|
114 link Description: Terms, Value: digitalocean.com/legal/terms
|
||||||
|
115 container
|
||||||
|
116 button Description: Share feedback, ID: share-feedback-button
|
||||||
|
117 text Share Feedback
|
||||||
|
118 button Dismiss feedback button
|
||||||
|
|
||||||
|
The focused UI element is 0 AXWebArea ssw590-gitea-firewall - DigitalOcean, URL: cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b/droplets?i=d7271a
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 117 KiB |
@@ -0,0 +1,145 @@
|
|||||||
|
Browser tab: 3, Title: "ssw590-gitea-firewall - DigitalOcean", URL: "https://cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b".
|
||||||
|
0 AXWebArea ssw590-gitea-firewall - DigitalOcean, URL: cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b
|
||||||
|
1 container
|
||||||
|
2 container root
|
||||||
|
3 container digitalocean-shell-container
|
||||||
|
4 container
|
||||||
|
5 link Description: Skip to main content, Value: cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b#content
|
||||||
|
6 container navigation
|
||||||
|
7 link cloud.digitalocean.com/
|
||||||
|
8 content list
|
||||||
|
9 link Description: Home, Value: cloud.digitalocean.com/dashboard?i=d7271a
|
||||||
|
10 content list
|
||||||
|
11 link Description: Launchpad, Value: cloud.digitalocean.com/launchpad?i=d7271a
|
||||||
|
12 button (collapsed) PROJECTS, Secondary Actions: Expand
|
||||||
|
13 button (expanded) FAVORITES, Secondary Actions: Collapse
|
||||||
|
14 content list
|
||||||
|
15 button Star your favorite
|
||||||
|
16 button (collapsed) MANAGED AGENTS, Secondary Actions: Expand
|
||||||
|
17 button (collapsed) INFERENCE ENGINE, Secondary Actions: Expand
|
||||||
|
18 button (collapsed) DATA & LEARNING, Secondary Actions: Expand
|
||||||
|
19 button (expanded) CORE CLOUD, Secondary Actions: Collapse
|
||||||
|
20 content list
|
||||||
|
21 container
|
||||||
|
22 link Description: Droplets, Value: cloud.digitalocean.com/droplets?i=d7271a
|
||||||
|
23 checkbox Description: Add Droplets to favorites, Value: 0
|
||||||
|
24 container
|
||||||
|
25 link Description: GPU Droplets, Value: cloud.digitalocean.com/gpus?i=d7271a
|
||||||
|
26 checkbox Description: Add GPU Droplets to favorites, Value: 0
|
||||||
|
27 container
|
||||||
|
28 link Description: MicroVMs NEW, Value: cloud.digitalocean.com/microvms?i=d7271a
|
||||||
|
29 checkbox Description: Add MicroVMs to favorites, Value: 0
|
||||||
|
30 container
|
||||||
|
31 link Description: Kubernetes, Value: cloud.digitalocean.com/kubernetes/clusters?i=d7271a
|
||||||
|
32 checkbox Description: Add Kubernetes to favorites, Value: 0
|
||||||
|
33 container
|
||||||
|
34 link Description: App Platform, Value: cloud.digitalocean.com/apps?i=d7271a
|
||||||
|
35 checkbox Description: Add App Platform to favorites, Value: 0
|
||||||
|
36 container
|
||||||
|
37 link Description: Functions, Value: cloud.digitalocean.com/functions?i=d7271a
|
||||||
|
38 checkbox Description: Add Functions to favorites, Value: 0
|
||||||
|
39 container
|
||||||
|
40 link Description: Networking, Value: cloud.digitalocean.com/networking/domains?i=d7271a
|
||||||
|
41 checkbox Description: Add Networking to favorites, Value: 0
|
||||||
|
42 container
|
||||||
|
43 link Description: Volumes Block Storage, Value: cloud.digitalocean.com/volumes?i=d7271a
|
||||||
|
44 checkbox Description: Add Volumes Block Storage to favorites, Value: 0
|
||||||
|
45 container
|
||||||
|
46 link Description: Backups & Snapshots, Value: cloud.digitalocean.com/images?i=d7271a
|
||||||
|
47 checkbox Description: Add Backups & Snapshots to favorites, Value: 0
|
||||||
|
48 container
|
||||||
|
49 link Description: Container Registry, Value: cloud.digitalocean.com/registry?i=d7271a
|
||||||
|
50 checkbox Description: Add Container Registry to favorites, Value: 0
|
||||||
|
51 container
|
||||||
|
52 link Description: Spaces Object Storage, Value: cloud.digitalocean.com/spaces?i=d7271a
|
||||||
|
53 checkbox Description: Add Spaces Object Storage to favorites, Value: 0
|
||||||
|
54 container
|
||||||
|
55 link Description: Network File Storage, Value: cloud.digitalocean.com/nfs?i=d7271a
|
||||||
|
56 checkbox Description: Add Network File Storage to favorites, Value: 0
|
||||||
|
57 button (collapsed) MARKETPLACE, Secondary Actions: Expand
|
||||||
|
58 content list
|
||||||
|
59 container
|
||||||
|
60 link Description: Security NEW, Value: cloud.digitalocean.com/security?i=d7271a
|
||||||
|
61 checkbox Description: Add Security to favorites, Value: 0
|
||||||
|
62 button (collapsed) ACCOUNT, Secondary Actions: Expand
|
||||||
|
63 container
|
||||||
|
64 combo box (collapsed) Search by resource name or public IP (Ctrl+B), Secondary Actions: Expand
|
||||||
|
65 text field (settable) Search by resource name or public IP (Ctrl+B), ID: autocomplete-input
|
||||||
|
66 button create
|
||||||
|
67 pop up button (collapsed) Description: Support, Secondary Actions: Expand
|
||||||
|
68 button Change Log
|
||||||
|
69 pop up button (collapsed) Description: Theme, Secondary Actions: Expand
|
||||||
|
70 text My Team
|
||||||
|
71 pop up button (collapsed) Description: User Menu, Secondary Actions: Expand
|
||||||
|
72 text MT
|
||||||
|
73 checkbox Description: Toggle GradientAI chatbot, Value: 0
|
||||||
|
119 container
|
||||||
|
120 link Description: Back to Firewalls, Value: cloud.digitalocean.com/networking/firewalls?i=d7271a
|
||||||
|
121 container
|
||||||
|
122 heading ssw590-gitea-firewall, Value: 1
|
||||||
|
123 text ssw590-gitea-firewall
|
||||||
|
124 text 6 Rules / 1 Droplets
|
||||||
|
125 button dropdown-trigger
|
||||||
|
126 tab group
|
||||||
|
127 button Rules
|
||||||
|
128 tab (selected, settable, boolean) Rules, Value: 1
|
||||||
|
129 button Droplets
|
||||||
|
130 tab (selectable, settable, boolean) Droplets, Value: 0
|
||||||
|
131 text Search rules
|
||||||
|
132 search text field (settable) Search rules, ID: firewall-rules-search
|
||||||
|
133 button Filter
|
||||||
|
134 text Filters inbound and outbound rule tables.
|
||||||
|
135 heading Inbound rules, Value: 3
|
||||||
|
136 text Inbound rules
|
||||||
|
137 button Add inbound rule
|
||||||
|
138 text Inbound firewall rules define which inbound traffic is permitted or denied for your Droplets based on ports and sources. All other incoming traffic is blocked.
|
||||||
|
139 container
|
||||||
|
140 text ACTION
|
||||||
|
141 text TYPE
|
||||||
|
142 text PROTOCOL
|
||||||
|
143 text PORT RANGE
|
||||||
|
144 text SOURCES
|
||||||
|
145 container
|
||||||
|
146 text Allow SSH TCP 22 All IPv4 108.35.145.74/32
|
||||||
|
147 button dropdown-trigger
|
||||||
|
148 container
|
||||||
|
149 text Allow HTTP TCP 80 All IPv4 All IPv6
|
||||||
|
150 button dropdown-trigger
|
||||||
|
151 container
|
||||||
|
152 text Allow HTTPS TCP 443 All IPv4 All IPv6
|
||||||
|
153 button dropdown-trigger
|
||||||
|
154 heading Outbound rules, Value: 3
|
||||||
|
155 text Outbound rules
|
||||||
|
156 button Add outbound rule
|
||||||
|
157 text Outbound firewall rules define which outbound traffic is permitted or denied from your Droplets based on ports and destinations. All other outgoing traffic is blocked.
|
||||||
|
158 container
|
||||||
|
159 text ACTION
|
||||||
|
160 text TYPE
|
||||||
|
161 text PROTOCOL
|
||||||
|
162 text PORT RANGE
|
||||||
|
163 text DESTINATIONS
|
||||||
|
164 container
|
||||||
|
165 text Allow ICMP ICMP All IPv4 All IPv6
|
||||||
|
166 button dropdown-trigger
|
||||||
|
167 container
|
||||||
|
168 text Allow All TCP TCP All Ports All IPv4 All IPv6
|
||||||
|
169 button dropdown-trigger
|
||||||
|
170 container
|
||||||
|
171 text Allow All UDP UDP All Ports All IPv4 All IPv6
|
||||||
|
172 button dropdown-trigger
|
||||||
|
105 content list
|
||||||
|
106 link Description: Support, Value: docs.digitalocean.com/support/
|
||||||
|
107 link Description: Status, Value: status.digitalocean.com/
|
||||||
|
108 link Description: Docs, Value: docs.digitalocean.com/
|
||||||
|
109 link Description: Tutorials, Value: digitalocean.com/community/tutorials
|
||||||
|
110 link Description: Blog, Value: blog.digitalocean.com/
|
||||||
|
111 link Description: Pricing, Value: digitalocean.com/pricing
|
||||||
|
112 link Description: Careers, Value: digitalocean.com/company/careers
|
||||||
|
113 link Description: Privacy, Value: digitalocean.com/legal/privacy
|
||||||
|
114 link Description: Terms, Value: digitalocean.com/legal/terms
|
||||||
|
115 container
|
||||||
|
116 button Description: Share feedback, ID: share-feedback-button
|
||||||
|
117 text Share Feedback
|
||||||
|
118 button Dismiss feedback button
|
||||||
|
|
||||||
|
The focused UI element is 0 AXWebArea ssw590-gitea-firewall - DigitalOcean, URL: cloud.digitalocean.com/networking/firewalls/dc253da0-adff-4549-b4d1-ce3cb509914b
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
{
|
||||||
|
"observed_local_date": "2026-10-23",
|
||||||
|
"captured_at": "2026-10-24T02:13:26.842444+00:00",
|
||||||
|
"source": "Authenticated DigitalOcean console via user sign-in; visible Rules and Droplets tabs",
|
||||||
|
"firewall_name": "ssw590-gitea-firewall",
|
||||||
|
"firewall_id": "dc253da0-adff-4549-b4d1-ce3cb509914b",
|
||||||
|
"droplet_id": 604497684,
|
||||||
|
"droplet_ip": "165.227.90.215",
|
||||||
|
"attachment_status": "Up to date",
|
||||||
|
"inbound": [
|
||||||
|
{
|
||||||
|
"protocol": "tcp",
|
||||||
|
"port": 22,
|
||||||
|
"sources": [
|
||||||
|
"All IPv4",
|
||||||
|
"108.35.145.74/32"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "tcp",
|
||||||
|
"port": 80,
|
||||||
|
"sources": [
|
||||||
|
"All IPv4",
|
||||||
|
"All IPv6"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "tcp",
|
||||||
|
"port": 443,
|
||||||
|
"sources": [
|
||||||
|
"All IPv4",
|
||||||
|
"All IPv6"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbound": [
|
||||||
|
{
|
||||||
|
"protocol": "icmp",
|
||||||
|
"destinations": [
|
||||||
|
"All IPv4",
|
||||||
|
"All IPv6"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "tcp",
|
||||||
|
"ports": "all",
|
||||||
|
"destinations": [
|
||||||
|
"All IPv4",
|
||||||
|
"All IPv6"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol": "udp",
|
||||||
|
"ports": "all",
|
||||||
|
"destinations": [
|
||||||
|
"All IPv4",
|
||||||
|
"All IPv6"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"changes_made": false,
|
||||||
|
"limitation": "SSH is globally allowed over IPv4; the additional /32 does not narrow All IPv4. No public IPv6 assigned to the host."
|
||||||
|
}
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
Branch indexing
|
||||||
|
Looking up repository group10-startup/startup-product
|
||||||
|
Querying the current revision of branch main...
|
||||||
|
Current revision of branch main is 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065
|
||||||
|
Obtained Jenkinsfile from 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065
|
||||||
|
[Pipeline] Start of Pipeline
|
||||||
|
[Pipeline] node
|
||||||
|
Still waiting to schedule task
|
||||||
|
Waiting for next available executor
|
||||||
|
Running on Jenkins in /var/jenkins_home/workspace/startup-product-ci_main
|
||||||
|
[Pipeline] {
|
||||||
|
[Pipeline] timeout
|
||||||
|
Timeout set to expire in 5 min 0 sec
|
||||||
|
[Pipeline] {
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Checkout)
|
||||||
|
[Pipeline] checkout
|
||||||
|
The recommended git tool is: NONE
|
||||||
|
using credential gitea-startup-ci
|
||||||
|
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/startup-product-ci_main/.git # timeout=10
|
||||||
|
Fetching changes from the remote Git repository
|
||||||
|
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
||||||
|
Fetching without tags
|
||||||
|
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
||||||
|
> git --version # timeout=10
|
||||||
|
> git --version # 'git version 2.47.3'
|
||||||
|
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
||||||
|
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/heads/main:refs/remotes/origin/main # timeout=10
|
||||||
|
Checking out Revision 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065 (main)
|
||||||
|
> git config core.sparsecheckout # timeout=10
|
||||||
|
> git checkout -f 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065 # timeout=10
|
||||||
|
Commit message: "Merge PR #9: Chapter 4 Jenkins failure and repair"
|
||||||
|
> git rev-list --no-walk b0eee02470f4d3bace433ce484ba2119bc7df595 # timeout=10
|
||||||
|
[Gitea] Notifying branch build status: PENDING Build started...
|
||||||
|
[Gitea] Notified
|
||||||
|
[Pipeline] sh
|
||||||
|
+ git rev-parse HEAD
|
||||||
|
6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065
|
||||||
|
+ python3 --version
|
||||||
|
Python 3.13.5
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Syntax check)
|
||||||
|
[Pipeline] sh
|
||||||
|
+ python3 -m py_compile pricing.py tests/test_pricing.py
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Unit tests)
|
||||||
|
[Pipeline] sh
|
||||||
|
+ python3 -m unittest discover -s tests -v
|
||||||
|
test_invalid_quantity (test_pricing.PricingTests.test_invalid_quantity) ... ok
|
||||||
|
test_single_item (test_pricing.PricingTests.test_single_item) ... ok
|
||||||
|
test_total (test_pricing.PricingTests.test_total) ... ok
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
Ran 3 tests in 0.001s
|
||||||
|
|
||||||
|
OK
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // timeout
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // node
|
||||||
|
[Pipeline] End of Pipeline
|
||||||
|
[Gitea] Notifying branch build status: SUCCESS This commit looks good
|
||||||
|
[Gitea] Notified
|
||||||
|
Finished: SUCCESS
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"_class": "hudson.model.CauseAction",
|
||||||
|
"causes": [
|
||||||
|
{
|
||||||
|
"_class": "jenkins.branch.BranchIndexingCause",
|
||||||
|
"shortDescription": "Branch indexing"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_class": "jenkins.scm.api.SCMRevisionAction"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.libs.LibrariesAction"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
"_class": "hudson.plugins.git.util.BuildData",
|
||||||
|
"lastBuiltRevision": {
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartDeclarativePipelineAction"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.job.views.FlowGraphAction"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{}
|
||||||
|
],
|
||||||
|
"building": false,
|
||||||
|
"number": 2,
|
||||||
|
"result": "SUCCESS",
|
||||||
|
"timestamp": 1792800375385,
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/main/2/"
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"_links":{"self":{"href":"/job/startup-product-ci/job/main/lastBuild/wfapi/describe"},"changesets":{"href":"/job/startup-product-ci/job/main/lastBuild/wfapi/changesets"}},"id":"2","name":"#2","status":"SUCCESS","startTimeMillis":1792800375456,"endTimeMillis":1792800439204,"durationMillis":63748,"queueDurationMillis":71,"pauseDurationMillis":0,"stages":[{"_links":{"self":{"href":"/job/startup-product-ci/job/main/lastBuild/execution/node/8/wfapi/describe"}},"id":"8","name":"Checkout","execNode":"","status":"SUCCESS","startTimeMillis":1792800432466,"durationMillis":3938,"pauseDurationMillis":0},{"_links":{"self":{"href":"/job/startup-product-ci/job/main/lastBuild/execution/node/14/wfapi/describe"}},"id":"14","name":"Syntax check","execNode":"","status":"SUCCESS","startTimeMillis":1792800436546,"durationMillis":936,"pauseDurationMillis":0},{"_links":{"self":{"href":"/job/startup-product-ci/job/main/lastBuild/execution/node/19/wfapi/describe"}},"id":"19","name":"Unit tests","execNode":"","status":"SUCCESS","startTimeMillis":1792800437594,"durationMillis":995,"pauseDurationMillis":0}]}
|
||||||
@@ -0,0 +1,140 @@
|
|||||||
|
{
|
||||||
|
"checked_at": "2026-10-24T00:05:21.689184+00:00",
|
||||||
|
"authorization": "Sergio explicitly authorized a transparent merge without peer approval on October 23, 2026. No Turan review claimed.",
|
||||||
|
"protection_before": {
|
||||||
|
"branch_name": "main",
|
||||||
|
"rule_name": "main",
|
||||||
|
"priority": 1,
|
||||||
|
"enable_push": false,
|
||||||
|
"enable_push_whitelist": false,
|
||||||
|
"push_whitelist_usernames": [],
|
||||||
|
"push_whitelist_teams": [],
|
||||||
|
"push_whitelist_deploy_keys": false,
|
||||||
|
"enable_force_push": false,
|
||||||
|
"enable_force_push_allowlist": false,
|
||||||
|
"force_push_allowlist_usernames": [],
|
||||||
|
"force_push_allowlist_teams": [],
|
||||||
|
"force_push_allowlist_deploy_keys": false,
|
||||||
|
"enable_merge_whitelist": false,
|
||||||
|
"merge_whitelist_usernames": [],
|
||||||
|
"merge_whitelist_teams": [],
|
||||||
|
"enable_bypass_allowlist": false,
|
||||||
|
"bypass_allowlist_usernames": [],
|
||||||
|
"bypass_allowlist_teams": [],
|
||||||
|
"enable_status_check": true,
|
||||||
|
"status_check_contexts": [
|
||||||
|
"startup-product-ci/pipeline/pr-main"
|
||||||
|
],
|
||||||
|
"required_approvals": 1,
|
||||||
|
"enable_approvals_whitelist": false,
|
||||||
|
"approvals_whitelist_username": [],
|
||||||
|
"approvals_whitelist_teams": [],
|
||||||
|
"block_on_rejected_reviews": true,
|
||||||
|
"block_on_official_review_requests": false,
|
||||||
|
"block_on_outdated_branch": false,
|
||||||
|
"dismiss_stale_approvals": true,
|
||||||
|
"ignore_stale_approvals": false,
|
||||||
|
"require_signed_commits": false,
|
||||||
|
"protected_file_patterns": "",
|
||||||
|
"unprotected_file_patterns": "",
|
||||||
|
"block_admin_merge_override": true,
|
||||||
|
"created_at": "2026-10-21T23:09:26Z",
|
||||||
|
"updated_at": "2026-10-24T00:04:40Z"
|
||||||
|
},
|
||||||
|
"temporary_protection": {
|
||||||
|
"branch_name": "main",
|
||||||
|
"rule_name": "main",
|
||||||
|
"priority": 1,
|
||||||
|
"enable_push": false,
|
||||||
|
"enable_push_whitelist": false,
|
||||||
|
"push_whitelist_usernames": [],
|
||||||
|
"push_whitelist_teams": [],
|
||||||
|
"push_whitelist_deploy_keys": false,
|
||||||
|
"enable_force_push": false,
|
||||||
|
"enable_force_push_allowlist": false,
|
||||||
|
"force_push_allowlist_usernames": [],
|
||||||
|
"force_push_allowlist_teams": [],
|
||||||
|
"force_push_allowlist_deploy_keys": false,
|
||||||
|
"enable_merge_whitelist": false,
|
||||||
|
"merge_whitelist_usernames": [],
|
||||||
|
"merge_whitelist_teams": [],
|
||||||
|
"enable_bypass_allowlist": false,
|
||||||
|
"bypass_allowlist_usernames": [],
|
||||||
|
"bypass_allowlist_teams": [],
|
||||||
|
"enable_status_check": true,
|
||||||
|
"status_check_contexts": [
|
||||||
|
"startup-product-ci/pipeline/pr-main"
|
||||||
|
],
|
||||||
|
"required_approvals": 0,
|
||||||
|
"enable_approvals_whitelist": false,
|
||||||
|
"approvals_whitelist_username": [],
|
||||||
|
"approvals_whitelist_teams": [],
|
||||||
|
"block_on_rejected_reviews": true,
|
||||||
|
"block_on_official_review_requests": false,
|
||||||
|
"block_on_outdated_branch": false,
|
||||||
|
"dismiss_stale_approvals": true,
|
||||||
|
"ignore_stale_approvals": false,
|
||||||
|
"require_signed_commits": false,
|
||||||
|
"protected_file_patterns": "",
|
||||||
|
"unprotected_file_patterns": "",
|
||||||
|
"block_admin_merge_override": true,
|
||||||
|
"created_at": "2026-10-21T23:09:26Z",
|
||||||
|
"updated_at": "2026-10-24T00:05:22Z"
|
||||||
|
},
|
||||||
|
"merge_response": null,
|
||||||
|
"protection_after": {
|
||||||
|
"branch_name": "main",
|
||||||
|
"rule_name": "main",
|
||||||
|
"priority": 1,
|
||||||
|
"enable_push": false,
|
||||||
|
"enable_push_whitelist": false,
|
||||||
|
"push_whitelist_usernames": [],
|
||||||
|
"push_whitelist_teams": [],
|
||||||
|
"push_whitelist_deploy_keys": false,
|
||||||
|
"enable_force_push": false,
|
||||||
|
"enable_force_push_allowlist": false,
|
||||||
|
"force_push_allowlist_usernames": [],
|
||||||
|
"force_push_allowlist_teams": [],
|
||||||
|
"force_push_allowlist_deploy_keys": false,
|
||||||
|
"enable_merge_whitelist": false,
|
||||||
|
"merge_whitelist_usernames": [],
|
||||||
|
"merge_whitelist_teams": [],
|
||||||
|
"enable_bypass_allowlist": false,
|
||||||
|
"bypass_allowlist_usernames": [],
|
||||||
|
"bypass_allowlist_teams": [],
|
||||||
|
"enable_status_check": true,
|
||||||
|
"status_check_contexts": [
|
||||||
|
"startup-product-ci/pipeline/pr-main"
|
||||||
|
],
|
||||||
|
"required_approvals": 1,
|
||||||
|
"enable_approvals_whitelist": false,
|
||||||
|
"approvals_whitelist_username": [],
|
||||||
|
"approvals_whitelist_teams": [],
|
||||||
|
"block_on_rejected_reviews": true,
|
||||||
|
"block_on_official_review_requests": false,
|
||||||
|
"block_on_outdated_branch": false,
|
||||||
|
"dismiss_stale_approvals": true,
|
||||||
|
"ignore_stale_approvals": false,
|
||||||
|
"require_signed_commits": false,
|
||||||
|
"protected_file_patterns": "",
|
||||||
|
"unprotected_file_patterns": "",
|
||||||
|
"block_admin_merge_override": true,
|
||||||
|
"created_at": "2026-10-21T23:09:26Z",
|
||||||
|
"updated_at": "2026-10-24T00:05:27Z"
|
||||||
|
},
|
||||||
|
"pr_after": {
|
||||||
|
"number": 9,
|
||||||
|
"state": "closed",
|
||||||
|
"merged": true,
|
||||||
|
"merged_at": "2026-10-24T00:05:26Z",
|
||||||
|
"merge_commit_sha": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"html_url": "https://git.sespinal590.dev/group10-startup/startup-product/pulls/9"
|
||||||
|
},
|
||||||
|
"reviews_after": [],
|
||||||
|
"issue_after": {
|
||||||
|
"html_url": "https://git.sespinal590.dev/group10-startup/startup-product/issues/8",
|
||||||
|
"number": 8,
|
||||||
|
"state": "closed",
|
||||||
|
"closed_at": "2026-10-24T00:05:26Z"
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"checked_at": "2026-10-24T00:01:12.271736+00:00",
|
||||||
|
"vantage": "External Windows team workstation; IPv4",
|
||||||
|
"host": "ci.165.227.90.215.sslip.io",
|
||||||
|
"ipv4": "165.227.90.215",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"port": 80,
|
||||||
|
"result": "OPEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 443,
|
||||||
|
"result": "OPEN"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 8080,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 50000,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 3000,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"port": 5432,
|
||||||
|
"result": "BLOCKED/UNREACHABLE",
|
||||||
|
"detail": "TimeoutError"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"http": [
|
||||||
|
{
|
||||||
|
"url": "http://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 308 Permanent Redirect\nConnection: close\nLocation: https://ci.165.227.90.215.sslip.io/login\nServer: Caddy\nDate: Sat, 24 Oct 2026 00:01:17 GMT\nContent-Length: 0\n",
|
||||||
|
"error": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 403 Forbidden\nAlt-Svc: h3=\":443\"; ma=2592000\nContent-Type: text/plain; charset=utf-8\nServer: Caddy\nDate: Sat, 24 Oct 2026 00:01:18 GMT\nContent-Length: 72\n",
|
||||||
|
"error": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://git.sespinal590.dev/",
|
||||||
|
"curl_exit": 0,
|
||||||
|
"headers": "HTTP/1.1 200 OK\nAlt-Svc: h3=\":443\"; ma=2592000\nCache-Control: max-age=0, private, must-revalidate\nContent-Type: text/html; charset=utf-8\nDate: Sat, 24 Oct 2026 00:01:18 GMT\nVia: 1.1 Caddy\nX-Content-Type-Options: nosniff\nX-Frame-Options: SAMEORIGIN\nTransfer-Encoding: chunked\n",
|
||||||
|
"error": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ipv6_records": [],
|
||||||
|
"tls_validation": "curl uses the Windows Schannel trust store with verification enabled. No TLS verification bypass is used in this dated check."
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"pr": 9,
|
||||||
|
"status": "success",
|
||||||
|
"checked_at": "2026-10-23T20:00:24.2593762-04:00",
|
||||||
|
"head": "ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"checks": [
|
||||||
|
{
|
||||||
|
"context": "startup-product-ci/pipeline/pr-main",
|
||||||
|
"status": "success",
|
||||||
|
"target_url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/display/redirect"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"reviews": [],
|
||||||
|
"state": "open",
|
||||||
|
"merged": false
|
||||||
|
}
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
Branch indexing
|
||||||
|
Looking up repository group10-startup/startup-product
|
||||||
|
Querying the current revision of pull request #9...
|
||||||
|
Current revision of pull request #9 is ed8684a2897c407946320183e572f6412dbb7703
|
||||||
|
Obtained Jenkinsfile from ed8684a2897c407946320183e572f6412dbb7703
|
||||||
|
[Pipeline] Start of Pipeline
|
||||||
|
[Pipeline] node
|
||||||
|
Running on Jenkins in /var/jenkins_home/workspace/startup-product-ci_PR-9
|
||||||
|
[Pipeline] {
|
||||||
|
[Pipeline] timeout
|
||||||
|
Timeout set to expire in 5 min 0 sec
|
||||||
|
[Pipeline] {
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Checkout)
|
||||||
|
[Pipeline] checkout
|
||||||
|
The recommended git tool is: NONE
|
||||||
|
using credential gitea-startup-ci
|
||||||
|
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/startup-product-ci_PR-9/.git # timeout=10
|
||||||
|
Fetching changes from the remote Git repository
|
||||||
|
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
||||||
|
Fetching without tags
|
||||||
|
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
||||||
|
> git --version # timeout=10
|
||||||
|
> git --version # 'git version 2.47.3'
|
||||||
|
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
||||||
|
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||||
|
Checking out Revision ed8684a2897c407946320183e572f6412dbb7703 (codex/chapter4-issue-8)
|
||||||
|
> git config core.sparsecheckout # timeout=10
|
||||||
|
> git checkout -f ed8684a2897c407946320183e572f6412dbb7703 # timeout=10
|
||||||
|
Commit message: "Fix pricing multiplication and document clean CI run for issue #8"
|
||||||
|
> git rev-list --no-walk 35605c33b903742cd13d444a1a14d61b07fbaa86 # timeout=10
|
||||||
|
[Gitea] Notifying pull request build status: PENDING Build started...
|
||||||
|
[Gitea] Notified
|
||||||
|
[Pipeline] sh
|
||||||
|
+ git rev-parse HEAD
|
||||||
|
ed8684a2897c407946320183e572f6412dbb7703
|
||||||
|
+ python3 --version
|
||||||
|
Python 3.13.5
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Syntax check)
|
||||||
|
[Pipeline] sh
|
||||||
|
+ python3 -m py_compile pricing.py tests/test_pricing.py
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] stage
|
||||||
|
[Pipeline] { (Unit tests)
|
||||||
|
[Pipeline] sh
|
||||||
|
+ python3 -m unittest discover -s tests -v
|
||||||
|
test_invalid_quantity (test_pricing.PricingTests.test_invalid_quantity) ... ok
|
||||||
|
test_single_item (test_pricing.PricingTests.test_single_item) ... ok
|
||||||
|
test_total (test_pricing.PricingTests.test_total) ... ok
|
||||||
|
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
Ran 3 tests in 0.000s
|
||||||
|
|
||||||
|
OK
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // stage
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // timeout
|
||||||
|
[Pipeline] }
|
||||||
|
[Pipeline] // node
|
||||||
|
[Pipeline] End of Pipeline
|
||||||
|
[Gitea] Notifying pull request build status: SUCCESS This commit looks good
|
||||||
|
[Gitea] Notified
|
||||||
|
Finished: SUCCESS
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
@@ -0,0 +1 @@
|
|||||||
|
{"_class":"org.jenkinsci.plugins.workflow.job.WorkflowRun","actions":[{"_class":"hudson.model.CauseAction","causes":[{"_class":"jenkins.branch.BranchIndexingCause","shortDescription":"Branch indexing"}]},{"_class":"jenkins.scm.api.SCMRevisionAction"},{"_class":"org.jenkinsci.plugins.workflow.libs.LibrariesAction"},{},{},{"_class":"hudson.plugins.git.util.BuildData","lastBuiltRevision":{"SHA1":"ed8684a2897c407946320183e572f6412dbb7703"}},{},{},{"_class":"org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"},{"_class":"org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartDeclarativePipelineAction"},{},{"_class":"org.jenkinsci.plugins.workflow.job.views.FlowGraphAction"},{},{}],"building":false,"duration":16028,"number":2,"result":"SUCCESS","timestamp":1792624339880,"url":"https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/2/wfapi/describe"},"changesets":{"href":"/job/startup-product-ci/job/PR-9/2/wfapi/changesets"}},"id":"2","name":"#2","status":"SUCCESS","startTimeMillis":1792624339917,"endTimeMillis":1792624355945,"durationMillis":16028,"queueDurationMillis":37,"pauseDurationMillis":0,"stages":[{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/2/execution/node/8/wfapi/describe"}},"id":"8","name":"Checkout","execNode":"","status":"SUCCESS","startTimeMillis":1792624349444,"durationMillis":3673,"pauseDurationMillis":0},{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/2/execution/node/14/wfapi/describe"}},"id":"14","name":"Syntax check","execNode":"","status":"SUCCESS","startTimeMillis":1792624353234,"durationMillis":636,"pauseDurationMillis":0},{"_links":{"self":{"href":"/job/startup-product-ci/job/PR-9/2/execution/node/19/wfapi/describe"}},"id":"19","name":"Unit tests","execNode":"","status":"SUCCESS","startTimeMillis":1792624353998,"durationMillis":948,"pauseDurationMillis":0}]}
|
||||||
@@ -0,0 +1,143 @@
|
|||||||
|
{
|
||||||
|
"state": "success",
|
||||||
|
"sha": "ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"total_count": 1,
|
||||||
|
"statuses": [
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"status": "success",
|
||||||
|
"target_url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/display/redirect",
|
||||||
|
"description": "This commit looks good",
|
||||||
|
"url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/statuses/ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"context": "startup-product-ci/pipeline/pr-main",
|
||||||
|
"creator": {
|
||||||
|
"id": 13,
|
||||||
|
"login": "jenkins-ci",
|
||||||
|
"login_name": "",
|
||||||
|
"source_id": 0,
|
||||||
|
"full_name": "",
|
||||||
|
"email": "13+jenkins-ci@noreply.git.sespinal590.dev",
|
||||||
|
"avatar_url": "https://git.sespinal590.dev/avatars/c6625ee715debdbdf5ddfde2ed4f987c",
|
||||||
|
"html_url": "https://git.sespinal590.dev/jenkins-ci",
|
||||||
|
"language": "",
|
||||||
|
"is_admin": false,
|
||||||
|
"last_login": "0001-01-01T00:00:00Z",
|
||||||
|
"created": "2026-10-21T23:05:31Z",
|
||||||
|
"restricted": true,
|
||||||
|
"active": false,
|
||||||
|
"prohibit_login": false,
|
||||||
|
"location": "",
|
||||||
|
"website": "",
|
||||||
|
"description": "",
|
||||||
|
"visibility": "public",
|
||||||
|
"followers_count": 0,
|
||||||
|
"following_count": 0,
|
||||||
|
"starred_repos_count": 0,
|
||||||
|
"username": "jenkins-ci"
|
||||||
|
},
|
||||||
|
"created_at": "2026-10-21T23:12:36Z",
|
||||||
|
"updated_at": "2026-10-21T23:12:36Z"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"repository": {
|
||||||
|
"id": 1,
|
||||||
|
"owner": {
|
||||||
|
"id": 2,
|
||||||
|
"login": "group10-startup",
|
||||||
|
"login_name": "",
|
||||||
|
"source_id": 0,
|
||||||
|
"full_name": "Group 10 Startup",
|
||||||
|
"email": "",
|
||||||
|
"avatar_url": "https://git.sespinal590.dev/avatars/f1149afff214b4ad4a008d22b56ca09a",
|
||||||
|
"html_url": "https://git.sespinal590.dev/group10-startup",
|
||||||
|
"language": "",
|
||||||
|
"is_admin": false,
|
||||||
|
"last_login": "0001-01-01T00:00:00Z",
|
||||||
|
"created": "2026-09-28T23:59:09Z",
|
||||||
|
"restricted": false,
|
||||||
|
"active": false,
|
||||||
|
"prohibit_login": false,
|
||||||
|
"location": "",
|
||||||
|
"website": "",
|
||||||
|
"description": "SSW 590 startup organization for the Gitea foundation assignment.",
|
||||||
|
"visibility": "public",
|
||||||
|
"followers_count": 0,
|
||||||
|
"following_count": 0,
|
||||||
|
"starred_repos_count": 0,
|
||||||
|
"username": "group10-startup"
|
||||||
|
},
|
||||||
|
"name": "startup-product",
|
||||||
|
"full_name": "group10-startup/startup-product",
|
||||||
|
"description": "Product repository for the SSW 590 startup workflow demonstration.",
|
||||||
|
"empty": false,
|
||||||
|
"private": false,
|
||||||
|
"fork": false,
|
||||||
|
"template": false,
|
||||||
|
"mirror": false,
|
||||||
|
"size": 35,
|
||||||
|
"language": "",
|
||||||
|
"languages_url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/languages",
|
||||||
|
"html_url": "https://git.sespinal590.dev/group10-startup/startup-product",
|
||||||
|
"url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product",
|
||||||
|
"link": "",
|
||||||
|
"ssh_url": "git@git.sespinal590.dev:group10-startup/startup-product.git",
|
||||||
|
"clone_url": "https://git.sespinal590.dev/group10-startup/startup-product.git",
|
||||||
|
"original_url": "",
|
||||||
|
"website": "",
|
||||||
|
"stars_count": 0,
|
||||||
|
"forks_count": 0,
|
||||||
|
"watchers_count": 1,
|
||||||
|
"branch_count": 4,
|
||||||
|
"open_issues_count": 4,
|
||||||
|
"open_pr_counter": 1,
|
||||||
|
"release_counter": 0,
|
||||||
|
"default_branch": "main",
|
||||||
|
"archived": false,
|
||||||
|
"created_at": "2026-09-28T23:59:09Z",
|
||||||
|
"updated_at": "2026-10-21T23:11:41Z",
|
||||||
|
"archived_at": "1970-01-01T00:00:00Z",
|
||||||
|
"permissions": {
|
||||||
|
"admin": true,
|
||||||
|
"push": true,
|
||||||
|
"pull": true
|
||||||
|
},
|
||||||
|
"has_code": true,
|
||||||
|
"has_issues": true,
|
||||||
|
"internal_tracker": {
|
||||||
|
"enable_time_tracker": true,
|
||||||
|
"allow_only_contributors_to_track_time": true,
|
||||||
|
"enable_issue_dependencies": true
|
||||||
|
},
|
||||||
|
"has_wiki": true,
|
||||||
|
"has_pull_requests": true,
|
||||||
|
"has_projects": true,
|
||||||
|
"projects_mode": "all",
|
||||||
|
"has_releases": true,
|
||||||
|
"has_packages": true,
|
||||||
|
"has_actions": true,
|
||||||
|
"ignore_whitespace_conflicts": false,
|
||||||
|
"allow_merge_commits": true,
|
||||||
|
"allow_rebase": true,
|
||||||
|
"allow_rebase_explicit": true,
|
||||||
|
"allow_squash_merge": true,
|
||||||
|
"allow_fast_forward_only_merge": true,
|
||||||
|
"allow_merge_update": true,
|
||||||
|
"allow_rebase_update": true,
|
||||||
|
"allow_manual_merge": false,
|
||||||
|
"autodetect_manual_merge": false,
|
||||||
|
"default_delete_branch_after_merge": false,
|
||||||
|
"default_merge_style": "merge",
|
||||||
|
"default_update_style": "merge",
|
||||||
|
"default_allow_maintainer_edit": true,
|
||||||
|
"avatar_url": "",
|
||||||
|
"internal": false,
|
||||||
|
"mirror_interval": "",
|
||||||
|
"object_format_name": "sha1",
|
||||||
|
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||||
|
"mirror_last_sync_at": "0001-01-01T00:00:00Z",
|
||||||
|
"topics": [],
|
||||||
|
"licenses": []
|
||||||
|
},
|
||||||
|
"commit_url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/commits/ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"url": "https://git.sespinal590.dev/api/v1/repos/group10-startup/startup-product/commits/ed8684a2897c407946320183e572f6412dbb7703/status"
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
\textbf{Restart persistence passed.} On October 21, 2026, 23:17:18--23:18:07 UTC, the idle Jenkins container was restarted. The multibranch configuration SHA-256 stayed identical (\texttt{c34e6ff6} prefix); the configured job and PR-9 run~2 remained present with result SUCCESS. The HTTPS base URL, single controller executor, periodic scan and zero failed plugins were rechecked afterward. The full before/after record is retained in \nolinkurl{evidence/chapter4/persistence.json}. This was a restart test, not a backup/restore or container-recreation test.
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"started_at": "2026-10-21T23:17:18.699535+00:00",
|
||||||
|
"before": {
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
|
||||||
|
"number": 2,
|
||||||
|
"result": "SUCCESS",
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/"
|
||||||
|
},
|
||||||
|
"job_config_sha256_before": "c34e6ff6ca692bd3d5aae08029ed817d302747c9f78d2a9f685b3f98311d1a75",
|
||||||
|
"after": {
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
|
||||||
|
"number": 2,
|
||||||
|
"result": "SUCCESS",
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/"
|
||||||
|
},
|
||||||
|
"job_config_sha256_after": "c34e6ff6ca692bd3d5aae08029ed817d302747c9f78d2a9f685b3f98311d1a75",
|
||||||
|
"completed_at": "2026-10-21T23:18:07.239671+00:00",
|
||||||
|
"passed": true,
|
||||||
|
"scope": "Container restart persistence; not a backup/restore test or container-recreation test.",
|
||||||
|
"settings": "executors=1\nurl=https://ci.165.227.90.215.sslip.io/\nfailedPlugins=[]\npolling=[com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger$DescriptorImpl@7064187:com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger@59146576[* * * * *]]\n"
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
Update-center refresh: [[default, OK: <div/>]]
|
||||||
|
Installed plugins with available updates: [{"name":"asm-api","installed":"9.10.1-216.va_9256d3b_844b_","available":"9.11.1-226.vff833a_e4c58e"},{"name":"bouncycastle-api","installed":"2.30.1.82-277.v70ca_0b_877184","available":"2.30.1.86.2-310.v4655f6742752"},{"name":"caffeine-api","installed":"3.2.3-194.v31a_b_f7a_b_5a_81","available":"3.3.1-214.v18eb_56b_34920"},{"name":"command-launcher","installed":"123.v37cfdc92ef67","available":"141.v9578cf36b_311"},{"name":"eddsa-api","installed":"0.3.0.1-19.vc432d923e5ee","available":"0.3.0.1-29.v67e9a_1c969b_b_"},{"name":"git","installed":"5.10.1","available":"5.11.0"},{"name":"gson-api","installed":"2.13.2-173.va_a_092315913c","available":"2.14.0-201.v8eefe5515533"},{"name":"jaxb","installed":"2.3.9-133.vb_ec76a_73f706","available":"2.3.9-143.v5979df3304e6"},{"name":"mina-sshd-api-common","installed":"2.16.0-167.va_269f38cc024","available":"2.19.0-192.v2b_a_7b_2c1dc71"},{"name":"mina-sshd-api-core","installed":"2.16.0-167.va_269f38cc024","available":"2.19.0-192.v2b_a_7b_2c1dc71"},{"name":"script-security","installed":"1399.ve6a_66547f6e1","available":"1436.v1082791135e4"},{"name":"sshd","installed":"3.374.v19b_d59ce6610","available":"3.384.vc89b_5e138cf9"},{"name":"trilead-api","installed":"2.209.v0e69b_c43c245","available":"2.284.v1974ea_324382"},{"name":"workflow-job","installed":"1571.1580.v18e46842c125","available":"1571.1585.v21fce07cd04d"}]
|
||||||
|
Core: 2.528.1
|
||||||
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"manual_branch": "codex/chapter4-jenkins-evidence",
|
||||||
|
"commit": "da0577e435e61f87a36f041f703131412979f801",
|
||||||
|
"verified_remote": "da0577e435e61f87a36f041f703131412979f801",
|
||||||
|
"url": "https://git.sespinal590.dev/group10-startup/devops-it-manual/src/branch/codex/chapter4-jenkins-evidence",
|
||||||
|
"main_changed": false
|
||||||
|
}
|
||||||
@@ -0,0 +1,468 @@
|
|||||||
|
{
|
||||||
|
"repository": "group10-startup/startup-product",
|
||||||
|
"bot": "jenkins-ci",
|
||||||
|
"issue": 8,
|
||||||
|
"branch": "codex/chapter4-issue-8",
|
||||||
|
"failed_commit": "35605c33b903742cd13d444a1a14d61b07fbaa86",
|
||||||
|
"pr": 9,
|
||||||
|
"pr_url": "https://git.sespinal590.dev/group10-startup/startup-product/pulls/9",
|
||||||
|
"context": "startup-product-ci/pipeline/pr-main",
|
||||||
|
"repair_commit": "ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"repair_pushed_at": "2026-10-21T23:11:38.223025+00:00",
|
||||||
|
"collected_at": "2026-10-21T23:13:47.679498+00:00",
|
||||||
|
"merged": false,
|
||||||
|
"head": "ed8684a2897c407946320183e572f6412dbb7703",
|
||||||
|
"reviews": [],
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"shortName": "apache-httpcomponents-client-4-api",
|
||||||
|
"version": "4.5.14-269.vfa_2321039a_83",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "asm-api",
|
||||||
|
"version": "9.10.1-216.va_9256d3b_844b_",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "authentication-tokens",
|
||||||
|
"version": "1.144.v5ff4a_5ec5c33",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "bouncycastle-api",
|
||||||
|
"version": "2.30.1.82-277.v70ca_0b_877184",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "branch-api",
|
||||||
|
"version": "2.1303.v9f3b_95dc329d",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "caffeine-api",
|
||||||
|
"version": "3.2.3-194.v31a_b_f7a_b_5a_81",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "checks-api",
|
||||||
|
"version": "422.vc7e8b_51488c6",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "cloudbees-folder",
|
||||||
|
"version": "6.1106.v3a_d9a_6d2465e",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "command-launcher",
|
||||||
|
"version": "123.v37cfdc92ef67",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "commons-lang3-api",
|
||||||
|
"version": "3.21.0-122.v6a_ea_4fd34049",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "commons-text-api",
|
||||||
|
"version": "1.15.0-218.va_61573470393",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "credentials-binding",
|
||||||
|
"version": "728.v902a_273b_8947",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "credentials",
|
||||||
|
"version": "1487.va_d001ede2c31",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "display-url-api",
|
||||||
|
"version": "2.217.va_6b_de84cc74b_",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "durable-task",
|
||||||
|
"version": "686.v80ff80875b_82",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "eddsa-api",
|
||||||
|
"version": "0.3.0.1-19.vc432d923e5ee",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "git-client",
|
||||||
|
"version": "6.6.1",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "git",
|
||||||
|
"version": "5.10.1",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "gitea-checks",
|
||||||
|
"version": "604.638.ve9e5472551b_3",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "gitea",
|
||||||
|
"version": "273.vb_78d13f6d9a_d",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "gson-api",
|
||||||
|
"version": "2.13.2-173.va_a_092315913c",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "handy-uri-templates-2-api",
|
||||||
|
"version": "2.1.8-38.vcea_5d521d5f3",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "instance-identity",
|
||||||
|
"version": "203.v15e81a_1b_7a_38",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "ionicons-api",
|
||||||
|
"version": "94.vcc3065403257",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jackson-annotations2-api",
|
||||||
|
"version": "2.22-19.v10a_a_582ea_26e",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jackson2-api",
|
||||||
|
"version": "2.21.2-436.v29efdb_7418ff",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jakarta-activation-api",
|
||||||
|
"version": "2.1.4-1",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jakarta-mail-api",
|
||||||
|
"version": "2.1.5-1",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jakarta-xml-bind-api",
|
||||||
|
"version": "4.0.9-19.v2b_a_5b_44d9a_1c",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "javax-activation-api",
|
||||||
|
"version": "1.2.0-8",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "javax-mail-api",
|
||||||
|
"version": "1.6.2-11",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jaxb",
|
||||||
|
"version": "2.3.9-133.vb_ec76a_73f706",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "jdk-tool",
|
||||||
|
"version": "83.v417146707a_3d",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "joda-time-api",
|
||||||
|
"version": "2.15.0-208.v6b_084e7a_d9f0",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "json-api",
|
||||||
|
"version": "20260814-226.v20f9685d642c",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "mailer",
|
||||||
|
"version": "534.v1b_36f5864073",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "mina-sshd-api-common",
|
||||||
|
"version": "2.16.0-167.va_269f38cc024",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "mina-sshd-api-core",
|
||||||
|
"version": "2.16.0-167.va_269f38cc024",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-build-step",
|
||||||
|
"version": "601.v6d4c6d1a_9dc7",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-graph-analysis",
|
||||||
|
"version": "254.v0f63a_a_447dca_",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-groovy-lib",
|
||||||
|
"version": "798.v5cc688825312",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-input-step",
|
||||||
|
"version": "560.v56198a_642157",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-milestone-step",
|
||||||
|
"version": "152.v6e22b_8cfc66c",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-model-api",
|
||||||
|
"version": "2.2293.v6e7193cec599",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-model-definition",
|
||||||
|
"version": "2.2293.v6e7193cec599",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-model-extensions",
|
||||||
|
"version": "2.2293.v6e7193cec599",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-rest-api",
|
||||||
|
"version": "2.41",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-stage-step",
|
||||||
|
"version": "345.va_96187909426",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-stage-tags-metadata",
|
||||||
|
"version": "2.2293.v6e7193cec599",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "pipeline-stage-view",
|
||||||
|
"version": "2.41",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "plain-credentials",
|
||||||
|
"version": "199.v9f8e1f741799",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "plugin-util-api",
|
||||||
|
"version": "6.1192.v30fe6e2837ff",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "scm-api",
|
||||||
|
"version": "728.vc30dcf7a_0df5",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "script-security",
|
||||||
|
"version": "1399.ve6a_66547f6e1",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "snakeyaml-api",
|
||||||
|
"version": "2.7-152.vc672728cf536",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "ssh-credentials",
|
||||||
|
"version": "372.va_250881b_08cd",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "sshd",
|
||||||
|
"version": "3.374.v19b_d59ce6610",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "structs",
|
||||||
|
"version": "362.va_b_695ef4fdf9",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "trilead-api",
|
||||||
|
"version": "2.209.v0e69b_c43c245",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "variant",
|
||||||
|
"version": "70.va_d9f17f859e0",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "woodstox-core-api",
|
||||||
|
"version": "7.3.0-16.v017f30ed004c",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-aggregator",
|
||||||
|
"version": "608.v67378e9d3db_1",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-api",
|
||||||
|
"version": "1384.vdc05a_48f535f",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-basic-steps",
|
||||||
|
"version": "1098.v808b_fd7f8cf4",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-cps",
|
||||||
|
"version": "4350.vcc65d4958821",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-durable-task-step",
|
||||||
|
"version": "1479.v56e587f413a_7",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-job",
|
||||||
|
"version": "1571.1580.v18e46842c125",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-multibranch",
|
||||||
|
"version": "841.vec5b_9e1806ec",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-scm-step",
|
||||||
|
"version": "487.v41313a_96b_65d",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-step-api",
|
||||||
|
"version": "724.v538c2362b_dfb_",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shortName": "workflow-support",
|
||||||
|
"version": "1015.v785e5a_b_b_8b_22",
|
||||||
|
"active": true,
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"runtime": "Python 3.13.5\ngit version 2.47.3",
|
||||||
|
"containers": "jenkins | jenkins/jenkins:2.528.1-lts-jdk21 | Up 11 minutes | 8080/tcp, 50000/tcp\ncaddy | caddy:2.10.2 | Up 3 weeks | 0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp, 443/udp, 2019/tcp\ngitea | gitea/gitea:1.27.3 | Up 2 weeks | 22/tcp, 3000/tcp",
|
||||||
|
"capacity": "total used free shared buff/cache available\nMem: 458 321 11 3 149 137\nSwap: 1023 544 479\nFilesystem Size Used Avail Use% Mounted on\n/dev/vda1 8.7G 5.4G 3.4G 62% /",
|
||||||
|
"ufw": "Status: inactive",
|
||||||
|
"ipv6": "No global IPv6 addresses.",
|
||||||
|
"certificates": {
|
||||||
|
"git.sespinal590.dev.crt": "issuer=C = US, O = Let's Encrypt, CN = YE1\nsubject=CN = git.sespinal590.dev\nnotBefore=Sep 28 23:44:00 2026 GMT\nnotAfter=Dec 27 23:43:59 2026 GMT",
|
||||||
|
"ci.165.227.90.215.sslip.io.crt": "issuer=C = US, O = Let's Encrypt, CN = YE1\nsubject=CN = ci.165.227.90.215.sslip.io\nnotBefore=Oct 7 04:04:29 2026 GMT\nnotAfter=Jan 5 04:04:28 2027 GMT"
|
||||||
|
},
|
||||||
|
"jenkins_security": "Security realm: hudson.security.HudsonPrivateSecurityRealm\nSelf signup disabled: true\nAuthorization: hudson.security.FullControlOnceLoggedInAuthorizationStrategy\nAnonymous read allowed: false\nExecutors: 1; labels: controller-small-trusted\nFailed plugins: []\nDocker socket mounted: false\nPolling: [com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger$DescriptorImpl@747c7415:com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger@4603f629[* * * * *]]\n",
|
||||||
|
"jenkins_users": [
|
||||||
|
{
|
||||||
|
"id": "admin",
|
||||||
|
"fullName": "admin"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sespinal",
|
||||||
|
"fullName": "sespinal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sespinal-admin",
|
||||||
|
"fullName": "sespinal-admin"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Tunnel HTTPS login: 200; certificate verification enabled
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
# Gitea Actions runner notes
|
# Gitea Actions runner notes
|
||||||
|
|
||||||
Target runner label: windows-latex-host
|
Target runner label: windows-latex-host
|
||||||
|
Runner name: sergio-windows-latex-runner
|
||||||
Execution mode: host runner on Sergio's Windows workstation
|
Execution mode: host runner on Sergio's Windows workstation
|
||||||
Toolchain: local MiKTeX with latexmk, Git, Node.js, and Python/Pygments
|
Toolchain: local MiKTeX with latexmk, Git, Node.js, and Python/Pygments
|
||||||
Workflow path: .gitea/workflows/manual-pdf.yml
|
Workflow path: .gitea/workflows/manual-pdf.yml
|
||||||
@@ -8,6 +9,12 @@ Main file: devopsAssignment.tex
|
|||||||
Build command: latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex
|
Build command: latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex
|
||||||
Artifact: devopsAssignment.pdf uploaded from the matching Actions run
|
Artifact: devopsAssignment.pdf uploaded from the matching Actions run
|
||||||
|
|
||||||
Docker job execution was tested first, but the 512 MB Droplet had too little free disk for a full TeX Live image.
|
Evidence collected on October 13, 2026:
|
||||||
The registered Windows host runner is the current working build path.
|
|
||||||
Do not commit runner registration tokens, Gitea tokens, or private keys.
|
- Run 3 on main at f15d65c succeeded and uploaded devops-it-manual-3-f15d65cc7490253c310a80973d92b20b272598d1.
|
||||||
|
- Run 4 on main at ca620f9 succeeded as a second main-branch source-change build.
|
||||||
|
- Run 6 on chapter3-failure-test at 2d879a8 failed after a deliberate undefined LaTeX command was introduced.
|
||||||
|
- Run 7 on chapter3-failure-test at 6ca37f1 succeeded after the deliberate failure was removed.
|
||||||
|
|
||||||
|
Docker job execution was tested first, but the 512 MB Droplet had too little free disk for a full TeX Live image. The registered Windows host runner is the current working build path.
|
||||||
|
Do not commit runner registration tokens, Gitea tokens, SSH keys, or private Gitea configuration values.
|
||||||
+8
-1
@@ -3,7 +3,14 @@ git.sespinal590.dev {
|
|||||||
reverse_proxy gitea:3000
|
reverse_proxy gitea:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Current team source explicitly approved on 2026-10-21; review when networks change.
|
||||||
ci.165.227.90.215.sslip.io {
|
ci.165.227.90.215.sslip.io {
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
reverse_proxy jenkins:8080
|
@approved remote_ip 155.246.151.38/32 172.18.0.1/32
|
||||||
|
handle @approved {
|
||||||
|
reverse_proxy jenkins:8080
|
||||||
|
}
|
||||||
|
handle {
|
||||||
|
respond "Jenkins access requires an approved team source or administrator tunnel." 403
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
|
# Current team source explicitly approved on 2026-10-21; review when networks change.
|
||||||
ci.165.227.90.215.sslip.io {
|
ci.165.227.90.215.sslip.io {
|
||||||
encode zstd gzip
|
encode zstd gzip
|
||||||
reverse_proxy jenkins:8080
|
@approved remote_ip 155.246.151.38/32 172.18.0.1/32
|
||||||
|
handle @approved {
|
||||||
|
reverse_proxy jenkins:8080
|
||||||
|
}
|
||||||
|
handle {
|
||||||
|
respond "Jenkins access requires an approved team source or administrator tunnel." 403
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+12
-16
@@ -1,30 +1,26 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent { label 'controller-small-trusted' }
|
||||||
|
options {
|
||||||
|
skipDefaultCheckout()
|
||||||
|
disableConcurrentBuilds()
|
||||||
|
timeout(time: 5, unit: 'MINUTES')
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '20'))
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git rev-parse HEAD && python3 --version'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Syntax check') {
|
||||||
stage('Lint') {
|
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh 'python3 -m py_compile pricing.py tests/test_pricing.py'
|
||||||
set -eu
|
|
||||||
test -f README.md
|
|
||||||
grep -qi "startup" README.md
|
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Unit tests') {
|
||||||
stage('Automated Test') {
|
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh 'python3 -m unittest discover -s tests -v'
|
||||||
set -eu
|
|
||||||
printf "CI smoke test for startup-product\\n"
|
|
||||||
find . -maxdepth 2 -type f | sort | head -20
|
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -eu
|
||||||
|
# Run on the Droplet after creating/recreating the official Jenkins container.
|
||||||
|
docker exec --user root jenkins sh -c 'apt-get update -qq && apt-get install -y --no-install-recommends python3 && rm -rf /var/lib/apt/lists/*'
|
||||||
|
docker exec jenkins python3 --version
|
||||||
|
docker exec jenkins git --version
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
\resizebox{\linewidth}{!}{%
|
||||||
|
\begin{tikzpicture}[font=\small,box/.style={draw,rounded corners,align=center,text width=2.8cm,minimum height=1.3cm},arr/.style={-{Latex[length=2mm]},thick}]
|
||||||
|
\node[box,text width=2.3cm] (browser) at (0,0) {\guillemotleft device\guillemotright\\Team browser};
|
||||||
|
\node[box,text width=2.6cm] (fw) at (3.8,0) {Cloud Firewall\\TCP 443\\HTTP 80 for redirect};
|
||||||
|
\node[box] (proxy) at (10.8,0) {\guillemotleft container\guillemotright\\Caddy TLS proxy};
|
||||||
|
\node[box,text width=3.0cm] (jenkins) at (8.0,-3.8) {\guillemotleft container\guillemotright\\Jenkins controller\\checkout and tests};
|
||||||
|
\node[box] (gitea) at (13.5,-3.8) {\guillemotleft container\guillemotright\\Gitea :3000};
|
||||||
|
\node[box] (jh) at (8.0,-6.5) {Jenkins home\\host bind mount};
|
||||||
|
\node[box] (gd) at (13.5,-6.5) {Gitea data\\SQLite + repositories};
|
||||||
|
\draw[dashed] (6.0,1.2) rectangle (15.5,-7.5);
|
||||||
|
\node[align=center] at (10.75,1.6) {\guillemotleft device\guillemotright\ DigitalOcean Droplet 165.227.90.215};
|
||||||
|
\draw[arr] (browser)--(fw);
|
||||||
|
\draw[arr] (fw)--node[above]{HTTPS}(proxy);
|
||||||
|
\draw[arr] (proxy)--node[left=2mm,align=right]{private\\:8080}(jenkins);
|
||||||
|
\draw[arr] (proxy)--node[right=2mm,align=left]{private\\:3000}(gitea);
|
||||||
|
\draw[arr] ([yshift=3mm]jenkins.east)--node[above,align=center,font=\footnotesize]{poll / checkout\\commit status}([yshift=3mm]gitea.west);
|
||||||
|
\draw[arr] ([yshift=-3mm]gitea.west)--node[below,align=center,font=\footnotesize]{API / Git\\responses}([yshift=-3mm]jenkins.east);
|
||||||
|
\draw[arr] (jenkins)--(jh);
|
||||||
|
\draw[arr] (gitea)--(gd);
|
||||||
|
\end{tikzpicture}}
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
|
||||||
|
asm-api:9.10.1-216.va_9256d3b_844b_
|
||||||
|
authentication-tokens:1.144.v5ff4a_5ec5c33
|
||||||
|
bouncycastle-api:2.30.1.82-277.v70ca_0b_877184
|
||||||
|
branch-api:2.1303.v9f3b_95dc329d
|
||||||
|
caffeine-api:3.2.3-194.v31a_b_f7a_b_5a_81
|
||||||
|
checks-api:422.vc7e8b_51488c6
|
||||||
|
cloudbees-folder:6.1106.v3a_d9a_6d2465e
|
||||||
|
command-launcher:123.v37cfdc92ef67
|
||||||
|
commons-lang3-api:3.21.0-122.v6a_ea_4fd34049
|
||||||
|
commons-text-api:1.15.0-218.va_61573470393
|
||||||
|
credentials:1487.va_d001ede2c31
|
||||||
|
credentials-binding:728.v902a_273b_8947
|
||||||
|
display-url-api:2.217.va_6b_de84cc74b_
|
||||||
|
durable-task:686.v80ff80875b_82
|
||||||
|
eddsa-api:0.3.0.1-19.vc432d923e5ee
|
||||||
|
git:5.10.1
|
||||||
|
git-client:6.6.1
|
||||||
|
gitea:273.vb_78d13f6d9a_d
|
||||||
|
gitea-checks:604.638.ve9e5472551b_3
|
||||||
|
gson-api:2.13.2-173.va_a_092315913c
|
||||||
|
handy-uri-templates-2-api:2.1.8-38.vcea_5d521d5f3
|
||||||
|
instance-identity:203.v15e81a_1b_7a_38
|
||||||
|
ionicons-api:94.vcc3065403257
|
||||||
|
jackson-annotations2-api:2.22-19.v10a_a_582ea_26e
|
||||||
|
jackson2-api:2.21.2-436.v29efdb_7418ff
|
||||||
|
jakarta-activation-api:2.1.4-1
|
||||||
|
jakarta-mail-api:2.1.5-1
|
||||||
|
jakarta-xml-bind-api:4.0.9-19.v2b_a_5b_44d9a_1c
|
||||||
|
javax-activation-api:1.2.0-8
|
||||||
|
javax-mail-api:1.6.2-11
|
||||||
|
jaxb:2.3.9-133.vb_ec76a_73f706
|
||||||
|
jdk-tool:83.v417146707a_3d
|
||||||
|
joda-time-api:2.15.0-208.v6b_084e7a_d9f0
|
||||||
|
json-api:20260814-226.v20f9685d642c
|
||||||
|
mailer:534.v1b_36f5864073
|
||||||
|
mina-sshd-api-common:2.16.0-167.va_269f38cc024
|
||||||
|
mina-sshd-api-core:2.16.0-167.va_269f38cc024
|
||||||
|
pipeline-build-step:601.v6d4c6d1a_9dc7
|
||||||
|
pipeline-graph-analysis:254.v0f63a_a_447dca_
|
||||||
|
pipeline-groovy-lib:798.v5cc688825312
|
||||||
|
pipeline-input-step:560.v56198a_642157
|
||||||
|
pipeline-milestone-step:152.v6e22b_8cfc66c
|
||||||
|
pipeline-model-api:2.2293.v6e7193cec599
|
||||||
|
pipeline-model-definition:2.2293.v6e7193cec599
|
||||||
|
pipeline-model-extensions:2.2293.v6e7193cec599
|
||||||
|
pipeline-rest-api:2.41
|
||||||
|
pipeline-stage-step:345.va_96187909426
|
||||||
|
pipeline-stage-tags-metadata:2.2293.v6e7193cec599
|
||||||
|
pipeline-stage-view:2.41
|
||||||
|
plain-credentials:199.v9f8e1f741799
|
||||||
|
plugin-util-api:6.1192.v30fe6e2837ff
|
||||||
|
scm-api:728.vc30dcf7a_0df5
|
||||||
|
script-security:1399.ve6a_66547f6e1
|
||||||
|
snakeyaml-api:2.7-152.vc672728cf536
|
||||||
|
ssh-credentials:372.va_250881b_08cd
|
||||||
|
sshd:3.374.v19b_d59ce6610
|
||||||
|
structs:362.va_b_695ef4fdf9
|
||||||
|
trilead-api:2.209.v0e69b_c43c245
|
||||||
|
variant:70.va_d9f17f859e0
|
||||||
|
woodstox-core-api:7.3.0-16.v017f30ed004c
|
||||||
|
workflow-aggregator:608.v67378e9d3db_1
|
||||||
|
workflow-api:1384.vdc05a_48f535f
|
||||||
|
workflow-basic-steps:1098.v808b_fd7f8cf4
|
||||||
|
workflow-cps:4350.vcc65d4958821
|
||||||
|
workflow-durable-task-step:1479.v56e587f413a_7
|
||||||
|
workflow-job:1571.1580.v18e46842c125
|
||||||
|
workflow-multibranch:841.vec5b_9e1806ec
|
||||||
|
workflow-scm-step:487.v41313a_96b_65d
|
||||||
|
workflow-step-api:724.v538c2362b_dfb_
|
||||||
|
workflow-support:1015.v785e5a_b_b_8b_22
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# Chapter 4 Jenkins configuration
|
||||||
|
|
||||||
|
Use official `jenkins/jenkins:2.528.1-lts-jdk21`, the existing private `gitea_default` Docker network, persistent `/opt/jenkins/home`, and no published Jenkins/agent ports. Apply compose.yml from `/opt/jenkins`. Run bootstrap-executor.sh after container creation/recreation; installing Python inside a container survives restart but does not survive recreation. Python observed: 3.13.5; Git: 2.47.3. No pip dependencies or Docker socket are needed.
|
||||||
|
|
||||||
|
Retain the home directory and a rollback copy before plugin changes. plugins.txt records every loaded plugin/version after repair; it is a version inventory, not a claim that all are the newest available. Four previously incompatible dependencies were aligned: bouncycastle-api 2.30.1.82-277.v70ca_0b_877184, caffeine-api 3.2.3-194.v31a_b_f7a_b_5a_81, gson-api 2.13.2-173.va_a_092315913c, script-security 1399.ve6a_66547f6e1. Verify zero failed plugins after restart. Refresh the update center, review advisories/core compatibility, and schedule newer versions as a separate tested upgrade; never blindly replace the working plugin set.
|
||||||
|
|
||||||
|
In Manage Jenkins > System > Gitea Servers, register `http://gitea:3000`, with automatic webhook management off. Create a Multibranch Pipeline named `startup-product-ci`, Gitea source owner `group10-startup`, repository `startup-product`, and credential ID `gitea-startup-ci` (Gitea personal access token). The restricted, non-admin `jenkins-ci` bot has collaborator access only to startup-product and token scopes write:repository/read:user. Gitea requires repository write access for status publication. Keep the token in Jenkins credentials; do not put its value in a pipeline or this repository.
|
||||||
|
|
||||||
|
Discover branches excluding those with open PRs (strategy 1). Discover origin PR heads (strategy 2); do not discover fork PRs. Jenkinsfile path: Jenkinsfile. Configure Scan Multibranch Pipeline Triggers > Periodically if not otherwise run for 1 minute. This is the rubric-permitted polling fallback. No webhook delivery is claimed. An initial indexing failure `Unknown server: http://gitea:3000` was fixed by registering the endpoint globally. A subsequent corrective push was discovered automatically: PR-9 run 2, commit ed8684a2897c407946320183e572f6412dbb7703.
|
||||||
|
|
||||||
|
Set Jenkins URL to `https://ci.165.227.90.215.sslip.io/`, one controller executor, label `controller-small-trusted`; the small course-only trusted build runs here. Disable self-registration and anonymous read. Restrict pipeline changes to trusted team writers; do not add untrusted forks, privileged mounts, or build-secret bindings. Settings/jobs/build history persist under Jenkins home. A controller build remains a security tradeoff; use an isolated agent and zero controller executors before accepting untrusted contributions.
|
||||||
|
|
||||||
|
Protect `main`: required context `startup-product-ci/pipeline/pr-main`, one approval, dismiss stale approvals, block rejected reviews, direct pushes disabled, force pushes disabled, admin merge override disabled. The check must match the latest PR head. Issue 8 and PR 9 contain the controlled failure and repair. Peer approval and eventual merge must be performed and recorded honestly.
|
||||||
|
|
||||||
|
For a failed check, open the exact linked run, compare its checked-out SHA with the PR head, then inspect the first failed stage. For missing checks, verify periodic scan timestamp/result, registered Gitea URL, token permission, network connectivity, plugin activation, and context spelling. If switching to webhooks later, scope events/destination, inspect delivery status, and keep the Jenkins interface private. Never disable CSRF to repair scripted requests; retain the session cookie with its crumb or use an approved Jenkins API token.
|
||||||
|
|
||||||
|
Restart: `cd /opt/jenkins && docker compose restart jenkins`. Verify the login, job, run history, configured polling, and absence of failed plugins. For cleanup stop the Jenkins container and disable its scan; revoke the CI bot token when integration is retired. Do not delete persistent home or shared Gitea/Caddy data. No new paid cloud resource was provisioned for Chapter 4.
|
||||||
|
|
||||||
|
## Browser access, 2026-10-21
|
||||||
|
|
||||||
|
Sergio explicitly approved CI access only from 155.246.151.38/32 and Docker host gateway 172.18.0.1/32. The updated Caddyfile-snippet reflects the deployed matcher. Approved source GET returned 200; an excluded container using a validated TLS connection to private Caddy returned 403. Gitea is unaffected. Verify administrator access before every source restriction change. Instructor viewing can occur on an approved network with the operator, or through the documented administrator-assisted SSH tunnel; no instructor Jenkins sign-in is required. Current account-side Cloud Firewall rule inspection remains pending.
|
||||||
|
|
||||||
|
|
||||||
|
## October 23 deadline exception
|
||||||
|
PR #9 merged as 6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065 at Sergio's explicit request without peer approval. Required approvals were temporarily lowered to zero, then restored to one; the required CI context and other protections stayed enabled. main/2 passed the merged application tests. No Turan review is claimed. See evidence/chapter4/oct23-merge.json and the manual for the unmet rubric requirement.
|
||||||
Reference in New Issue
Block a user