Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19f66a7845 | ||
|
|
831dcc4b54 | ||
|
|
e459785351 | ||
|
|
98a3a6d39e | ||
|
|
54a2dd85fb | ||
|
|
34edd679ea | ||
|
|
5f33bf4a4f | ||
|
|
9b0d7aed14 | ||
|
|
4a18c2e67b | ||
|
|
114fb4b11a | ||
|
|
6e2873cc6b | ||
|
|
073c176cd7 | ||
|
|
3c50432eb8 | ||
|
|
436454548a | ||
|
|
e5865202ab | ||
|
|
48704e0eff | ||
|
|
4fa2bed7ba | ||
|
|
b31a247244 | ||
|
|
3cf24224f5 | ||
|
|
ee128d18bd | ||
|
|
4d7e4f932f | ||
|
|
699d509024 | ||
|
|
126dbb00b3 | ||
|
|
0cb5a34cc4 | ||
|
|
746b42b72b | ||
|
|
935eaa8624 | ||
|
|
9e96c83197 | ||
|
|
35523ccd3c | ||
|
|
88f3bb0d0a | ||
|
|
6ba31a3b44 | ||
|
|
c1cd3ad9af | ||
|
|
65e401172b | ||
|
|
b8a2529ce9 | ||
|
|
b0e8cead18 | ||
|
|
2bdb431ef2 | ||
|
|
4cc9a2c6ac | ||
|
|
80c7fe2bdc | ||
|
|
55abfbc951 | ||
|
|
dd7c12c519 | ||
|
|
28d13ef5b8 | ||
|
|
83da3087c9 | ||
|
|
c35558c20b | ||
|
|
242372e381 | ||
|
|
f44cebd00e | ||
|
|
f55a36468c | ||
|
|
bda4ac8240 | ||
|
|
344dbcbcd4 | ||
|
|
10c85ea655 | ||
|
|
c3ed52e1da | ||
|
|
0f56106723 | ||
|
|
acdd4c0a4c | ||
|
|
ced96c8a2b | ||
|
|
b42689f02f | ||
|
|
6605394d7a | ||
|
|
131d605c5e | ||
|
|
b7ef4850b7 | ||
|
|
02d31699aa | ||
|
|
d6477b3df6 | ||
|
|
ad056a363c | ||
|
|
041adfcda4 | ||
|
|
4a67a09780 | ||
|
|
8a9f4b3b5b | ||
|
|
2b82307761 | ||
|
|
d812910ba8 | ||
|
|
b6511602f7 | ||
|
|
db2a8be2ec |
@@ -1,7 +1,7 @@
|
|||||||
name: Team manual PDF
|
name: Team manual PDF
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, manual-build-validation]
|
branches: [main, manual-build-validation, assignment7/manual-1.9.2, assignment8/evidence-documentation, assignment9/ticket-management]
|
||||||
jobs:
|
jobs:
|
||||||
manual:
|
manual:
|
||||||
runs-on: manual-latex
|
runs-on: manual-latex
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Publish verified PDF and traceability manifest
|
- name: Publish verified PDF and traceability manifest
|
||||||
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
|
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
|
||||||
with:
|
with:
|
||||||
name: assignment6-1.8.2-run-${{ github.run_number }}-${{ github.sha }}
|
name: team-manual-run-${{ github.run_number }}-${{ github.sha }}
|
||||||
path: |
|
path: |
|
||||||
documentation/build/main.pdf
|
documentation/build/main.pdf
|
||||||
documentation/build/build-manifest.json
|
documentation/build/build-manifest.json
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
options {
|
||||||
|
skipDefaultCheckout()
|
||||||
|
disableConcurrentBuilds()
|
||||||
|
timeout(time: 5, unit: 'MINUTES')
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||||
|
timestamps()
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Checkout') {
|
||||||
|
steps {
|
||||||
|
checkout scm
|
||||||
|
sh 'git rev-parse HEAD'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Syntax check') {
|
||||||
|
steps {
|
||||||
|
sh 'python3 --version'
|
||||||
|
sh 'python3 -m py_compile pricing.py tests/test_pricing.py'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
sh 'python3 -m unittest discover -s tests -v'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,17 +1,17 @@
|
|||||||
## Product Scope
|
## Product Scope
|
||||||
|
|
||||||
FilePilot demonstrates a controlled file-update workflow. It accepts a target
|
MyFileAgent demonstrates a controlled file-update workflow. It accepts a target
|
||||||
file description, expected text, and replacement text. The application locates
|
file description, expected text, and replacement text. The application locates
|
||||||
the file only within an approved demonstration directory, verifies the expected
|
the file only within an approved demonstration directory, verifies the expected
|
||||||
text, creates a backup, presents a diff, performs the replacement, verifies the
|
text, creates a backup, presents a diff, performs the replacement, verifies the
|
||||||
result, and records the outcome.
|
result, and records the outcome.
|
||||||
|
|
||||||
FilePilot does not provide unrestricted filesystem access, general desktop
|
MyFileAgent does not provide unrestricted filesystem access, general desktop
|
||||||
control, arbitrary shell execution, or open-ended autonomous planning.
|
control, arbitrary shell execution, or open-ended autonomous planning.
|
||||||
|
|
||||||
## Demonstration Acceptance Criteria
|
## Demonstration Acceptance Criteria
|
||||||
|
|
||||||
The demonstration succeeds when FilePilot:
|
The demonstration succeeds when MyFileAgent:
|
||||||
|
|
||||||
1. finds the approved project-status file;
|
1. finds the approved project-status file;
|
||||||
2. confirms that it contains `Status: Draft`;
|
2. confirms that it contains `Status: Draft`;
|
||||||
|
|||||||
@@ -19,3 +19,19 @@ checkout, syntax and two unit tests and reported success to Gitea. This work-in-
|
|||||||
edition also records the private webhook, enforced merge gate, controlled
|
edition also records the private webhook, enforced merge gate, controlled
|
||||||
failure/repair, human review, merge and passing post-merge main build. The restart test, team port checks and plugin review are also recorded;
|
failure/repair, human review, merge and passing post-merge main build. The restart test, team port checks and plugin review are also recorded;
|
||||||
remaining access-policy and credential checks are explicitly pending.
|
remaining access-policy and credential checks are explicitly pending.
|
||||||
|
|
||||||
|
Assignment 7 adds persistent private Prometheus/Grafana monitoring, whole-host metrics,
|
||||||
|
TLS-validating HTTPS probes, a six-panel dashboard, measured availability and two
|
||||||
|
Discord-tested alerts. An approved Jenkins-only outage demonstrated firing, recovery
|
||||||
|
and resolved delivery while Gitea remained healthy. The chapter records response
|
||||||
|
timing, restart persistence, an approved/merged operational change and owned follow-up
|
||||||
|
issues. External IPv4 port evidence is included; IPv6 and skipped external HTTPS
|
||||||
|
capture remain explicit limits. The documentation was approved and published through Gitea Actions; version 1.9.2 incorporates the final editorial and layout corrections.
|
||||||
|
|
||||||
|
Assignment 9 adds an official Zammad support desk behind the existing HTTPS
|
||||||
|
proxy, small per-service resource caps, persistent database/search/storage and
|
||||||
|
backups, synthetic support tickets, customer isolation and an Agent-only TA
|
||||||
|
account. A Gitea issue links the customer request to engineering work; the
|
||||||
|
existing HTTPS monitoring job and dashboard are extended. Actual test results,
|
||||||
|
screenshots, failure corrections and required evidence gaps are retained. The
|
||||||
|
source-only 1.11.0 draft awaits a later explicitly authorized Jenkins PDF build.
|
||||||
|
|||||||
@@ -18,12 +18,26 @@
|
|||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
|
||||||
|
\parbox[t]{2.7cm}{\raggedright November 18, 2026\\ 1.11.0\\ NK, CDX} & Implement instruction Chapter 7 with minimal resource use and update the newest team manual source. Consolidated under the first workday; later browser workflow, read-only role/group checks, SSH audit and source reconciliation retain their actual evidence timestamps. & The user authorized SSH through \texttt{ssw590-codex}, selected the newest documentation branch rather than main, deferred its merge, upgraded the Droplet, requested lower service ceilings, approved synthetic accounts and issue 22, and later requested full ongoing documentation with actual screenshots. Codex deployed the official stack, corrected an initially excessive heap and a Puma worker-setting interpretation, staged initialization, added limits and monitoring, tested tickets/customer isolation/TA access and backup/recovery, and retained explicit evidence limits. A recovery collector was corrected to distinguish real scrape timestamps from query times. The user expressly prohibited PDF compilation until a later authorized Jenkins build. \\
|
||||||
|
|
||||||
|
\parbox[t]{2.7cm}{\raggedright November 8, 2026\\ 1.10.1\\ GDL, NK, CDX} & Continue the handoff; verify and document the release and recovery evidence. & Codex checked the merged and later branch work separately, assisted with approved v1 and v2 releases, and recorded immutable digests, scan results, staging idempotence and human production approvals. It orchestrated the approved rollback and staging-only port mismatch, documented the overnight recovery delay, added the HTTPS probe, checked Grafana, and audited archived evidence. The team reviews the manual and evidence. \\
|
||||||
|
|
||||||
|
\parbox[t]{2.7cm}{\raggedright November 7, 2026\\ 1.10.0\\ GDL, NK, CDX} & Prepare the service, trusted agent, Ansible automation and delivery pipeline. & The previous Codex inspected the existing Droplet, adapted the starter, locked dependencies, built the trusted agent and installed Ansible and the Docker collection. It assisted with pinned SSH, scoped Jenkins credentials, registry authentication, proxy routes, security scans, a synthetic secret gate and reviewed delivery code. The team provided access and reviewed changes; Codex preserved the limitations and unfinished work in the handoff. \\
|
||||||
|
|
||||||
|
\parbox[t]{2.7cm}{\raggedright October 28, 2026\\ 1.9.2\\ GDL, NK, CDX} & Write the full SRE chapter through the Gitea-backed Droplet checkout; retain the team's screenshot choices, add Grafana host/vault hints, apply final editorial/layout corrections and compile through Gitea Actions. & Codex authored from recorded deployment, probes, alert tests, incident samples and persistence evidence; created source diagrams without changing original screenshots; recorded PR 14's human approval/merge and post-merge CI. The team supplied outside-Droplet port results and incognito/dashboard images, skipped the extra external HTTPS capture, and specified \texttt{bitwarden-grafana}. The team approved documentation PR 15 and Actions run 16 compiled the manual; version 1.9.2 applies the requested final wording and wrapping corrections. Next-day recovery-build timing remains accurately identified. \\
|
||||||
|
|
||||||
|
|
||||||
|
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ 1.9.1\\ GDL, NK, CDX} & Write only the SLI/SLO material into the manual source. & The user authorized this narrow source update. Codex used the recorded live baseline (20/20 successful probes for each service) and kept it separate from the instructor's hypothetical example. The draft explicitly leaves controlled-outage and full-day conclusions unclaimed. \\
|
||||||
|
|
||||||
|
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ 1.9.0\\ GDL, NK, CDX} & Clarify retired public ports and historical branch-protection wording on the Droplet. & AI reviewed the operational checkout and newer Assignment 6 publication source, marked earlier 5050/8080 public endpoints closed while preserving historical commands/evidence, and distinguished private Jenkins 8080. The earlier no-protection observation now points to the later enforced gate. \\
|
||||||
|
|
||||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.2\\ GDL, NK, CDX} & Configure Jenkins through its web interface: accounts, repository discovery, credentials, multibranch builds, required checks, peer review and plugin operations. & The team entered administrator and integration passwords/tokens privately. Codex assisted with Gitea discovery scope, the dedicated repository identity, job discovery and the Python checkout/syntax/test pipeline. It correlated issue 10 and PR 11 with automatic runs, made the isolated arithmetic defect and repair, and verified commit-specific failure and success. It corrected the required PR check context and configured branch protection. NK independently approved the final change; GDL performed the normal merge. The merged main commit passed Jenkins. The team selected Matrix-based security, supplied its permissions view and confirmed administrative access after saving. Codex explained the permission settings, checked plugin-update information and retained the controller-build warning. The CI token inventory showed one current entry; token values were neither read nor recorded. Post-save anonymous access and self-registration were not independently confirmed. \\
|
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.2\\ GDL, NK, CDX} & Configure Jenkins through its web interface: accounts, repository discovery, credentials, multibranch builds, required checks, peer review and plugin operations. & The team entered administrator and integration passwords/tokens privately. Codex assisted with Gitea discovery scope, the dedicated repository identity, job discovery and the Python checkout/syntax/test pipeline. It correlated issue 10 and PR 11 with automatic runs, made the isolated arithmetic defect and repair, and verified commit-specific failure and success. It corrected the required PR check context and configured branch protection. NK independently approved the final change; GDL performed the normal merge. The merged main commit passed Jenkins. The team selected Matrix-based security, supplied its permissions view and confirmed administrative access after saving. Codex explained the permission settings, checked plugin-update information and retained the controller-build warning. The CI token inventory showed one current entry; token values were neither read nor recorded. Post-save anonymous access and self-registration were not independently confirmed. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.1\\ GDL, NK, CDX} & Configure DNS, HTTPS, reverse-proxy routing, private webhook delivery and network exposure; verify firewall attachment and IPv4-only operation. & Codex assisted with the CI A record, Caddy site and loopback-only Jenkins mapping. It diagnosed the failed tunnel's Docker-name resolution and used the host loopback endpoint instead. HTTPS verification recorded the certificate, login response, redirect and anonymous API denial. The private Gitea webhook used an exact-host destination allowance; Caddy blocked its public receiver. The installed handler did not validate HMAC, so no shared-secret authentication was claimed. A successful delivery was matched to its Jenkins run. The team chose public browser access and later removed retired 5050/8080 firewall allowances. It supplied the named firewall rules, attached Droplet view, external TCP results, disabled-IPv6 view, DNS AAAA result and UFW-inactive output. These human-performed checks retain that attribution; earlier TCP tests are not relabeled as post-cleanup tests. Instructor approval for the public-browser exception was not supplied. \\
|
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.1\\ GDL, NK, CDX} & Configure DNS, HTTPS, reverse-proxy routing, private webhook delivery and network exposure; verify firewall attachment and IPv4-only operation. & Codex assisted with the CI A record, Caddy site and loopback-only Jenkins mapping. It diagnosed the failed tunnel's Docker-name resolution and used the host loopback endpoint instead. HTTPS verification recorded the certificate, login response, redirect and anonymous API denial. The private Gitea webhook used an exact-host destination allowance; Caddy blocked its public receiver. The installed handler did not validate HMAC, so no shared-secret authentication was claimed. A successful delivery was matched to its Jenkins run. The team chose public browser access and later removed retired 5050/8080 firewall allowances. It supplied the named firewall rules, attached Droplet view, external TCP results, disabled-IPv6 view, DNS AAAA result and UFW-inactive output. These human-performed checks retain that attribution; earlier TCP tests are not relabeled as post-cleanup tests. Instructor approval for the public-browser exception was not supplied. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.0\\ GDL, NK, CDX} & Deploy official Jenkins LTS, preserve its home directory, record the toolchain and verify jobs survive restart on the existing Droplet. & The team selected the existing 1 GB host and the permitted Python application. Codex recorded capacity, deployed the official Jenkins image with a pinned digest and non-secret Compose configuration, and bounded its resource use. When the initial start stalled, it stopped only Jenkins, checked Gitea health and retried successfully; it did not assert an unproven cause for the startup exception. Plugin versions and the persistent home volume were recorded. Controller builds were selected for trusted source without a Docker socket; Python installation and replacement-container recovery were made reproducible. For the authorized restart, Codex saved file sizes and hashes, restarted the service without deleting its volume, and confirmed all 13 configuration/build records were unchanged. The saved main job passed afterward. The team reviewed the observed results. No Jenkins backup/restore test, new paid cloud host or capacity upgrade was performed. \\
|
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.0\\ GDL, NK, CDX} & Deploy official Jenkins LTS, preserve its home directory, record the toolchain and verify jobs survive restart on the existing Droplet. & The team selected the existing 1 GB host and the permitted Python application. Codex recorded capacity, deployed the official Jenkins image with a pinned digest and non-secret Compose configuration, and bounded its resource use. When the initial start stalled, it stopped only Jenkins, checked Gitea health and retried successfully; it did not assert an unproven cause for the startup exception. Plugin versions and the persistent home volume were recorded. Controller builds were selected for trusted source without a Docker socket; Python installation and replacement-container recovery were made reproducible. For the authorized restart, Codex saved file sizes and hashes, restarted the service without deleting its volume, and confirmed all 13 configuration/build records were unchanged. The saved main job passed afterward. The team reviewed the observed results. No Jenkins backup/restore test, new paid cloud host or capacity upgrade was performed. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright October 6--7, 2026\\ 1.7.1\\ GDL, CDX, NK} & Implement approved Chapter 3; update the manual, verify Actions artifacts, and apply the requested concise history/log and rubric review. & The user approved remote implementation, supplied the original source/images, and selected version 1.7.1. AI configured the runner/toolchain, corrected its memory limit, executed builds 3--4 and failure/repair 5--6, and verified downloaded PDFs by identity, checksum, links and rendered pages. The team reviews the final Actions PDF before submission. \\
|
\parbox[t]{2.7cm}{\raggedright October 6--7, 2026\\ 1.7.1\\ GDL, CDX, NK} & Implement approved Chapter 3; update the manual, verify Actions artifacts, and apply the requested concise history/log and rubric review. & The user approved remote implementation, supplied the original source/images, and selected version 1.7.1. AI configured the runner/toolchain, corrected its memory limit, executed builds 3--4 and failure/repair 5--6, and verified downloaded PDFs by identity, checksum, links and rendered pages. The team reviews the final Actions PDF before submission. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright September 29, 2026\\ 1.6.1\\ NK, GDL, CDX} & Complete and review the public-domain, HTTPS, evidence, recovery, and reference material for Assignment 4. & The team supplied the domain and renewal facts, verified DNS, HTTPS, certificate automation and external ports, and approved the backup/restore exercise. AI assisted with diagnostics, isolated recovery evidence, requirement auditing, live links, security explanations, concise credential and reference updates, figure-flow improvements, compilation, and visual review. \\
|
\parbox[t]{2.7cm}{\raggedright September 29, 2026\\ 1.6.1\\ NK, GDL, CDX} & Complete and review the public-domain, HTTPS, evidence, recovery, and reference material for Assignment 4. & The team supplied the domain and renewal facts, verified DNS, HTTPS, certificate automation and external ports, and approved the backup/restore exercise. AI assisted with diagnostics, isolated recovery evidence, requirement auditing, live links, security explanations, concise credential and reference updates, figure-flow improvements, compilation, and visual review. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright September 26, 2026\\ 1.6.0\\ NK, GDL, CDX} & Implement and document the MyFileAgent Gitea startup foundation while preserving the earlier grading services. & The team selected the accounts, approved changes, completed the repository workflow, ran verification commands, and supplied evidence. With permission, AI assisted with pinned Gitea/SQLite, persistent volumes, key-only SSH, and the Cloud Firewall while preserving ports 5050 and 8080 and documenting the instructor-cleared SSH exception. \\
|
\parbox[t]{2.7cm}{\raggedright September 26, 2026\\ 1.6.0\\ NK, GDL, CDX} & Implement and document the MyFileAgent Gitea startup foundation while preserving the earlier grading services. & The team selected the accounts, approved changes, completed the repository workflow, ran verification commands, and supplied evidence. With permission, AI assisted with pinned Gitea/SQLite, persistent volumes, key-only SSH, and the Cloud Firewall while preserving ports 5050 and 8080 at that historical stage (both are now closed publicly) and documenting the instructor-cleared SSH exception. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.1\\ NK, GDL, CDX} & Develop and integrate Chapter 8, the Project Proposal, for the MyFileAgent one-click DevSecOps pipeline. & The team supplied the project direction and selected tools. AI assisted with organizing the proposal, defining a limited demonstration task, and presenting the planned installation, build, configuration, testing, deployment, security, and Grafana monitoring workflow. The team reviews and approves the final proposal. \\
|
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.1\\ NK, GDL, CDX} & Develop and integrate Chapter 8, the Project Proposal, for the MyFileAgent one-click DevSecOps pipeline. & The team supplied the project direction and selected tools. AI assisted with organizing the proposal, defining a limited demonstration task, and presenting the planned installation, build, configuration, testing, deployment, security, and Grafana monitoring workflow. The team reviews and approves the final proposal. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.0\\ NK, GDL, CDX} & Document the DigitalOcean Droplet and Docker installation, website deployment, class-based JavaScript button design and UML diagram in Chapter 6, and the TeX Live Docker build, run, and verification workflow in Chapter 7. & The team supplied the requirements, deployment evidence, commands, and project files. AI assisted with LaTeX organization, code presentation, UML preparation, compilation, and layout review. The team reviews the material and verifies all commands and live deployment results. \\ \pagebreak
|
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.0\\ NK, GDL, CDX} & Document the DigitalOcean Droplet and Docker installation, website deployment, class-based JavaScript button design and UML diagram in Chapter 6, and the TeX Live Docker build, run, and verification workflow in Chapter 7. & The team supplied the requirements, deployment evidence, commands, and project files. AI assisted with LaTeX organization, code presentation, UML preparation, compilation, and layout review. The team reviews the material and verifies all commands and live deployment results. \\ \pagebreak
|
||||||
\parbox[t]{2.7cm}{\raggedright September 12, 2026\\ 1.4.1\\ NK, GDL, CDX} & Update Section 3.2 with the human-run command outputs, include Hosts and Passwords, reduce and link the glossary, and verify index links. & AI suggested Linux commands to run and assisted with document organization and LaTeX editing. The team verified the commands before running them, made changes as needed, ran the commands, and gathered the outputs. AI did not execute the commands or produce the recorded terminal outputs. \\
|
\parbox[t]{2.7cm}{\raggedright September 12, 2026\\ 1.4.1\\ NK, GDL, CDX} & Update Section 3.2 with the human-run command outputs, include Hosts and Passwords, reduce and link the glossary, and verify index links. & AI suggested Linux commands to run and assisted with document organization and LaTeX editing. The team verified the commands before running them, made changes as needed, ran the commands, and gathered the outputs. AI did not execute the commands or produce the recorded terminal outputs. \\
|
||||||
|
|||||||
@@ -15,4 +15,9 @@ The following acronyms occur in the assignment document.
|
|||||||
\item[\textbf{SSH}] Secure Shell. \hfill Reference: \hyperref[AcronymRef:SSH]{p.~\pageref*{AcronymRef:SSH}}
|
\item[\textbf{SSH}] Secure Shell. \hfill Reference: \hyperref[AcronymRef:SSH]{p.~\pageref*{AcronymRef:SSH}}
|
||||||
\item[\textbf{TCP}] Transmission Control Protocol. \hfill Reference: \hyperref[AcronymRef:TCPAssignment4]{p.~\pageref*{AcronymRef:TCPAssignment4}}
|
\item[\textbf{TCP}] Transmission Control Protocol. \hfill Reference: \hyperref[AcronymRef:TCPAssignment4]{p.~\pageref*{AcronymRef:TCPAssignment4}}
|
||||||
\item[\textbf{TLS}] Transport Layer Security. \hfill Reference: \hyperref[AcronymRef:TLS]{p.~\pageref*{AcronymRef:TLS}}
|
\item[\textbf{TLS}] Transport Layer Security. \hfill Reference: \hyperref[AcronymRef:TLS]{p.~\pageref*{AcronymRef:TLS}}
|
||||||
|
\item[\textbf{SRE}] Site Reliability Engineering. \hfill Reference: \hyperref[AcronymRef:SRE]{p.~\pageref*{AcronymRef:SRE}}
|
||||||
|
\item[\textbf{SLI}] Service-Level Indicator. \hfill Reference: \hyperref[AcronymRef:SLI]{p.~\pageref*{AcronymRef:SLI}}
|
||||||
|
\item[\textbf{SLO}] Service-Level Objective. \hfill Reference: \hyperref[AcronymRef:SLO]{p.~\pageref*{AcronymRef:SLO}}
|
||||||
|
\item[\textbf{SLA}] Service-Level Agreement. \hfill Reference: \hyperref[AcronymRef:SLA]{p.~\pageref*{AcronymRef:SLA}}
|
||||||
|
\item[\textbf{TSDB}] Time-Series Database. \hfill Reference: \hyperref[AcronymRef:TSDB]{p.~\pageref*{AcronymRef:TSDB}}
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|||||||
@@ -195,9 +195,12 @@ The current review edition must not inherit the identity of an earlier artifact.
|
|||||||
|
|
||||||
\section{Runner and secret boundary}
|
\section{Runner and secret boundary}
|
||||||
\index{runner!security}\index{Docker socket}
|
\index{runner!security}\index{Docker socket}
|
||||||
The repository's Owners team may change workflows; preflight found no direct
|
The repository's Owners team may change workflows. The historical Assignment 5
|
||||||
collaborators and no branch-protection rules. Peer review is a team procedure,
|
preflight found no direct collaborators and no branch-protection rules; peer
|
||||||
not an enforced gate for this assignment. Only trusted team pushes to the
|
review was then a team procedure rather than an enforced gate. This is not
|
||||||
|
the current policy: Assignment 6 subsequently enforced the required Jenkins
|
||||||
|
status check and peer approval on main, with bypass disabled, as documented
|
||||||
|
in \ChapterRef{JenkinsContinuousIntegration}. Only trusted team pushes to the
|
||||||
selected branches execute. Untrusted pull-request triggers are not enabled.
|
selected branches execute. Untrusted pull-request triggers are not enabled.
|
||||||
The runner controls the host Docker socket and therefore has powerful host
|
The runner controls the host Docker socket and therefore has powerful host
|
||||||
access; containers are not a security boundary against a malicious trusted
|
access; containers are not a security boundary against a malicious trusted
|
||||||
|
|||||||
@@ -68,6 +68,11 @@ sudo docker run hello-world
|
|||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
\section{First Container: Hello World Website}
|
\section{First Container: Hello World Website}
|
||||||
|
\begin{devopsNote}[Historical deployment: public port 5050 is closed]
|
||||||
|
The commands and endpoint below preserve the earlier assignment record.
|
||||||
|
Public access to port 5050 has since been closed; do not rerun these historical
|
||||||
|
port-publishing commands as the current deployment procedure.
|
||||||
|
\end{devopsNote}
|
||||||
|
|
||||||
Following Section 2.5 of the supplied Docker setup guide, the team created a
|
Following Section 2.5 of the supplied Docker setup guide, the team created a
|
||||||
minimal Node.js HTTP server, its \texttt{package.json}, a
|
minimal Node.js HTTP server, its \texttt{package.json}, a
|
||||||
@@ -82,10 +87,16 @@ sudo docker run -d --name hello-node -p 5050:3000 hello-node
|
|||||||
sudo docker ps
|
sudo docker ps
|
||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
The deployed endpoint is
|
The historical endpoint (public port now closed) was
|
||||||
\href{http://142.93.193.110:5050}{http://142.93.193.110:5050}.
|
\href{http://142.93.193.110:5050}{http://142.93.193.110:5050}.
|
||||||
|
|
||||||
\section{Second Container: Two Buttons Website}
|
\section{Second Container: Two Buttons Website}
|
||||||
|
\begin{devopsNote}[Historical deployment: public port 8080 is closed]
|
||||||
|
The original two-button deployment below is historical. Public access to
|
||||||
|
port 8080 is now closed. Jenkins uses port 8080 only on the private bridge
|
||||||
|
and host loopback; users access Jenkins through its HTTPS hostname.
|
||||||
|
Do not rerun the historical public-port mapping below.
|
||||||
|
\end{devopsNote}
|
||||||
|
|
||||||
Following Section 2.6 of the supplied guide, the team created an Express-based
|
Following Section 2.6 of the supplied guide, the team created an Express-based
|
||||||
Node.js website with Blue and Red buttons. The project contained
|
Node.js website with Blue and Red buttons. The project contained
|
||||||
@@ -176,7 +187,7 @@ sudo docker run -d --name color-buttons-app -p 8080:3000 color-buttons-app
|
|||||||
sudo docker ps
|
sudo docker ps
|
||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
The deployed two-button website is
|
The historical two-button endpoint (public port now closed) was
|
||||||
\href{http://142.93.193.110:8080}{http://142.93.193.110:8080}. Clicking either
|
\href{http://142.93.193.110:8080}{http://142.93.193.110:8080}. Clicking either
|
||||||
button calls its controller instance and changes the page background to the
|
button calls its controller instance and changes the page background to the
|
||||||
corresponding color.
|
corresponding color.
|
||||||
|
|||||||
@@ -19,6 +19,20 @@
|
|||||||
\endhead
|
\endhead
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
|
||||||
|
November 18, 2026 / 1.11.0 & NK, CDX & Consolidated assignment entry (first workday; evidence retains actual capture dates). Completed browser workflow and role/group evidence, privileged SSH audit, source publication, Hosts and Bitwarden credential references. Added the Support Ticket Management with Zammad chapter for instruction Chapter 7 / team Assignment 9. Recorded official revision, small per-service limits, upgraded-host observations, private HTTPS networking, synthetic accounts/tickets, least-privilege TA API tests, bidirectional issue 22 linkage, backup and isolated recovery evidence. Added actual screenshots and an explicit required-deliverable gap audit. Updated Hosts, password-store hints and AI log. Source-only draft; no PDF compilation authorized. & \ChapterRef{SupportTicketManagement}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
|
||||||
|
|
||||||
|
November 8, 2026 / 1.10.1 & GDL, NK, CDX & Completed the secure delivery evidence audit, expanded the architecture with actual hosts, volumes and private paths, and linked release records, scans and recovery output. Recorded the v1 and v2 promotions, human decisions, production rollback samples, staging port-mismatch failure and delayed recovery. Added production HTTPS monitoring and preserved its limitation: the probe started after rollback. Recorded the unverified historical scanner database version and stateful rollback limitations. & \ChapterRef{SecureDeliveryRollback}, \ChapterRef{Hosts} \\
|
||||||
|
|
||||||
|
November 7, 2026 / 1.10.0 & GDL, NK, CDX & Established the Assignment 8 service and delivery foundation. Locked application dependencies and base image; prepared a dedicated Jenkins agent with Python, Docker, Ansible and the Docker collection. Configured pinned SSH, restricted deployment credentials, registry access, Caddy routes and separate staging and production Compose projects. Added tests, dependency and secret scans, image scanning, approval and Ansible deployment. Reviewed and merged the foundation and follow-up security corrections; documented initial validation and the health-check timeout investigation. & \ChapterRef{SecureDeliveryRollback} \\
|
||||||
|
|
||||||
|
October 28, 2026 / 1.9.2 & GDL, NK, CDX & Expanded Assignment 7 into eight evidence sections; added architecture and measured incident diagrams, original team screenshots, final alert/runbook details, SLI counts, persistence, reviewed operational links and explicit verification limits. Updated Hosts with Grafana, Passwords with the team-specified \texttt{bitwarden-grafana} hint, front matter and reference controls. Operational PR 14 and documentation PR 15 were approved and merged; Actions run 16 compiled the manual. Final editorial and table-wrapping corrections are incorporated in version 1.9.2. & \ChapterRef{SREMonitoringReliability}, \ChapterRef{Hosts}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||||
|
|
||||||
|
|
||||||
|
October 24, 2026 / 1.9.1 & GDL, NK, CDX & Added only the Assignment 7 SLI/SLO source draft: definitions, hypothetical 99\% error-budget example, verified ten-minute baseline, reproducible queries and pending incident limitations. Included the SRE chapter and baseline evidence. & \ChapterRef{SREMonitoringReliability}, \AppendixRef{AIPromptLog} \\
|
||||||
|
|
||||||
|
October 24, 2026 / 1.9.0 & GDL, NK, CDX & Clarified that historical public ports 5050/8080 are now closed; retained original commands and evidence, private Jenkins routing, and linked the historical Assignment 5 preflight to the later enforced branch gate. Prepared on the Droplet for team review. & \ChapterRef{DigitalOceanDockerDeployment}, \ChapterRef{GiteaStartupFoundation}, \ChapterRef{AutomatedManualBuild}, \AppendixRef{AIPromptLog} \\
|
||||||
|
|
||||||
October 9, 2026 / 1.8.2 & GDL, NK, CDX & \textbf{Jenkins usage through the web interface.} Configured the named Jenkins administrator and a dedicated, non-admin Gitea integration account. Stored its token in Jenkins credentials and corrected organization discovery scope. Created the multibranch pipeline for the startup repository and selected origin PR head revisions; disabled untrusted fork discovery. Committed the Python pricing example, two real unit tests and Jenkinsfile. Verified checkout, syntax checks and test results through the web interface. Created issue 10 and PR 11; deliberately changed multiplication to addition, observed test failure and a blocked merge, then restored multiplication and obtained a passing required check. Corrected the branch-protection context to \texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main}, required peer approval and disabled bypass. NK approved; GDL merged; Jenkins tested the resulting main commit. Confirmed Matrix permissions for the named administrator, with no Anonymous or general Authenticated Users permissions. Refreshed plugin-update information, retained the controller warning, and confirmed the single current CI token. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Passwords} \\
|
October 9, 2026 / 1.8.2 & GDL, NK, CDX & \textbf{Jenkins usage through the web interface.} Configured the named Jenkins administrator and a dedicated, non-admin Gitea integration account. Stored its token in Jenkins credentials and corrected organization discovery scope. Created the multibranch pipeline for the startup repository and selected origin PR head revisions; disabled untrusted fork discovery. Committed the Python pricing example, two real unit tests and Jenkinsfile. Verified checkout, syntax checks and test results through the web interface. Created issue 10 and PR 11; deliberately changed multiplication to addition, observed test failure and a blocked merge, then restored multiplication and obtained a passing required check. Corrected the branch-protection context to \texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main}, required peer approval and disabled bypass. NK approved; GDL merged; Jenkins tested the resulting main commit. Confirmed Matrix permissions for the named administrator, with no Anonymous or general Authenticated Users permissions. Refreshed plugin-update information, retained the controller warning, and confirmed the single current CI token. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Passwords} \\
|
||||||
October 9, 2026 / 1.8.1 & GDL, NK, CDX & \textbf{Networking and service access.} Configured the CI hostname, DNS A record and Caddy HTTPS reverse proxy on the existing Droplet. Corrected the administrative SSH tunnel to forward to the host loopback mapping instead of a Docker-only hostname. Verified the live login page, certificate issuer and validity, HTTP-to-HTTPS redirect, and anonymous API denial. Kept raw Jenkins port 8080 bound to loopback and did not publish an agent port. Configured repository-scoped Gitea push and PR webhooks over the private Compose bridge; allowed only the named Jenkins destination and blocked the public webhook receiver at Caddy. Correlated a successful delivery with a commit-specific Jenkins run. The team retired earlier service allowances: the attached Cloud Firewall now permits inbound 22, 80 and 443 only. Recorded external IPv4 results, IPv6 disabled, no CI AAAA answer, and UFW inactive. Public browser access remains the team's selected policy; instructor exception evidence has not been supplied. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts} \\
|
October 9, 2026 / 1.8.1 & GDL, NK, CDX & \textbf{Networking and service access.} Configured the CI hostname, DNS A record and Caddy HTTPS reverse proxy on the existing Droplet. Corrected the administrative SSH tunnel to forward to the host loopback mapping instead of a Docker-only hostname. Verified the live login page, certificate issuer and validity, HTTP-to-HTTPS redirect, and anonymous API denial. Kept raw Jenkins port 8080 bound to loopback and did not publish an agent port. Configured repository-scoped Gitea push and PR webhooks over the private Compose bridge; allowed only the named Jenkins destination and blocked the public webhook receiver at Caddy. Correlated a successful delivery with a commit-specific Jenkins run. The team retired earlier service allowances: the attached Cloud Firewall now permits inbound 22, 80 and 443 only. Recorded external IPv4 results, IPv6 disabled, no CI AAAA answer, and UFW inactive. Public browser access remains the team's selected policy; instructor exception evidence has not been supplied. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts} \\
|
||||||
October 9, 2026 / 1.8.0 & GDL, NK, CDX & \textbf{Jenkins installation and persistence.} Installed official Jenkins LTS with Java 21 on the existing one-CPU, 1 GB DigitalOcean Droplet, after recording memory and disk capacity. Used the LTS image tag and pinned immutable digest; the installed release was 2.580.1. Versioned the non-secret Compose configuration with restart policy, bounded JVM/container memory, private networking and persistent Jenkins home. Recovered a stalled initial startup by stopping only Jenkins, confirming Gitea remained healthy, and retrying; the original exception's root cause was not established. Installed and recorded Git/Gitea/Checks and supporting plugin versions. Selected controller execution for trusted team code, without a privileged Docker socket or separate inbound agent listener. Installed Python from recorded Debian repositories and retained a reproduction helper for replacement containers. Restarted Jenkins without deleting storage; all 13 recorded configuration/build files survived unchanged. The saved main job then passed syntax and both tests. This verified restart persistence, not backup/restore. Updated Hosts for CI services and Passwords with credential hints only. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
|
October 9, 2026 / 1.8.0 & GDL, NK, CDX & \textbf{Jenkins installation and persistence.} Installed official Jenkins LTS with Java 21 on the existing one-CPU, 1 GB DigitalOcean Droplet, after recording memory and disk capacity. Used the LTS image tag and pinned immutable digest; the installed release was 2.580.1. Versioned the non-secret Compose configuration with restart policy, bounded JVM/container memory, private networking and persistent Jenkins home. Recovered a stalled initial startup by stopping only Jenkins, confirming Gitea remained healthy, and retrying; the original exception's root cause was not established. Installed and recorded Git/Gitea/Checks and supporting plugin versions. Selected controller execution for trusted team code, without a privileged Docker socket or separate inbound agent listener. Installed Python from recorded Debian repositories and retained a reproduction helper for replacement containers. Restarted Jenkins without deleting storage; all 13 recorded configuration/build files survived unchanged. The saved main job then passed syntax and both tests. This verified restart persistence, not backup/restore. Updated Hosts for CI services and Passwords with credential hints only. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
|
||||||
|
|||||||
@@ -294,6 +294,13 @@ that the production certificate was forcibly renewed.
|
|||||||
\FloatBarrier
|
\FloatBarrier
|
||||||
|
|
||||||
\section{Firewall and External Exposure}
|
\section{Firewall and External Exposure}
|
||||||
|
\begin{devopsNote}[Current status: earlier public application ports are closed]
|
||||||
|
The September firewall rules, tests, figures, and table below are historical.
|
||||||
|
Public ports 5050 and 8080 were subsequently closed, as recorded in
|
||||||
|
\ChapterRef{JenkinsContinuousIntegration}. They are not current public
|
||||||
|
endpoints. Jenkins port 8080 remains private and loopback-only.
|
||||||
|
\end{devopsNote}
|
||||||
|
|
||||||
\phantomsection\label{GlossaryRef:cloudfirewall}
|
\phantomsection\label{GlossaryRef:cloudfirewall}
|
||||||
\paragraph{Exposure policy and temporary exceptions.}
|
\paragraph{Exposure policy and temporary exceptions.}
|
||||||
The host currently publishes the earlier Assignment 3 applications on ports
|
The host currently publishes the earlier Assignment 3 applications on ports
|
||||||
@@ -359,9 +366,9 @@ external port-test results.
|
|||||||
80/TCP & Caddy \texttt{80:80} & Public through firewall & HTTP redirect and ACME validation \\
|
80/TCP & Caddy \texttt{80:80} & Public through firewall & HTTP redirect and ACME validation \\
|
||||||
443/TCP & Caddy \texttt{443:443} & Public through firewall & MyFileAgent HTTPS \\
|
443/TCP & Caddy \texttt{443:443} & Public through firewall & MyFileAgent HTTPS \\
|
||||||
3000/TCP & \path{127.0.0.1:3000:3000} & Loopback only & Private Gitea backend and SSH tunnel \\
|
3000/TCP & \path{127.0.0.1:3000:3000} & Loopback only & Private Gitea backend and SSH tunnel \\
|
||||||
5050/TCP & Earlier assignment service & Temporarily public & Assignment 3 grading \\
|
5050/TCP & Earlier assignment service & Now closed publicly & Historical Assignment 3 grading \\
|
||||||
5432/TCP & No listener or mapping & Not public & Unused because SQLite was selected \\
|
5432/TCP & No listener or mapping & Not public & Unused because SQLite was selected \\
|
||||||
8080/TCP & Earlier assignment service & Temporarily public & Assignment 3 grading \\
|
8080/TCP & Earlier assignment service & Now closed publicly & Historical Assignment 3 grading \\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabularx}
|
\end{tabularx}
|
||||||
\end{table}
|
\end{table}
|
||||||
|
|||||||
@@ -21,4 +21,14 @@
|
|||||||
\item[\textbf{Jenkinsfile}] A versioned pipeline recipe containing checkout, syntax and test stages. \hfill Reference: \hyperref[GlossaryRef:jenkinsfile]{p.~\pageref*{GlossaryRef:jenkinsfile}}
|
\item[\textbf{Jenkinsfile}] A versioned pipeline recipe containing checkout, syntax and test stages. \hfill Reference: \hyperref[GlossaryRef:jenkinsfile]{p.~\pageref*{GlossaryRef:jenkinsfile}}
|
||||||
\item[\textbf{required status check}] A named result on the latest pull-request head commit that branch protection requires before merge. \hfill Reference: \hyperref[GlossaryRef:requiredcheck]{p.~\pageref*{GlossaryRef:requiredcheck}}
|
\item[\textbf{required status check}] A named result on the latest pull-request head commit that branch protection requires before merge. \hfill Reference: \hyperref[GlossaryRef:requiredcheck]{p.~\pageref*{GlossaryRef:requiredcheck}}
|
||||||
\item[\textbf{webhook}] An event notification that starts integration processing; successful delivery alone is not a passing build or merge gate. \hfill Reference: \hyperref[GlossaryRef:webhook]{p.~\pageref*{GlossaryRef:webhook}}
|
\item[\textbf{webhook}] An event notification that starts integration processing; successful delivery alone is not a passing build or merge gate. \hfill Reference: \hyperref[GlossaryRef:webhook]{p.~\pageref*{GlossaryRef:webhook}}
|
||||||
|
\item[\textbf{SRE}] Engineering approach combining reliability objectives, monitoring and operations. \hfill Reference: \hyperref[GlossaryRef:sre]{p.~\pageref*{GlossaryRef:sre}}
|
||||||
|
\item[\textbf{dashboard}] Named visual collection of operational measurements. \hfill Reference: \hyperref[GlossaryRef:dashboard]{p.~\pageref*{GlossaryRef:dashboard}}
|
||||||
|
\item[\textbf{SLI}] Measured service success indicator with observation coverage. \hfill Reference: \hyperref[GlossaryRef:sli]{p.~\pageref*{GlossaryRef:sli}}
|
||||||
|
\item[\textbf{SLO}] Internal target for the indicator over a defined window. \hfill Reference: \hyperref[GlossaryRef:slo]{p.~\pageref*{GlossaryRef:slo}}
|
||||||
|
\item[\textbf{error budget}] Allowed unsuccessful fraction implied by a reliability target. \hfill Reference: \hyperref[GlossaryRef:errorbudget]{p.~\pageref*{GlossaryRef:errorbudget}}
|
||||||
|
\end{description}
|
||||||
|
\begin{description}[style=nextline,leftmargin=3.1cm,labelindent=0pt]
|
||||||
|
\item[\textbf{Zammad}] The official multi-container support desk used for ticket ownership, customer replies and internal notes. See \ChapterRef{SupportTicketManagement}.
|
||||||
|
\item[\textbf{internal note}] An Agent conversation entry that must be excluded from the customer view; verified separately from a customer-visible reply.
|
||||||
|
\item[\textbf{TA Agent}] The named non-administrator evaluator identity with ticket permissions limited to the Startup Support group.
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|||||||
@@ -8,14 +8,21 @@ This chapter lists the hosts used in the development environment for this
|
|||||||
assignment and any that will be configured in future assignments.
|
assignment and any that will be configured in future assignments.
|
||||||
|
|
||||||
\section{Host Registry}
|
\section{Host Registry}
|
||||||
\begin{tabularx}{\linewidth}{L{3.4cm}L{2.6cm}Y}
|
\begin{longtable}{L{3.4cm}L{2.6cm}L{7.0cm}}
|
||||||
\caption{Host Registry\label{Table:HostRegistry}}\\
|
\caption{Host Registry\label{Table:HostRegistry}}\\
|
||||||
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
|
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
|
||||||
\endfirsthead
|
\endfirsthead
|
||||||
\multicolumn{3}{l}{\small\itshape Host Registry (continued)}\\
|
\multicolumn{3}{l}{\small\itshape Host Registry (continued)}\\
|
||||||
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
|
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
|
||||||
\endhead \bottomrule \endlastfoot
|
\endhead \bottomrule \endlastfoot
|
||||||
\texttt{ssw590-group7-}\newline\texttt{droplet} & DigitalOcean & Ubuntu Linux development environment at \texttt{142.93.193.110}; 1 virtual CPU, 1 GB memory, and 25 GB storage; normally administered through the non-root \texttt{codex} account; the team supplied the UFW check from a root shell. October 9 evidence: IPv6 disabled, attached Cloud Firewall permits inbound 22/80/443 only, UFW inactive. Hosts the MyFileAgent Gitea service at \href{https://myfileagent.tech}{\texttt{myfileagent.}\allowbreak\texttt{tech}} through Caddy-managed HTTPS. Gitea remains bound to \texttt{127.0.0.1:3000}; an authenticated SSH local forward is retained as an administrative fallback.\\
|
\texttt{ssw590-group7-}\newline\texttt{droplet} & DigitalOcean & Ubuntu at \texttt{142.93.193.110}; originally 1 CPU, 1 GB RAM and 25 GB storage. User-confirmed new Basic plan: 1 vCPU, 2 GB RAM, 50 GB disk at \$12/month. November 18 observed root filesystem: 48 GB, plus 2 GB swap. Non-root \texttt{codex} administration. Current cloud rules and attachment are evidenced; November 20 privileged SSH audit confirms UFW inactive and password/keyboard-interactive SSH disabled. Cloud firewall permits inbound 22/80/443; the team's SSH source-IP exception is retained. Existing Gitea, Jenkins, proxy, monitoring and pricing services retained. See \ChapterRef{SupportTicketManagement}.\\
|
||||||
\texttt{gitea} & Existing Droplet & Repository-scoped Actions runner ID 1; temporary TeX jobs on the same host. Team-owned, capacity one, no public runner/compiler ports; runner 192 MiB and jobs 256 MiB. HTTPS to \href{https://myfileagent.tech}{Gitea}; separate Docker bridges. Runner state is outside Git; service health was checked during setup. See \ChapterRef{AutomatedManualBuild}.\\
|
\texttt{gitea} & Existing Droplet & Repository-scoped Actions runner ID 1; temporary TeX jobs on the same host. Team-owned, capacity one, no public runner/compiler ports; runner 192 MiB and jobs 256 MiB. HTTPS to \href{https://myfileagent.tech}{Gitea}; separate Docker bridges. Runner state is outside Git; service health was checked during setup. See \ChapterRef{AutomatedManualBuild}.\\
|
||||||
\texttt{ci.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Jenkins 2.580.1 at \href{https://ci.myfileagent.tech/login}{HTTPS login}; public browser access, authentication required. Caddy forwards to \texttt{jenkins:8080} on the private bridge. Host port 8080 is loopback-only; no agent port is published. Team-owned, controller builds, persistent \texttt{jenkins-home}. Login, restart and main build 2 verified October 9, 2026; CI AAAA query returned no address. Named Matrix admin access team-confirmed; public-access approval remains unresolved. Backup/monitoring not established. See \ChapterRef{JenkinsContinuousIntegration}.\\
|
\texttt{ci.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Jenkins 2.580.1 at \href{https://ci.myfileagent.tech/login}{HTTPS login}; public browser access, authentication required. Caddy forwards to \texttt{jenkins:8080} on the private bridge. Host port 8080 is loopback-only; no agent port is published. Team-owned, controller builds, persistent \texttt{jenkins-home}. Login, restart and main build 2 verified October 9, 2026; CI AAAA query returned no address. Named Matrix admin access team-confirmed; public-access approval remains unresolved. At the October 9 baseline, backup/monitoring was not established. Assignment 7 subsequently added HTTPS probes and host monitoring; monitoring does not establish Jenkins backup/restore. See \ChapterRef{JenkinsContinuousIntegration}.\\
|
||||||
\end{tabularx}
|
\texttt{metrics.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Grafana OSS 13.2.4 at \href{https://metrics.myfileagent.tech/login}{HTTPS login}; authentication required, anonymous access and signup disabled in provisioning. Caddy forwards privately to \texttt{grafana:3000}. Persistent Grafana volume; six-panel monitoring and two-panel runbook dashboards; team Discord alert route. See \ChapterRef{SREMonitoringReliability}.\\
|
||||||
|
\href{https://staging.myfileagent.tech}{\texttt{staging.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Staging pricing service; Caddy forwards HTTPS privately to port 8000.\\
|
||||||
|
\href{https://app.myfileagent.tech}{\texttt{app.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Production-like pricing service; Caddy forwards HTTPS privately to port 8000.\\
|
||||||
|
\href{https://support.myfileagent.tech}{\texttt{support.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Zammad 7.2.3-0008, official ten-container Compose project \texttt{dos-support}; Caddy TLS to nginx :8080 over the existing edge network. No Zammad host ports published. Private database/search/cache dependencies, named persistent volumes, startup backup and small CPU/RAM limits. TA Agent \texttt{ta.agent} has group ticket access, not Admin. See \ChapterRef{SupportTicketManagement}.\\
|
||||||
|
\texttt{prometheus} & Existing Droplet & Prometheus v3.15.1 on the private monitoring bridge at port 9090; separate persistent volume, 30-second scrapes, seven-day/512 MB block retention. No public port published.\\
|
||||||
|
\texttt{node-exporter} & Existing Droplet & Node Exporter v1.12.1, private port 9100; read-only host root/proc/sys and host PID namespace for whole-host CPU, memory and filesystem collectors.\\
|
||||||
|
\texttt{blackbox-}\allowbreak\texttt{exporter} & Existing Droplet & Blackbox Exporter v0.29.1, private port 9115; probes Gitea/Jenkins HTTPS login URLs with TLS verification. Same-Droplet probes do not prove reachability from all external networks.\\
|
||||||
|
\end{longtable}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
\section{Assignment Purpose}
|
\section{Assignment Purpose}
|
||||||
This report records the team's developing DevOps environment and the work
|
This report records the team's developing DevOps environment and the work
|
||||||
completed through Assignment 4, together with the Assignment 5 automated
|
completed through Assignment 9, retaining the Assignment 5 automated
|
||||||
manual-build work described in \ChapterRef{AutomatedManualBuild}. The earlier chapters establish Linux
|
manual-build work described in \ChapterRef{AutomatedManualBuild}. The earlier chapters establish Linux
|
||||||
\phantomsection\label{GlossaryRef:bash}Bash command-line skills, the Ubuntu working environment, host configuration, and
|
\phantomsection\label{GlossaryRef:bash}Bash command-line skills, the Ubuntu working environment, host configuration, and
|
||||||
password-management concepts. Earlier assignments extended that foundation
|
password-management concepts. Earlier assignments extended that foundation
|
||||||
@@ -25,6 +25,14 @@ Caddy-managed HTTPS, a DigitalOcean Cloud Firewall, and a verified two-member
|
|||||||
repository workflow.
|
repository workflow.
|
||||||
|
|
||||||
\section{Team and Environment}
|
\section{Team and Environment}
|
||||||
|
Assignment 9 extends the existing deployment with the official Zammad support
|
||||||
|
desk, private dependencies, HTTPS, synthetic ticket workflows and
|
||||||
|
least-privilege TA access. Instruction Chapter 7 is recorded in
|
||||||
|
\ChapterRef{SupportTicketManagement}, including monitoring, backup/recovery,
|
||||||
|
minimal resource settings and explicit unfinished evidence. This source draft
|
||||||
|
has not been compiled; final PDF verification awaits the user's authorized
|
||||||
|
Jenkins build.
|
||||||
|
|
||||||
The work was completed by Nicholas Kogut and Gowri Das Lovely. The execution
|
The work was completed by Nicholas Kogut and Gowri Das Lovely. The execution
|
||||||
environment is an Ubuntu Linux Droplet hosted on DigitalOcean, accessed remotely
|
environment is an Ubuntu Linux Droplet hosted on DigitalOcean, accessed remotely
|
||||||
with PuTTY. Docker provides the repeatable application environments used for
|
with PuTTY. Docker provides the repeatable application environments used for
|
||||||
|
|||||||
@@ -798,4 +798,3 @@ Credentials and build boundary & Matrix administrator permissions and retained a
|
|||||||
Document controls and final submission & Version/history/registries updated; publication commit/run and artifact are identified on the Build Identity page and in Section 10.5.\\
|
Document controls and final submission & Version/history/registries updated; publication commit/run and artifact are identified on the Build Identity page and in Section 10.5.\\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabularx}
|
\end{tabularx}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
For security reasons, passwords in this document are stored only as links to another password store (shared BitWarden cloud account), never as the credential itself. When a new credential is created, add a row naming the user and server, add the corresponding entry to the password manager, and record only the password manager's entry name here.
|
For security reasons, passwords in this document are stored only as links to another password store (shared BitWarden cloud account), never as the credential itself. When a new credential is created, add a row naming the user and server, add the corresponding entry to the password manager, and record only the password manager's entry name here.
|
||||||
|
|
||||||
\section{Credential Registry}
|
\section{Credential Registry}
|
||||||
\begin{tabularx}{\linewidth}{L{1.8cm}L{2.6cm}L{3.4cm}Y}
|
\begin{longtable}{L{1.8cm}L{2.6cm}L{3.4cm}L{5.0cm}}
|
||||||
\caption{Credential Registry\label{Table:CredentialRegistry}}\\
|
\caption{Credential Registry\label{Table:CredentialRegistry}}\\
|
||||||
\toprule \textbf{User} & \textbf{Server} & \textbf{Credential Reference} & \textbf{Rotation / Notes}\\ \midrule
|
\toprule \textbf{User} & \textbf{Server} & \textbf{Credential Reference} & \textbf{Rotation / Notes}\\ \midrule
|
||||||
\endfirsthead
|
\endfirsthead
|
||||||
@@ -23,4 +23,14 @@ Group 7 & Actions runner & Restricted state: \texttt{.runner} & Outside Git; mod
|
|||||||
\texttt{ssw590} & Jenkins & Bitwarden: \texttt{jenkins-admin} & Named Matrix administrator.\\
|
\texttt{ssw590} & Jenkins & Bitwarden: \texttt{jenkins-admin} & Named Matrix administrator.\\
|
||||||
\texttt{jenkins-}\allowbreak\texttt{ci} & Gitea & Bitwarden: \texttt{gitea-jenkins} & Non-admin; product repository Write access.\\
|
\texttt{jenkins-}\allowbreak\texttt{ci} & Gitea & Bitwarden: \texttt{gitea-jenkins} & Non-admin; product repository Write access.\\
|
||||||
\texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\
|
\texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\
|
||||||
\end{tabularx}
|
Group 7 & Grafana & Bitwarden: \path{bitwarden-grafana} & Never publish the password. The restricted initial-password file outside Git is a bootstrap value and must not be used to reset the changed login.\\
|
||||||
|
Group 7 & Discord alert route & Restricted \path{grafana-discord-webhook} and private routing provisioning outside Git & Secret URL excluded from source and screenshots. Rotate/revoke through the team Discord integration if compromised; preserve resolved delivery.\\
|
||||||
|
Startup Admin & Zammad support & Bitwarden: \path{zammad-admin} & Login \path{startup.admin@example.test}; named administrator. Rotate on compromise.\\
|
||||||
|
\texttt{student.}\allowbreak\texttt{agent} & Zammad support & Bitwarden: \path{zammad-student-agent} & Startup Support Agent access only.\\
|
||||||
|
\texttt{ta.agent} & Zammad support & Bitwarden: \path{zammad-ta-agent} & Agent role only. Supply privately in Canvas; revoke after evaluation.\\
|
||||||
|
\texttt{demo.}\allowbreak\texttt{customer} & Zammad portal & Bitwarden: \path{zammad-demo-customer} & Synthetic Customer for portal workflow and visibility tests.\\
|
||||||
|
\texttt{other.}\allowbreak\texttt{customer} & Zammad portal & Bitwarden: \path{zammad-other-customer} & Separate synthetic Customer for ticket-isolation tests.\\
|
||||||
|
Zammad database & PostgreSQL & Bitwarden: \path{zammad-postgres} & Private deployment variable \texttt{POSTGRES\_PASS}; excluded from Git.\\
|
||||||
|
Database superuser & PostgreSQL & Bitwarden: \path{zammad-postgres-superuser} & Private deployment variable \texttt{POSTGRES\_SUPERUSER\_PASS}; excluded from Git.\\
|
||||||
|
Zammad search & Elasticsearch & Bitwarden: \path{zammad-elasticsearch} & Private deployment variable \texttt{ELASTICSEARCH\_PASS}; the variable does not establish enabled search authentication.\\
|
||||||
|
\end{longtable}
|
||||||
|
|||||||
@@ -163,3 +163,59 @@
|
|||||||
howpublished = {\url{https://docs.gitea.com/development/oauth2-provider/#scopes}},
|
howpublished = {\url{https://docs.gitea.com/development/oauth2-provider/#scopes}},
|
||||||
note = {Accessed October 9, 2026}
|
note = {Accessed October 9, 2026}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@misc{PrometheusStorageA7,
|
||||||
|
author = {{Prometheus Authors}},
|
||||||
|
title = {Prometheus Storage},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://prometheus.io/docs/prometheus/latest/storage/}},
|
||||||
|
note = {Accessed: October 28, 2026}
|
||||||
|
}
|
||||||
|
|
||||||
|
@misc{NodeExporterA7,
|
||||||
|
author = {{Prometheus Authors}},
|
||||||
|
title = {Monitoring Linux Host Metrics with the Node Exporter},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://prometheus.io/docs/guides/node-exporter/}},
|
||||||
|
note = {Accessed: October 28, 2026}
|
||||||
|
}
|
||||||
|
|
||||||
|
@misc{BlackboxExporterA7,
|
||||||
|
author = {{Prometheus Authors}},
|
||||||
|
title = {Blackbox Exporter: Multi-target HTTPS Probing},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://github.com/prometheus/blackbox_exporter}},
|
||||||
|
note = {Accessed: October 28, 2026}
|
||||||
|
}
|
||||||
|
|
||||||
|
@misc{GrafanaAlertFilesA7,
|
||||||
|
author = {{Grafana Labs}},
|
||||||
|
title = {Provision Grafana Alerting Resources from Files},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/}},
|
||||||
|
note = {Accessed: October 28, 2026}
|
||||||
|
}
|
||||||
|
|
||||||
|
@misc{ZammadDockerA9,
|
||||||
|
author = {{Zammad Foundation}},
|
||||||
|
title = {Install with Docker},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://docs.zammad.org/en/latest/install/docker-compose.html}},
|
||||||
|
note = {Accessed November 18, 2026; deployment observations use the recorded pinned checkout}
|
||||||
|
}
|
||||||
|
|
||||||
|
@misc{ZammadPinnedComposeA9,
|
||||||
|
author = {{Zammad Foundation}},
|
||||||
|
title = {Official Docker Compose deployment, pinned source revision},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://github.com/zammad/zammad-docker-compose/tree/cb5ab9c805310515f4a55e70e94f9b4a28fa24a5}},
|
||||||
|
note = {Checkout inspected November 18, 2026}
|
||||||
|
}
|
||||||
|
|
||||||
|
@misc{ZammadDockerRestoreA9,
|
||||||
|
author = {{Zammad Foundation}},
|
||||||
|
title = {Backup and Restore (Docker)},
|
||||||
|
year = {2026},
|
||||||
|
howpublished = {\url{https://docs.zammad.org/en/latest/appendix/backup-and-restore/docker-compose.html}},
|
||||||
|
note = {Accessed November 18, 2026; restore procedure documented, not executed}
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,597 @@
|
|||||||
|
\chapter{Introduction to SRE: Monitoring and Reliability}
|
||||||
|
\ChapterLabel{SREMonitoringReliability}
|
||||||
|
\index{SRE}\index{Prometheus}\index{Grafana}\index{Node Exporter}\index{Blackbox Exporter}
|
||||||
|
|
||||||
|
\begin{devopsNote}[Assignment 7 final draft]
|
||||||
|
This chapter addresses instructor manual version 1.42, Chapter 5, using the existing
|
||||||
|
MyFileAgent Gitea/Jenkins Droplet. Evidence is dated October 24--28, 2026.
|
||||||
|
Operational PR 14 and documentation PR 15 were reviewed and merged; Gitea Actions
|
||||||
|
run 16 successfully compiled and published the Assignment 7 manual.
|
||||||
|
\end{devopsNote}
|
||||||
|
|
||||||
|
\section{Deployment and Reproducibility}
|
||||||
|
\subsection{Scope, Ownership and Baseline}
|
||||||
|
\phantomsection\label{AcronymRef:SRE}\label{GlossaryRef:sre}
|
||||||
|
Site reliability engineering (SRE) combines measurable objectives, monitoring and
|
||||||
|
operating procedures. Four separate project-published containers were added:
|
||||||
|
Prometheus, Grafana OSS, Node Exporter and Blackbox Exporter. Gitea, Jenkins, Caddy,
|
||||||
|
the repository and the Droplet were reused. No Kubernetes, cAdvisor, application
|
||||||
|
metrics plugin, separate Alertmanager or new workload was introduced.
|
||||||
|
|
||||||
|
Gowri Das Lovely coordinated the approved work; Codex assisted with implementation,
|
||||||
|
measurement and source authoring on the Droplet. Nicholas Kogut independently approved
|
||||||
|
and merged \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/14}{PR 14}.
|
||||||
|
Branch \texttt{assignment7/monitoring} had head
|
||||||
|
\path{6605394d7a3e4183bfc8e94e2b08f1d324a73b8e}; its reviewed merge is
|
||||||
|
\path{b42689f02f30ad895101a2c5f367e54e3603bc5d}.
|
||||||
|
Issues 12 and 13 are owned follow-ups. A separate initial Assignment 7 planning issue
|
||||||
|
was not captured; later issues are not described as a pre-deployment issue.
|
||||||
|
|
||||||
|
Host \texttt{ssw590-group7-droplet}, IPv4 \texttt{142.93.193.110}, has one vCPU and
|
||||||
|
nominal 1 GB RAM/25 GB storage. Pre-monitoring main build 3 passed October 24 in
|
||||||
|
19.365 seconds on starting commit \path{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}.
|
||||||
|
Available memory ranged from 86.3 to 170.2 MiB during that build; host CPU reached
|
||||||
|
100\% in one sample. These are whole-host observations, not Jenkins-only consumption.
|
||||||
|
|
||||||
|
|
||||||
|
A dated October 28 cross-check recorded Ubuntu 24.04.4 LTS, \texttt{x86\_64}, Docker
|
||||||
|
29.8.1 and Compose v5.5.1; total RAM was 1,008,177,152 bytes and swap 1,073,737,728
|
||||||
|
bytes. Root filesystem size was 24,883,167,232 bytes. These later values are not
|
||||||
|
relabeled as an October 24 baseline. See
|
||||||
|
\path{evidence/assignment7/documentation-host-comparison-2026-10-28.json}.
|
||||||
|
No new paid host/upgrade was purchased; existing hosting and domain remain team-owned.
|
||||||
|
A current billing amount was not collected. Monitoring success does not resolve the
|
||||||
|
earlier access-policy exceptions automatically.
|
||||||
|
|
||||||
|
\subsection{Architecture, Images and Retention}
|
||||||
|
% Source-only architecture figure; no compilation performed.
|
||||||
|
\begin{figure}[htbp]
|
||||||
|
\centering
|
||||||
|
\small
|
||||||
|
\begin{tabular}{c}
|
||||||
|
\fbox{\parbox{0.88\linewidth}{\centering External browser clients\\HTTPS 443; Caddy-managed certificates}}\\[0.6em]
|
||||||
|
$\downarrow$\\[0.6em]
|
||||||
|
\fbox{\parbox{0.88\linewidth}{\centering Shared DigitalOcean Droplet: Caddy reverse proxy\\
|
||||||
|
\texttt{myfileagent.tech} $\rightarrow$ Gitea\\
|
||||||
|
\texttt{ci.myfileagent.tech} $\rightarrow$ Jenkins\\
|
||||||
|
\texttt{metrics.myfileagent.tech} $\rightarrow$ authenticated Grafana}}\\[0.6em]
|
||||||
|
$\downarrow$ private Docker networking\\[0.6em]
|
||||||
|
\fbox{\parbox{0.88\linewidth}{\centering Grafana $\rightarrow$ Prometheus:9090\\
|
||||||
|
Prometheus $\rightarrow$ Node Exporter:9100 and Blackbox Exporter:9115\\
|
||||||
|
Prometheus also scrapes itself and Blackbox Exporter's own metrics.\\
|
||||||
|
Blackbox $\rightarrow$ Gitea/Jenkins HTTPS login URLs; TLS validation enabled.}}\\[0.6em]
|
||||||
|
\fbox{\parbox{0.88\linewidth}{\centering Node Exporter $\rightarrow$ read-only host root/proc/sys; host PID namespace\\
|
||||||
|
Prometheus $\rightarrow$ persistent \texttt{prometheus\_data} volume\\
|
||||||
|
Grafana $\rightarrow$ persistent \texttt{grafana\_data} volume\\
|
||||||
|
Grafana alerting $\rightarrow$ team Discord webhook over HTTPS; secret outside Git}}\\
|
||||||
|
\end{tabular}
|
||||||
|
\caption{Deployed monitoring architecture. Only Grafana joins both the monitoring
|
||||||
|
and existing private proxy networks. Raw monitoring ports are not published.
|
||||||
|
A total Droplet failure can also stop local monitoring and notifications.}
|
||||||
|
\label{Figure:SREArchitecture}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{table}[htbp]\centering\small
|
||||||
|
\begin{tabularx}{\linewidth}{L{2.5cm}YL{2.2cm}}
|
||||||
|
\toprule Service & Published image & Release\\\midrule
|
||||||
|
Prometheus & \texttt{prom/prometheus} & v3.15.1\\
|
||||||
|
Grafana OSS & \texttt{grafana/grafana} & 13.2.4\\
|
||||||
|
Node Exporter & \texttt{quay.io/prometheus/node-exporter} & v1.12.1\\
|
||||||
|
Blackbox Exporter & \texttt{quay.io/prometheus/blackbox-exporter} & v0.29.1\\
|
||||||
|
\bottomrule\end{tabularx}
|
||||||
|
\caption{Recorded Linux/amd64 monitoring images. Compose fixes tags rather than claiming all images are digest-pinned.}
|
||||||
|
\end{table}
|
||||||
|
Full pulled digests are preserved in
|
||||||
|
\path{evidence/assignment7/monitoring-image-digests-2026-10-24.json}.
|
||||||
|
Prometheus has a 160 MiB memory/swap cap and \texttt{GOMEMLIMIT=120MiB}; exporters have
|
||||||
|
32 MiB caps. Grafana's memory/swap limit was removed at the team's request after
|
||||||
|
bounded startup failed readiness. CPU quotas remain. This observed shared-host lab
|
||||||
|
operation is not a sizing guarantee. Run Jenkins/manual builds one at a time; two
|
||||||
|
configured executors do not prove safe concurrency. Per-job nonconcurrency does not
|
||||||
|
prevent overlap between different jobs.
|
||||||
|
|
||||||
|
\phantomsection\label{AcronymRef:TSDB}
|
||||||
|
Prometheus time-series database (TSDB) retention is seven days and 512 MB of blocks.
|
||||||
|
Write-ahead-log, head and compaction require additional room: 512 MB is not a total
|
||||||
|
volume quota. Save evidence before history expires\cite{PrometheusStorageA7}.
|
||||||
|
|
||||||
|
\subsection{Deployment, Persistence and Recovery Instructions}
|
||||||
|
The reviewed \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring}{monitoring source}
|
||||||
|
is deployed from \path{/home/codex/myfileagent-gitea/assignment7-monitoring/monitoring}.
|
||||||
|
Only Grafana joins both \texttt{myfileagent-gitea\_gitea-private} and
|
||||||
|
\texttt{myfileagent-monitoring\_monitoring}. Node Exporter reads host root/proc/sys
|
||||||
|
through a read-only root mount and uses the host PID namespace. This grants sensitive
|
||||||
|
host visibility, but no privileged mode or Docker socket. Only CPU, memory and
|
||||||
|
filesystem collectors are enabled. No monitoring host ports are published.
|
||||||
|
|
||||||
|
The following abridged Compose excerpt shows the persistent/private boundary;
|
||||||
|
the reviewed source contains all services, limits and the separate secret override.
|
||||||
|
\begin{lstlisting}
|
||||||
|
services:
|
||||||
|
prometheus:
|
||||||
|
image: prom/prometheus:v3.15.1
|
||||||
|
volumes:
|
||||||
|
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||||
|
- prometheus_data:/prometheus
|
||||||
|
networks: [monitoring]
|
||||||
|
grafana:
|
||||||
|
image: grafana/grafana:13.2.4
|
||||||
|
volumes:
|
||||||
|
- grafana_data:/var/lib/grafana
|
||||||
|
- ./grafana/provisioning:/etc/grafana/provisioning:ro
|
||||||
|
networks: [monitoring, proxy]
|
||||||
|
networks:
|
||||||
|
monitoring:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
name: myfileagent-gitea_gitea-private
|
||||||
|
volumes:
|
||||||
|
prometheus_data:
|
||||||
|
grafana_data:
|
||||||
|
\end{lstlisting}
|
||||||
|
No \texttt{ports:} mapping is present for these monitoring services.
|
||||||
|
|
||||||
|
Review actual networks, identities and paths before deployment. The override uses
|
||||||
|
supplemental group 1000 and this Droplet's restricted secret paths. An authorized
|
||||||
|
operator supplies the initial Grafana password and private Discord routing file
|
||||||
|
outside Git; the committed routing placeholder contains only \texttt{apiVersion: 1}.
|
||||||
|
It cannot recreate the receiver secret. Never reset a changed login with the bootstrap
|
||||||
|
file. See the team-specified \texttt{bitwarden-grafana} hint in \ChapterRef{Passwords}.
|
||||||
|
|
||||||
|
From the reviewed monitoring directory, after checking prerequisites:
|
||||||
|
\begin{lstlisting}
|
||||||
|
docker compose config --quiet
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d node-exporter blackbox-exporter prometheus
|
||||||
|
docker compose exec -T prometheus promtool check config /etc/prometheus/prometheus.yml
|
||||||
|
docker compose up -d grafana
|
||||||
|
docker compose ps
|
||||||
|
\end{lstlisting}
|
||||||
|
Compose and promtool checks passed; Blackbox loaded its module and successfully
|
||||||
|
probed services. Preserve all existing Caddy routes when adding the Grafana route;
|
||||||
|
validate Caddy before reload. The example fragment is not a whole Caddyfile replacement.
|
||||||
|
Rollback only monitoring with \texttt{docker compose stop} from its directory; resume
|
||||||
|
with \texttt{docker compose start}. Never use \texttt{down -v}, global pruning or
|
||||||
|
stop the existing Gitea/Jenkins project as monitoring rollback.
|
||||||
|
|
||||||
|
Separate named volumes preserve Prometheus history and Grafana state. Before upgrades,
|
||||||
|
plan a consistent stopped Grafana volume/SQLite backup, preserve ownership and store
|
||||||
|
private routing secrets separately. Use a documented consistent Prometheus snapshot
|
||||||
|
or planned stopped backup, not an assumed-consistent live recursive copy. Restore
|
||||||
|
into isolation and verify before replacing live data. Monitoring backup/restore has
|
||||||
|
not been exercised; the later restart evidence proves persistence only.
|
||||||
|
|
||||||
|
\section{Metrics and HTTPS Probes}
|
||||||
|
\subsection{Collection and Metric Inventory}
|
||||||
|
Jobs \texttt{prometheus}, \texttt{node}, \texttt{blackbox} and \texttt{https} scrape
|
||||||
|
every 30 seconds. The first three collect Prometheus itself, host metrics and Blackbox's
|
||||||
|
own metrics. The separate multi-target job requests Blackbox \texttt{/probe}, retaining
|
||||||
|
the target URL as \texttt{instance}\cite{NodeExporterA7,BlackboxExporterA7}.
|
||||||
|
\begin{table}[htbp]\centering\footnotesize
|
||||||
|
\begin{tabularx}{\linewidth}{L{4.2cm}L{1.7cm}Y}
|
||||||
|
\toprule Metric & Type/unit & Labels, meaning and limits\\\midrule
|
||||||
|
\path{node_cpu_seconds_total} & Counter, seconds & CPU/mode/instance; cumulative host CPU time. Use rates, not raw counts, for utilization.\\
|
||||||
|
\texttt{node\_memory\_}\allowbreak\texttt{MemAvailable\_bytes} & Gauge, bytes & Instance/job; estimated host memory available without swapping, not just unused RAM.\\
|
||||||
|
\texttt{node\_filesystem\_}\allowbreak\texttt{size\_bytes}, \texttt{node\_filesystem\_}\allowbreak\texttt{avail\_bytes} & Gauge, bytes & Device/fstype/mountpoint/instance; select the same real root filesystem, excluding overlays and pseudo mounts.\\
|
||||||
|
\path{up} & Gauge, 0/1 & Job/instance; collection succeeded. Not application availability.\\
|
||||||
|
\path{probe_success} & Gauge, 0/1 & Job/URL instance; configured probe succeeded, not authenticated Git/build correctness.\\
|
||||||
|
\path{probe_duration_seconds} & Gauge, seconds & Job/URL instance; elapsed probe duration. A failed probe may finish quickly.\\
|
||||||
|
\bottomrule\end{tabularx}\caption{Required metric inventory and interpretation.}
|
||||||
|
\end{table}
|
||||||
|
|
||||||
|
\subsection{Host Cross-check and Actual Filesystem Labels}
|
||||||
|
The verified selector is \texttt{mountpoint="/", device="/dev/vda1", fstype="ext4"},
|
||||||
|
not an assumed \texttt{/host} label or overlay. October 28 \texttt{free -b} and exported
|
||||||
|
total RAM both gave 1,008,177,152 bytes. Available RAM was 217,042,944 bytes at the host
|
||||||
|
command versus a recently scraped 232,452,096 bytes. Observations were not simultaneous;
|
||||||
|
changing workloads prevent exact equality. Root size matched at 24,883,167,232 bytes;
|
||||||
|
available root bytes were 12,422,406,144 versus 12,422,414,336, an 8,192-byte difference
|
||||||
|
between nearby observations. CPU idle time from \texttt{/proc/stat} was 31,254,346 ticks
|
||||||
|
versus a recently scraped 312,523.19 seconds. The recorded host clock unit is 100 ticks per second. Compare using units and
|
||||||
|
timestamps; these are not raw quantities in identical units. No precise simultaneous
|
||||||
|
CPU-rate comparison is claimed. Raw values are in the dated host-comparison JSON.
|
||||||
|
Host metrics combine workloads and cannot be attributed solely to Jenkins.
|
||||||
|
|
||||||
|
\subsection{HTTPS Success Definition and Diagnosis}
|
||||||
|
Targets are \url{https://myfileagent.tech/user/login} and
|
||||||
|
\url{https://ci.myfileagent.tech/login}. The GET module follows redirects, requires
|
||||||
|
SSL, prefers IPv4 and validates hostname/certificate. Expected final status is 2xx;
|
||||||
|
there is no body-content assertion or authenticated user transaction.
|
||||||
|
\begin{lstlisting}
|
||||||
|
modules:
|
||||||
|
http_2xx:
|
||||||
|
prober: http
|
||||||
|
timeout: 10s
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
preferred_ip_protocol: ip4
|
||||||
|
follow_redirects: true
|
||||||
|
fail_if_not_ssl: true
|
||||||
|
tls_config:
|
||||||
|
insecure_skip_verify: false
|
||||||
|
\end{lstlisting}
|
||||||
|
All five targets and both service probes were healthy in the October 28 cross-check.
|
||||||
|
During the Jenkins outage, collection continued while its probe became zero:
|
||||||
|
\texttt{up=1} can coexist with \texttt{probe\_success=0}. Diagnose collection, exporter
|
||||||
|
logs, DNS, TLS and proxy/backend health before restarting anything. A same-Droplet
|
||||||
|
login-page probe does not establish external reachability from every network, working
|
||||||
|
Git operations or successful builds. Complete host failure can stop monitoring too.
|
||||||
|
|
||||||
|
\section{HTTPS and Access Control}
|
||||||
|
\subsection{Public Pages and Authentication}
|
||||||
|
Operating entry points are \href{https://myfileagent.tech/user/login}{Gitea login},
|
||||||
|
\href{https://ci.myfileagent.tech/login}{Jenkins login} and
|
||||||
|
\href{https://metrics.myfileagent.tech/login}{Grafana login}.
|
||||||
|
Grafana's root URL is \url{https://metrics.myfileagent.tech}; provisioning disables
|
||||||
|
anonymous access and signup. The team changed the bootstrap password privately.
|
||||||
|
Figure~\ref{Figure:GrafanaSignedOut} shows the supplied incognito login page. It
|
||||||
|
establishes the displayed page requires credentials, not that every direct dashboard
|
||||||
|
URL has independently been tested signed out.
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.68\textheight,keepaspectratio]{hw7_images/team-grafana-incognito-login.png}
|
||||||
|
\caption{Team-supplied incognito Grafana login page. No password is included.}
|
||||||
|
\label{Figure:GrafanaSignedOut}\end{figure}
|
||||||
|
|
||||||
|
October 28 Jenkins configuration showed the private security realm,
|
||||||
|
\texttt{disableSignup=true}, Matrix authorization, and no explicit Anonymous or general
|
||||||
|
Authenticated Users grants. This is a configuration check, not a new private-window
|
||||||
|
access test. Earlier public-browser and SSH-source exception limitations remain
|
||||||
|
unresolved without independent instructor approval; working monitoring does not waive them.
|
||||||
|
|
||||||
|
\subsection{External Port Evidence and Limits}
|
||||||
|
\EvidenceID{A7-ACCESS-01}: the team ran PowerShell from its Windows workstation outside
|
||||||
|
the Droplet October 28, 14:20:37--14:21:35 EDT. IPv4 \texttt{142.93.193.110} accepted
|
||||||
|
TCP on 80/443. Ports 3000, 3001, 5050, 8080, 9090, 9100, 9115 and 50000 were not
|
||||||
|
reachable within the 2.5-second timeout. Earlier public 5050/8080 endpoints are closed;
|
||||||
|
current Jenkins 8080 remains private and loopback-bound. Failed connections do not
|
||||||
|
distinguish refusal from filtering. No raw monitoring port is intentionally published.
|
||||||
|
|
||||||
|
The transcript resolved IPv6 \texttt{2607:7700:0:28:0:2:8e5d:c16e}; all tested ports,
|
||||||
|
including 80/443, were unreachable. A Droplet check found no global IPv6 address while
|
||||||
|
kernel disable flags were zero. TLS-validating
|
||||||
|
probes and HTTPS health checks from the Droplet are separate evidence, not replacements
|
||||||
|
for a missing external command result. Sanitized findings are in
|
||||||
|
\path{evidence/assignment7/team-external-access-summary-2026-10-28.json}; the original
|
||||||
|
transcript remains private outside Git because it includes workstation metadata.
|
||||||
|
A complete independent scan of unintended public HTTPS metrics routes is not recorded.
|
||||||
|
|
||||||
|
\section{Dashboard and Continuous-Integration Correlation}
|
||||||
|
\subsection{Six Required Panels}
|
||||||
|
\phantomsection\label{GlossaryRef:dashboard}
|
||||||
|
The \href{https://metrics.myfileagent.tech/d/myfileagent-sre}{MyFileAgent -- SRE Monitoring}
|
||||||
|
dashboard has UID \texttt{myfileagent-sre}, folder SSW590, timezone
|
||||||
|
\texttt{America/New\_York}, and 30-second refresh. Its units and legends distinguish:
|
||||||
|
\begin{enumerate}
|
||||||
|
\item \textbf{Whole-host CPU (percent):}
|
||||||
|
\begin{lstlisting}
|
||||||
|
100 * (1 - avg by(instance) (rate(node_cpu_seconds_total{mode="idle"}[2m])))
|
||||||
|
\end{lstlisting}
|
||||||
|
This averages host CPU non-idle time over a two-minute rate window.
|
||||||
|
\item \textbf{Available host memory (bytes, displayed MiB):}
|
||||||
|
\begin{lstlisting}
|
||||||
|
node_memory_MemAvailable_bytes{job="node"}
|
||||||
|
\end{lstlisting}
|
||||||
|
\item \textbf{Root available space (percent):}
|
||||||
|
\begin{lstlisting}
|
||||||
|
100 * node_filesystem_avail_bytes{mountpoint="/",device="/dev/vda1",fstype="ext4"}
|
||||||
|
/ node_filesystem_size_bytes{mountpoint="/",device="/dev/vda1",fstype="ext4"}
|
||||||
|
\end{lstlisting}
|
||||||
|
\item \textbf{Gitea HTTPS availability (0/1):} \texttt{probe\_success} filtered to its URL.
|
||||||
|
\item \textbf{Jenkins HTTPS availability (0/1):} the same metric filtered to its URL.
|
||||||
|
\item \textbf{HTTPS duration (seconds):} \texttt{probe\_duration\_seconds\{job="https"\}}
|
||||||
|
with separate service lines. A quick failed probe is not good latency.
|
||||||
|
\end{enumerate}
|
||||||
|
Scrape health is checked separately with \texttt{up}, not substituted for availability.
|
||||||
|
The original screenshots below were chosen by the team; their rolling windows were
|
||||||
|
captured at different times and are not a single fixed comparison dataset.
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.70\textheight,keepaspectratio]{hw7_images/team-dashboard-cpu-memory.png}
|
||||||
|
\caption{Team-selected CPU/memory evidence with build markers on both panels.}
|
||||||
|
\label{Figure:SRECPU}\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.70\textheight,keepaspectratio]{hw7_images/team-dashboard-root-gitea.png}
|
||||||
|
\caption{Team-selected root-space and Gitea availability panels.}
|
||||||
|
\label{Figure:SRERootGitea}\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.70\textheight,keepaspectratio]{hw7_images/team-dashboard-jenkins-duration.png}
|
||||||
|
\caption{Team-selected Jenkins availability and two-service HTTPS duration panels.}
|
||||||
|
\label{Figure:SREJenkinsDuration}\end{figure}
|
||||||
|
|
||||||
|
\subsection{Normal Build 4: Before, During and After}
|
||||||
|
\EvidenceID{A7-CI-01}: \href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/4/}{main build 4}
|
||||||
|
passed October 24, 16:34:13.162--16:34:45.699 EDT, duration 32.537 seconds, on commit
|
||||||
|
\path{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}. It ran on the Jenkins controller
|
||||||
|
executor on this Droplet, passed syntax and two tests, and notified Gitea. Separate
|
||||||
|
start/end annotations were saved on each of the six panels with build, commit,
|
||||||
|
timestamps and execution location. They are panel-specific, not automatically global.
|
||||||
|
|
||||||
|
The fixed comparison window is
|
||||||
|
\href{https://metrics.myfileagent.tech/d/myfileagent-sre?from=1792873933162\&to=1792874145699}{16:32:13.162--16:35:45.699 EDT}.
|
||||||
|
Host CPU ranged approximately 24.57--37.49\% before, 36.67--38.99\% during, and
|
||||||
|
55.51--64.56\% after. Available memory during the run ranged from 181,882,880 to
|
||||||
|
222,879,744 bytes. Root available space stayed near 50.8\%; both service probes stayed
|
||||||
|
one. These are shared-host correlations, not per-Jenkins attribution. A two-minute
|
||||||
|
CPU rate smooths/delays a short build's peak. Five-second query steps over 30-second
|
||||||
|
scrapes repeat evaluations; they do not create five-second observations. No synthetic
|
||||||
|
load was added to manufacture a spike. Raw series and test evidence are versioned.
|
||||||
|
|
||||||
|
\section{SLI, SLO and Error Budget}
|
||||||
|
\subsection{Definitions and Hypothetical Example}
|
||||||
|
\phantomsection\label{AcronymRef:SLI}\label{GlossaryRef:sli}\index{SLI}
|
||||||
|
A service-level indicator (SLI) is the measured fraction of specified HTTPS probes
|
||||||
|
that succeed; report each service separately and include expected/received coverage.
|
||||||
|
\phantomsection\label{AcronymRef:SLO}\label{GlossaryRef:slo}\index{SLO}
|
||||||
|
Our service-level objective (SLO) is at least 99\% successful scheduled probes over
|
||||||
|
24 hours per service, an internal laboratory target.
|
||||||
|
\phantomsection\label{AcronymRef:SLA}\index{SLA}
|
||||||
|
A service-level agreement (SLA) is a customer agreement that may define consequences
|
||||||
|
for a miss; this exercise creates no customer SLA.
|
||||||
|
|
||||||
|
The instructor's hypothetical figures are not measured results. At 30-second intervals,
|
||||||
|
a complete day has 2,880 probes. Gitea's 2,880/2,880 is 100\%; Jenkins's 2,850/2,880
|
||||||
|
is approximately 98.96\%, below 99\%.
|
||||||
|
\phantomsection\label{GlossaryRef:errorbudget}\index{error budget}
|
||||||
|
The theoretical error budget is $(1-0.99)\times2880=28.8$ failed samples, equivalent
|
||||||
|
to $28.8\times30/60=14.4$ minutes under uniform sampling. At most 28 whole failures
|
||||||
|
meet the target; 30 exceed the theoretical budget by 1.2 samples, about 0.6 minutes.
|
||||||
|
These equivalents are not exact continuous downtime measurements.
|
||||||
|
|
||||||
|
\subsection{Baseline and Actual Exercise Window}
|
||||||
|
\EvidenceID{A7-SLO-BASELINE-01}: the healthy October 24 baseline was
|
||||||
|
16:40:50--16:50:50 EDT, 20:40:50--20:50:50 UTC, evaluation epoch \texttt{1792875050}.
|
||||||
|
Both services had 20 received samples, all successful. The actual controlled-exercise
|
||||||
|
window was \textbf{17:23:00--17:33:00 EDT} on October 24, 21:23:00--21:33:00 UTC,
|
||||||
|
evaluation epoch \texttt{1792877580}. Approximately 20 samples are expected in ten minutes.
|
||||||
|
\begin{table}[htbp]\centering
|
||||||
|
\begin{tabular}{lrrrr}\toprule
|
||||||
|
Service & Received & Successes & Failures & Success fraction\\\midrule
|
||||||
|
Gitea & 20 & 20 & 0 & 100\%\\
|
||||||
|
Jenkins & 20 & 12 & 8 & 60\%\\\bottomrule
|
||||||
|
\end{tabular}
|
||||||
|
\caption{Measured exercise window: both services have nominal 20/20 coverage. This is not a 24-hour SLO measurement.}
|
||||||
|
\label{Table:SREIncidentSLI}\end{table}
|
||||||
|
Both services ended at \texttt{probe\_success=1}. Received failures were isolated to
|
||||||
|
Jenkins. Do not extrapolate the ten-minute percentage to claim a full-day miss/pass.
|
||||||
|
Full-day collection and actually meeting the SLO are optional in instructor version 1.42.
|
||||||
|
|
||||||
|
\subsection{Reproduce Queries and Interpret Missing Data}
|
||||||
|
Evaluate these instant queries at the recorded epoch while history remains retained:
|
||||||
|
\begin{lstlisting}
|
||||||
|
100 * avg_over_time(probe_success{job="https"}[10m])
|
||||||
|
count_over_time(probe_success{job="https"}[10m])
|
||||||
|
count_over_time(probe_success{job="https"}[10m])
|
||||||
|
- sum_over_time(probe_success{job="https"}[10m])
|
||||||
|
up{job=~"https|blackbox|prometheus"}
|
||||||
|
\end{lstlisting}
|
||||||
|
Range selectors are left-open/right-closed. Boundaries, jitter and restarts can change
|
||||||
|
counts. Averages use received observations; absent samples/series are unknown, not
|
||||||
|
success. Count binary probe failures separately from collection failures. Exact query
|
||||||
|
results and samples are retained in
|
||||||
|
\path{evidence/assignment7/jenkins-incident-sli-fixed-window.json} and
|
||||||
|
\path{evidence/assignment7/jenkins-incident-probe-samples.json}.
|
||||||
|
|
||||||
|
\section{Alerts and Operator Runbooks}
|
||||||
|
\subsection{Final Rules and Team-Controlled Delivery}
|
||||||
|
Grafana manages two file-provisioned rules in folder SSW590, group \texttt{team-sre},
|
||||||
|
evaluated every 30 seconds. Labels include owner \texttt{SSW590-Group7}, team
|
||||||
|
\texttt{group7}, scope \texttt{assignment7}, and severity. Both rules have a summary,
|
||||||
|
description and runbook link. No-data and execution errors enter Alerting, not health.
|
||||||
|
Provisioned definitions are changed in reviewed files followed by an authorized
|
||||||
|
reload/restart, not treated as durable UI-only changes\cite{GrafanaAlertFilesA7}.
|
||||||
|
\begin{table}[htbp]\centering\small
|
||||||
|
\begin{tabularx}{\linewidth}{L{3.6cm}YL{2cm}}
|
||||||
|
\toprule Rule & Condition and response & Pending/\newline severity\\\midrule
|
||||||
|
\texttt{sre-service-}\allowbreak\texttt{unavailable} & Expected probe below one, separate URL instances; inspect collection, TLS, proxy/backend and restore only the affected service. & 1 minute; critical\\
|
||||||
|
\path{sre-root-capacity} & Verified root available percentage below 15\%; inspect growth and agree on safe cleanup/retention, protecting persistent data. & 5 minutes; warning\\
|
||||||
|
\bottomrule\end{tabularx}\caption{Final actionable alert rules.}\end{table}
|
||||||
|
Missing expected service series are explicitly replaced with zero and grouped by URL:
|
||||||
|
\begin{lstlisting}
|
||||||
|
min by (instance) (
|
||||||
|
probe_success{job="https"}
|
||||||
|
or on(instance) label_replace(vector(0),"instance",
|
||||||
|
"https://myfileagent.tech/user/login","","")
|
||||||
|
or on(instance) label_replace(vector(0),"instance",
|
||||||
|
"https://ci.myfileagent.tech/login","","")
|
||||||
|
)
|
||||||
|
\end{lstlisting}
|
||||||
|
Capacity uses the same available/size selectors as the root panel.
|
||||||
|
The \href{https://metrics.myfileagent.tech/d/myfileagent-sre-runbooks}{live runbook dashboard}
|
||||||
|
contains service-response panel 1 and capacity-response panel 2; Markdown runbooks
|
||||||
|
are also versioned. Contact point \texttt{team-alerts} uses Discord integration
|
||||||
|
\texttt{team-discord}, with resolved delivery enabled. Policy groups by folder,
|
||||||
|
alert name and instance; group wait is 10 seconds, group interval one minute, and
|
||||||
|
repeat four hours. Collection, evaluation, pending and grouping delays accumulate.
|
||||||
|
The team created the destination and supplied the webhook privately. Gmail SMTP was
|
||||||
|
considered but was not the working route. No receiver secret is included in this manual.
|
||||||
|
|
||||||
|
\subsection{Contact Point and Safe Capacity Test}
|
||||||
|
The team received the contact-point test, but a test message alone does not prove a
|
||||||
|
rule. The October 24 capacity exercise temporarily raised the free-space threshold
|
||||||
|
from 15\% to 90\%, above roughly 50.8\% free, retaining the five-minute pending period.
|
||||||
|
No disk was filled. Figure~\ref{Figure:SRECapacityAlerts} provides the team-received firing and resolved notifications as evidence of the safe test and recovery after restoring the final 15\% threshold. Threshold change was recorded at 17:14:02.658 EDT; pending was
|
||||||
|
observed, then firing at 17:19:57.613. The team supplied the actual firing message.
|
||||||
|
We restored 15\% at 17:20:24.112 and verified final threshold/Normal state by
|
||||||
|
17:21:40.949. Resolved delivery was also confirmed. These are observation times,
|
||||||
|
not precise message-delivery seconds. The resolved screenshot includes an obsolete
|
||||||
|
setup description restored with older rule text; it is historical wording, not the
|
||||||
|
current route. The live description was corrected before the service outage test.
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.40\textheight,keepaspectratio]{hw7_images/capacity-discord-firing-team.png}\par\medskip
|
||||||
|
\includegraphics[width=\linewidth,height=0.40\textheight,keepaspectratio]{hw7_images/capacity-discord-resolved-team.png}
|
||||||
|
\caption{Actual team-received capacity firing and resolved messages. Final rule: below 15\% for five minutes.}
|
||||||
|
\label{Figure:SRECapacityAlerts}\end{figure}
|
||||||
|
|
||||||
|
\subsection{Diagnosis, Restoration and Escalation}
|
||||||
|
Acknowledge and record time; identify the URL instance; compare collection health,
|
||||||
|
probe result/duration and exporter logs. Check DNS, TLS and Caddy before assuming
|
||||||
|
backend failure. Inspect affected container state/logs, resource pressure and recent
|
||||||
|
changes. Never disable TLS validation to clear a warning. For the approved Jenkins
|
||||||
|
exercise, the known recovery command was:
|
||||||
|
\begin{lstlisting}
|
||||||
|
cd /home/codex/myfileagent-gitea
|
||||||
|
docker compose -f compose.yaml -f compose.jenkins.yaml start jenkins
|
||||||
|
\end{lstlisting}
|
||||||
|
Verify the service name before reuse. Confirm HTTPS, recovered probes, a passing
|
||||||
|
pipeline and Gitea status notification, then record resolved delivery. Escalate
|
||||||
|
unresolved faults to the other team member. For capacity, compare \texttt{df -B1 /},
|
||||||
|
inspect growth read-only, protect volumes/repositories/evidence and agree on cleanup.
|
||||||
|
Do not globally prune Docker or delete service data to manufacture recovery.
|
||||||
|
Repeating a controlled outage or threshold test requires an approved team window.
|
||||||
|
|
||||||
|
\section{Controlled Incident, Recovery and Persistence}
|
||||||
|
\subsection{Approved Jenkins-Only Exercise}
|
||||||
|
The team approved an approximately three-minute Jenkins stop. Prechecks found no
|
||||||
|
unfinished build and an empty queue. Codex executed the known commands on the team's
|
||||||
|
behalf; automatic recovery restarted only Jenkins after approximately three minutes.
|
||||||
|
Gitea and monitoring stayed running and volumes were preserved.
|
||||||
|
Figure~\ref{Figure:SREIncidentDashboard} is the original team dashboard capture.
|
||||||
|
Figure~\ref{Figure:SREIncidentTimeline} adds source-authored event annotations from
|
||||||
|
saved samples; those markers are not claimed to have been saved in the Grafana UI.
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.72\textheight,keepaspectratio]{hw7_images/team-incident-dashboard-full.png}
|
||||||
|
\caption{Team dashboard capture for October 24, approximately 17:23--17:33:59 EDT: Jenkins drops and recovers while Gitea remains one. The displayed range extends beyond the exact 17:23--17:33 SLI window.}
|
||||||
|
\label{Figure:SREIncidentDashboard}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\begin{tikzpicture}[x=1.05cm,y=0.9cm,>=Stealth]
|
||||||
|
\draw[->] (0,0) -- (10.5,0) node[right]{\scriptsize EDT};
|
||||||
|
\foreach \x/\lab in {0/17:23,2/17:25,4/17:27,6/17:29,8/17:31,10/17:33}{\draw (\x,0.08)--(\x,-0.08) node[below]{\scriptsize\lab};}
|
||||||
|
\node[left] at (0,3.2){\scriptsize Gitea};
|
||||||
|
\node[left] at (0,1.4){\scriptsize Jenkins};
|
||||||
|
\draw[gray,dotted] (0,1)--(10,1);\draw[gray,dotted] (0,1.8)--(10,1.8);
|
||||||
|
\node[left] at (0,1){\tiny 0};\node[left] at (0,1.8){\tiny 1};
|
||||||
|
\draw[devopsGreen,thick] (0.41482,3.6)--(9.91482,3.6);
|
||||||
|
\draw[devopsBlue,thick] (0.18372,1.80) -- (0.68372,1.80) -- (0.68372,1.80) -- (1.18372,1.80) -- (1.18372,1.80) -- (1.68372,1.80) -- (1.68372,1.80) -- (2.18372,1.80) -- (2.18372,1.80) -- (2.68372,1.80) -- (2.68372,1.80) -- (3.18372,1.80) -- (3.18372,1.80) -- (3.68372,1.80) -- (3.68372,1.80) -- (4.18372,1.80) -- (4.18372,1.00) -- (4.68372,1.00) -- (4.68372,1.00) -- (5.18372,1.00) -- (5.18372,1.00) -- (5.68372,1.00) -- (5.68372,1.00) -- (6.18372,1.00) -- (6.18372,1.00) -- (6.68372,1.00) -- (6.68372,1.00) -- (7.18372,1.00) -- (7.18372,1.00) -- (7.68372,1.00) -- (7.68372,1.00) -- (8.18372,1.00) -- (8.18372,1.80) -- (8.68372,1.80) -- (8.68372,1.80) -- (9.18372,1.80) -- (9.18372,1.80) -- (9.68372,1.80) -- (9.68372,1.80);
|
||||||
|
\draw[dashed] (3.86662,0)--(3.86662,4.1) node[above,align=center]{\tiny Stop\\\tiny17:26:51.997};
|
||||||
|
\draw[dashed,devopsRed] (5.33333,0)--(5.33333,2.5) node[above,align=center]{\tiny Firing\\\tiny17:28:20};
|
||||||
|
\draw[dashed] (6.91812,0)--(6.91812,4.1) node[above,align=center]{\tiny Restart\\\tiny17:29:55.087};
|
||||||
|
\draw[dashed,devopsGreen] (7.81022,0)--(7.81022,2.5) node[above,align=center]{\tiny HTTPS ready\\\tiny17:30:48.613};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{Annotated timeline from saved binary probe samples, shown as sample-and-hold steps. First failed Jenkins sample: 17:27:11.023; first recovered sample: 17:31:11.023. Command/HTTP event markers are separate from probe transitions. This is a source-authored figure, not an altered Grafana screenshot.}
|
||||||
|
\label{Figure:SREIncidentTimeline}\end{figure}
|
||||||
|
\begin{table}[htbp]\centering\small
|
||||||
|
\begin{tabularx}{\linewidth}{L{5cm}L{3.1cm}Y}\toprule
|
||||||
|
Event & October 24 EDT & Evidence boundary\\\midrule
|
||||||
|
Stop requested & 17:26:45.883 & Automation event\\
|
||||||
|
Jenkins stopped & 17:26:51.997 & Stop completed\\
|
||||||
|
First failed sample & 17:27:11.023 & Actual probe timestamp\\
|
||||||
|
Failure first observed & 17:27:12.740 & Polling timestamp\\
|
||||||
|
Rule firing transition & 17:28:20 & Grafana UI\\
|
||||||
|
Firing first observed & 17:28:34.086 & Polling timestamp\\
|
||||||
|
Discord firing received & displayed 17:28 & No exact second\\
|
||||||
|
Acknowledgment & Confirmed in chat & Clock time unavailable\\
|
||||||
|
Restart requested & 17:29:55.087 & Automatic recovery\\
|
||||||
|
Start command finished & 17:29:57.750 & Exit zero, not readiness\\
|
||||||
|
HTTPS ready observed & 17:30:48.613 & HTTP 200\\
|
||||||
|
First successful sample & 17:31:11.023 & Actual probe timestamp\\
|
||||||
|
Rule Normal transition & 17:31:20 & Grafana UI\\
|
||||||
|
Discord resolved received & Confirmed & No visible message time\\
|
||||||
|
\bottomrule\end{tabularx}\caption{Event versus observation times, America/New\_York, UTC--04:00.}
|
||||||
|
\label{Table:SRETimeline}\end{table}
|
||||||
|
|
||||||
|
Stop-to-first-failed-sample was 19.026 seconds; stop-to-rule-firing was 88.003 seconds.
|
||||||
|
First failed sample to firing was 68.977 seconds. Polling observed firing 14.086 seconds
|
||||||
|
after the UI transition. The scrape/evaluation intervals and one-minute pending period
|
||||||
|
explain quantization; notification grouping adds delay. Exact delivery/acknowledgment
|
||||||
|
latency cannot be calculated without precise receipt/acknowledgment times.
|
||||||
|
Stopped-to-restart-requested was 183.090 seconds, restart-to-observed HTTPS readiness
|
||||||
|
53.526 seconds, and stopped-to-observed readiness 236.617 seconds (about 3 minutes
|
||||||
|
57 seconds). Startup extended the three-minute injection. First failed to first
|
||||||
|
recovered sample spans 240 seconds; this is a sampled interval, not exact downtime.
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.40\textheight,keepaspectratio]{hw7_images/jenkins-discord-firing-team.png}\par\medskip
|
||||||
|
\includegraphics[width=\linewidth,height=0.40\textheight,keepaspectratio]{hw7_images/jenkins-discord-resolved-team.png}
|
||||||
|
\caption{Service-rule firing and resolved messages received in the team Discord channel.}
|
||||||
|
\label{Figure:SREServiceAlerts}\end{figure}
|
||||||
|
|
||||||
|
\subsection{Recovery Validation and Blameless Review}
|
||||||
|
Both probes ended at one and Discord delivery/resolution was confirmed.
|
||||||
|
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/5/}{Recovery-validation build 5}
|
||||||
|
ran \textbf{October 25}, after fresh sign-in, passing syntax and two tests in 36.837
|
||||||
|
seconds on commit \path{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}. Its log records
|
||||||
|
Gitea SUCCESS notification. It is following-day validation, not an immediate recovery
|
||||||
|
build. The manual was subsequently compiled successfully by Gitea Actions run 16 on October 28; that later publication is distinct from the immediate outage recovery window.
|
||||||
|
|
||||||
|
This approved fault injection is not an unplanned application defect or an individual's
|
||||||
|
error. Impact was eight failed Jenkins probes; Gitea had no failures in the fixed
|
||||||
|
window. Isolation, the idle-build precheck, known recovery command, automatic restart,
|
||||||
|
per-service instances and Discord delivery worked. Gaps were exact receipt and
|
||||||
|
acknowledgment times and prompt pipeline-validation access.
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/11}{Earlier PR 11}
|
||||||
|
records a code-test failure/repair, distinct from unavailable-service monitoring.
|
||||||
|
The full blameless review is retained in the reviewed operational source.
|
||||||
|
|
||||||
|
\textbf{P1 issue 12}, assigned to Gowri (\texttt{glovely}), proposes an independent
|
||||||
|
external HTTPS checker. A complete shared-host/network failure can stop local detection
|
||||||
|
and notifications. \textbf{P2 issue 13}, also assigned to Gowri, tracks complete incident
|
||||||
|
timestamps and prompt recovery validation. Both remain open improvements, not completed
|
||||||
|
deployments or authorization for a new outage or paid service.
|
||||||
|
|
||||||
|
\subsection{Separate Prometheus and Grafana Persistence Test}
|
||||||
|
\EvidenceID{A7-PERSIST-01}: on October 28 both services were restarted separately
|
||||||
|
without deleting volumes. Prometheus restart was requested 13:31:34.517 EDT and
|
||||||
|
readiness observed 13:31:40.103 (5.585 seconds). Grafana restart was requested
|
||||||
|
13:32:15.106 and readiness observed 13:32:55.110 (40.004 seconds). Old October 24
|
||||||
|
probe values were unchanged. Data-source, two alert-rule and 18 annotation records
|
||||||
|
matched before/after hashes. Grafana's resource storage retained both original
|
||||||
|
six-panel monitoring and two-panel runbook dashboards. Its empty legacy dashboard
|
||||||
|
table was not mistaken for lost dashboards. All targets/both probes were healthy
|
||||||
|
afterward. Gitea/Jenkins/Grafana health/login checks from the Droplet returned 200;
|
||||||
|
these are not the skipped external HTTPS capture.
|
||||||
|
|
||||||
|
One approximately 60-second interval between Jenkins samples was recorded: 19 received
|
||||||
|
versus approximately 20 expected; Gitea had 20. The missed scheduled collection is
|
||||||
|
unknown, not proof of service failure or success. Grafana restart pauses evaluation
|
||||||
|
and notifications even while Prometheus collects. This demonstrates persistence,
|
||||||
|
not backup/restore or uninterrupted observation.
|
||||||
|
|
||||||
|
\section{Manual Integration, Traceability and Remaining Work}
|
||||||
|
\subsection{Reviewed Operational Source and CI}
|
||||||
|
All links below identify immutable merge commit
|
||||||
|
\path{b42689f02f30ad895101a2c5f367e54e3603bc5d}, rather than a moving branch.
|
||||||
|
\begin{itemize}
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/compose.yaml}{Compose configuration} and
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/README.md}{deployment/recovery guide}.
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/prometheus/prometheus.yml}{Prometheus targets} and
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/blackbox/blackbox.yml}{Blackbox probe module}.
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/grafana/dashboards/team-sre.json}{Dashboard definition} and
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/grafana/provisioning/alerting/team-sre-rules.json}{final alert rules}.
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/runbooks}{operator runbooks},
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/incidents/2026-10-24-jenkins-outage.md}{blameless review} and
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/evidence}{sanitized evidence}.
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/14}{Reviewed PR 14},
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/12}{P1 issue 12} and
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/13}{P2 issue 13}.
|
||||||
|
\end{itemize}
|
||||||
|
Both Jenkins branch and required PR checks passed on feature head \texttt{6605394d7a}.
|
||||||
|
Nicholas (\texttt{nkogut}) approved at 14:03 EDT and merged at 14:04 EDT October 28.
|
||||||
|
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/6/}{Post-merge main build 6}
|
||||||
|
passed syntax and two tests in 36.824 seconds on the merge commit and notified Gitea.
|
||||||
|
These existing Python regressions do not validate every monitoring setting. Separate
|
||||||
|
Compose/promtool, JSON, dashboard-copy and private secret-value checks support the
|
||||||
|
operational change; no gate was bypassed.
|
||||||
|
|
||||||
|
\subsection{Document Controls and Publication Boundary}
|
||||||
|
This is cumulative Assignment 7 manual version 1.9.2, with SRE after Jenkins. Hosts
|
||||||
|
includes the Grafana page and private monitoring services. Passwords contains the
|
||||||
|
team-specified \texttt{bitwarden-grafana} entry and non-revealing Discord hints. No
|
||||||
|
vault login, webhook URL, password or private key is included. Introduction, history,
|
||||||
|
glossary/acronyms, references and AI attribution are updated. Raw original screenshots
|
||||||
|
remain unchanged; the annotated incident figure is generated from recorded samples.
|
||||||
|
|
||||||
|
The documentation was reviewed and merged through
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/15}{PR 15}.
|
||||||
|
Gitea Actions run 16 successfully compiled the manual from merge commit
|
||||||
|
\path{acdd4c0a4cb285641094f7f78baf2dea6f75dff5}. Version 1.9.2 incorporates the team's
|
||||||
|
final editorial and table-layout corrections and is compiled through the same Gitea
|
||||||
|
Actions workflow. The title page, Build Identity page, footer and artifact label use
|
||||||
|
\texttt{1.9.2}; generated metadata identifies the exact source revision and run.
|
||||||
|
Retain the downloaded PDF and build manifest, verify their checksum identity, and
|
||||||
|
inspect affected pages before submission. The build identity distinguishes this
|
||||||
|
revision from the earlier version 1.9.0 publication.
|
||||||
|
|
||||||
|
Remaining operational boundaries are incomplete signed-out direct-URL testing,
|
||||||
|
earlier unresolved access exceptions, no initial planning issue, no tested monitoring
|
||||||
|
backup/restore and next-day recovery-build timing. The later successful manual build
|
||||||
|
is recorded separately from that incident's immediate recovery checks. Full-day SLO
|
||||||
|
measurement is optional; issues 12/13 remain open by design.
|
||||||
@@ -0,0 +1,118 @@
|
|||||||
|
\chapter{Secure Delivery and Rollback}
|
||||||
|
\ChapterLabel{SecureDeliveryRollback}
|
||||||
|
\section{Scope and architecture}
|
||||||
|
The stateless Startup Pricing Service uses Flask and Gunicorn. A trusted Jenkins agent runs tests, scans, image publication and Ansible; the controller schedules work and records human approval. Ansible connects by pinned SSH to the Droplet and manages separate staging and production Compose projects. Caddy terminates public HTTPS and forwards private container traffic to port 8000. The Gitea registry stores immutable images. Prometheus probes HTTPS through Blackbox Exporter; Grafana displays metrics. All services share one Droplet, so neither availability nor tenant isolation is equivalent to a multi-host deployment.
|
||||||
|
|
||||||
|
\begin{figure}[p]
|
||||||
|
\centering
|
||||||
|
\begin{tikzpicture}[x=1cm,y=1cm, every node/.style={draw,rounded corners,align=center,font=\scriptsize,inner sep=3pt}, arrow/.style={-{Stealth},thick}]
|
||||||
|
\node (client) at (0,0) {Team browser\\public HTTPS};
|
||||||
|
\node[draw,dashed,minimum width=13.6cm,minimum height=9.4cm,label={[draw=none]above:Existing single DigitalOcean Droplet}] (host) at (7,-5.6) {};
|
||||||
|
\node (proxy) at (6.9,-1.7) {Caddy container\\TLS / reverse proxy};
|
||||||
|
\node (stage) at (10.8,-3.1) {staging.myfileagent.tech\\pricing-staging :8000};
|
||||||
|
\node (prod) at (10.8,-4.4) {app.myfileagent.tech\\pricing-production :8000};
|
||||||
|
\node (git) at (2.2,-3.4) {Gitea + SQLite\\OCI registry};
|
||||||
|
\node (controller) at (5.7,-4.1) {Jenkins controller};
|
||||||
|
\node (agent) at (5.7,-5.6) {Trusted agent container\\Ansible process};
|
||||||
|
\node (docker) at (8.4,-6.5) {Host SSH account\\Docker Engine + Compose};
|
||||||
|
\node (mon) at (2.5,-7.5) {Prometheus + Grafana\\Blackbox + Node Exporter};
|
||||||
|
\node (dirs) at (10.5,-8.0) {Host deployment directories\\pricing-staging / pricing-production};
|
||||||
|
\draw[arrow] (client) -- (proxy);
|
||||||
|
\draw[arrow] (proxy) -- (stage); \draw[arrow] (proxy) -- (prod);
|
||||||
|
\draw[arrow] (controller) -- (agent); \draw[arrow] (agent) -- (docker);
|
||||||
|
\draw[arrow] (docker) -- (stage); \draw[arrow] (docker) -- (prod); \draw[arrow] (docker) -- (dirs);
|
||||||
|
\draw[arrow] (agent) -- (git); \draw[arrow] (mon.west) -- ++(-0.8,0) |- (proxy.west);
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{Actual single-host delivery: external HTTPS, private container paths, and Ansible SSH to the host. Application containers are stateless.}
|
||||||
|
\label{Fig:A8Architecture}
|
||||||
|
\end{figure}
|
||||||
|
\begin{table}[p]
|
||||||
|
\centering\footnotesize
|
||||||
|
\begin{tabularx}{\linewidth}{L{3.4cm}Y}
|
||||||
|
\toprule Component & Actual persistent volume or host bind mount \\ \midrule
|
||||||
|
Gitea / SQLite & \path{myfileagent-gitea_gitea-data} and \path{myfileagent-gitea_gitea-config} \\
|
||||||
|
Jenkins controller & \path{myfileagent-gitea_jenkins-home} \\
|
||||||
|
Caddy & \path{myfileagent-gitea_caddy-data}, \path{myfileagent-gitea_caddy-config}; \path{/home/codex/myfileagent-gitea/Caddyfile} \\
|
||||||
|
Prometheus & \path{myfileagent-monitoring_prometheus_data}; \path{/home/codex/myfileagent-gitea/assignment7-monitoring/monitoring/prometheus/prometheus.yml} \\
|
||||||
|
Grafana & \path{myfileagent-monitoring_grafana_data}; \path{/home/codex/myfileagent-gitea/assignment7-monitoring/monitoring/grafana/provisioning} \\
|
||||||
|
Blackbox / Node & \path{/home/codex/myfileagent-gitea/assignment7-monitoring/monitoring/blackbox/blackbox.yml}; host \path{/} mounted read-only for Node \\
|
||||||
|
Agent & Docker socket \path{/var/run/docker.sock}; separate agent workspace volumes; no Ansible service container \\
|
||||||
|
Applications & \path{/opt/startup/pricing-staging}, \path{/opt/startup/pricing-production}; no persistent application volume \\ \bottomrule
|
||||||
|
\end{tabularx}
|
||||||
|
\caption{Observed durable volumes and host mounts in the single-Droplet architecture. Exporters have no data volumes.}
|
||||||
|
\end{table}
|
||||||
|
The diagram is logical: the probe reaches the application through Caddy, and Ansible changes the host over SSH, not inside an application container. The agent has the Docker socket and the dedicated \texttt{a8deploy} account has passwordless root sudo; both confer effective host-administrator rights. Only authorized operators and reviewed code may use those privileges. Separate registry write and read credentials are held in Jenkins; target root Docker authentication is stored without encryption and must be restricted and removed after assessment. No credentials belong in source, screenshots or reports.
|
||||||
|
|
||||||
|
Persistent volumes retained are \path{myfileagent-gitea_gitea-data}, \path{myfileagent-gitea_gitea-config}, \path{myfileagent-gitea_jenkins-home}, \path{myfileagent-gitea_caddy-data}, \path{myfileagent-gitea_caddy-config}, \path{myfileagent-monitoring_prometheus_data}, and \path{myfileagent-monitoring_grafana_data}. Gitea uses SQLite within its existing data. The Caddyfile and monitoring configuration are host bind mounts under \path{/home/codex/myfileagent-gitea/}; Node Exporter reads the host root and Blackbox has no data volume. Ansible's application directories are \path{/opt/startup/pricing-staging} and \path{/opt/startup/pricing-production}; the pricing containers have no persistent application volume. The application ports are private. Shared proxy-network membership permits more lateral access than dedicated isolation.
|
||||||
|
|
||||||
|
\section{Build inputs and security}
|
||||||
|
On the trusted agent the recorded versions were Python 3.13.5, Git 2.47.3, Docker CLI 26.1.5, Ansible core 2.22.0 and community.docker 5.0.4; the target reported Docker 29.8.1 and Compose 5.5.1 on x86\_64. The release Dockerfile pins \path{python:3.13-alpine@sha256:7984cf56ceaddebe4fefeb75d64000b9f45d8b77b11a09b24524da6cdc3af0c8}; exact dependencies, including Flask 3.1.3 and Gunicorn 23.0.0, are in the linked requirements file. The image runs as UID 10001; Compose drops capabilities and uses a read-only root filesystem with writable temporary storage.
|
||||||
|
|
||||||
|
The release gates run unit tests, \texttt{pip-audit}, repository secret scanning and Trivy HIGH/CRITICAL image scanning. A finding, scanner error, or unavailable database blocks release unless an instructor accepts a documented, time-limited exception; false positives and unfixed findings require explicit triage, not silent suppression. Scan results are time-specific and do not prove absence of vulnerabilities. A disposable private-key fixture blocked \href{https://ci.myfileagent.tech/job/assignment8-secret-gate-demo/4/console}{secret gate \#4}; the fixture was removed. A controlled test failure blocked \href{https://ci.myfileagent.tech/job/assignment8-test-gate-demo/1/console}{test gate \#1}. The corrected audit covers all nine locked packages; the earlier validation \#9 summary has an evidence-contamination limitation and is not used as release evidence.
|
||||||
|
|
||||||
|
\section{Release traceability and evidence}
|
||||||
|
Times below are UTC on 7 November 2026. The abbreviated identifiers identify the linked full commits; the full digests are recorded in the Jenkins artifacts and handoff. The same published digest was used for each release's staging and production deployment. Both staging reruns reported \texttt{changed=0}. Human approver Gowri Das Lovely approved each restricted Jenkins input; the agent did not approve it.
|
||||||
|
\begin{longtable}{L{1.4cm}L{3.8cm}L{3.4cm}L{5.4cm}}
|
||||||
|
\toprule Release & Source and config commit & Registry digest (SHA-256 prefix) & Verified pipeline and production approval \\ \midrule\endhead
|
||||||
|
v1 & \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/commit/0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2}{\texttt{0cb5a34}} & \texttt{715a3c80d5fff431} & \href{https://ci.myfileagent.tech/job/assignment8-release/3/}{Jenkins release \#3}; approval 22:44:27; finished 22:46:08; health OK, v1, quantity 3 total 30. \\
|
||||||
|
v2 & \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/commit/ee128d18bddd1763b916b40f05829f2e769f0654}{\texttt{ee128d1}} & \texttt{2ab86894ada4c12b} & \href{https://ci.myfileagent.tech/job/assignment8-release/4/}{Jenkins release \#4}; approval 23:03:50; finished 23:05:41; health OK, v2, quantity 3 total 36. \\ \bottomrule
|
||||||
|
\end{longtable}
|
||||||
|
Full immutable registry references (the source and configuration commits are linked above):\par
|
||||||
|
\path{myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2}\par
|
||||||
|
\path{myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9}\par
|
||||||
|
Both release runs passed their tests, dependency and secret gates, syntax and image checks, and included authenticated publication and pull. Trivy 0.69.1 reported zero HIGH/CRITICAL findings in both release image reports; the dependency reports list all nine locked packages with zero known findings, and secret summaries report exit status 0. The reports record scan timestamps, but the exact vulnerability database version was not retained and cannot be reconstructed. Findings may change. \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/17}{PR \#17} covered its reviewed head; later fixes were independently reviewed and merged in \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/18}{PR \#18}. The health-timeout mitigation and v2 source were separately reviewed in \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/19}{PR \#19} and \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/20}{PR \#20}. Earlier release \#2 reached staging but failed the unchanged rerun after health-check timeouts; it did not reach production. The later successes do not establish a guaranteed fix under every load.
|
||||||
|
|
||||||
|
\subsection{Selected recorded results}
|
||||||
|
The following lines summarize results recorded in the archived Jenkins and Ansible output. Release times are UTC on 7 November 2026.
|
||||||
|
\begin{verbatim}
|
||||||
|
Release #3: Ran 3 tests; dependency audit: no known vulnerabilities
|
||||||
|
Staging v1 repeat: ok=9 changed=0 unreachable=0 failed=0
|
||||||
|
Release #4: Ran 3 tests; dependency audit: no known vulnerabilities
|
||||||
|
Staging v2 repeat: ok=9 changed=0 unreachable=0 failed=0
|
||||||
|
Staging mismatch: container pricing-staging-app-1 is unhealthy
|
||||||
|
Recovery: ok=9 changed=2 unreachable=0 failed=0
|
||||||
|
\end{verbatim}
|
||||||
|
The staging recovery excerpt is from 8 November. Full task output and the immutable release records are linked below; the recovery's two changes reflect restoration, not an unchanged rerun.
|
||||||
|
|
||||||
|
\subsection{Direct evidence and source links}
|
||||||
|
A checked, redacted \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/documentation/evidence/assignment8}{repository evidence bundle} preserves the selected reports, release records, recovery responses, checksums and excerpts. The bundle includes a separate timestamped current-state check; it is not substituted for historical data. The v1 and v2 runs retain redacted evidence: dependency reports (\href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/dependency-audit.json}{v1}, \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/dependency-audit.json}{v2}), image scans (\href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/image-scan.json}{v1}, \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/image-scan.json}{v2}), secret summaries (\href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/secret-scan-summary.json}{v1}, \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/secret-scan-summary.json}{v2}), and target pulls (\href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/target-pull.txt}{v1}, \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/target-pull.txt}{v2}). The unchanged staging reruns are linked for \href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/staging-second-run.txt}{v1} and \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/staging-second-run.txt}{v2}; each reported nine tasks OK, zero changes and zero failures.
|
||||||
|
|
||||||
|
Release records: \href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/releases/generated/v1-staging.yml}{v1 staging}, \href{https://ci.myfileagent.tech/job/assignment8-release/3/artifact/releases/generated/v1-production.yml}{v1 production}, \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/releases/generated/v2-staging.yml}{v2 staging} and \href{https://ci.myfileagent.tech/job/assignment8-release/4/artifact/releases/generated/v2-production.yml}{v2 production}. Each release's console contains the checked Ansible health, identity and price assertions. Approval events occurred at 22:44:27 and 23:03:50 UTC; the associated approval files were written at 22:44:31 and 23:03:54 respectively.
|
||||||
|
|
||||||
|
The reviewed \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2/secure-delivery/v1}{v1 source, tests, Dockerfile and lockfile} and \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/ee128d18bddd1763b916b40f05829f2e769f0654/secure-delivery/v1}{v2 source, tests, Dockerfile and lockfile} are distinct revisions of the same application. The \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/ee128d18bddd1763b916b40f05829f2e769f0654/secure-delivery/Jenkinsfile.release.draft}{reviewed release pipeline}, \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/ee128d18bddd1763b916b40f05829f2e769f0654/secure-delivery/ansible}{inventory, playbook and template}, and \href{https://ci.myfileagent.tech/job/assignment8-agent-check/2/console}{agent version check} complete the implementation links. Despite its historical filename, the linked release pipeline was executed in releases \#3 and \#4.
|
||||||
|
|
||||||
|
\section{Recovery exercises and monitoring}
|
||||||
|
\href{https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/}{Rollback \#1} checked healthy production v2 and restored the matching reviewed v1 configuration and digest. Gowri approved at 23:12:50; Ansible began at 23:13:01 and verified v1 at 23:14:37. HTTP samples observed 502 from 23:13:49 through 23:13:55, a timeout at 23:13:57 and 200 at 23:14:01. Samples bound observations, not exact interruption duration. The archived \href{https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/after-identity.json}{identity}, \href{https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/after-health.json}{health}, \href{https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/after-price.json}{price} and \href{https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/availability-samples.txt}{samples} show v1, the full v1 commit and total 30.
|
||||||
|
|
||||||
|
In staging only, configuration commit \texttt{c0cdd915} bound Gunicorn to 8001 while its image health check remained on 8000. \href{https://ci.myfileagent.tech/job/assignment8-staging-failure/1/}{Failure run \#1} stopped after Compose reported unhealthy at 23:21 on 7 November. A session interruption delayed recovery overnight. \href{https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/}{Recovery run \#1} restored reviewed v2 configuration and digest starting 15:54:48 on 8 November; Ansible verified recovery at 15:56:45. Archived staging \href{https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/health.json}{health}, \href{https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/identity.json}{identity} and \href{https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/price.json}{price} confirmed v2/36. A separate current HTTPS observation at 16:29:04 UTC on 8 November showed production v1/30 and staging v2/36; it does not replace earlier release evidence. There was no continuous availability measurement for the whole staging interval.
|
||||||
|
|
||||||
|
On 8 November at 16:01:05, the production \url{https://app.myfileagent.tech/health} target was added to the existing HTTPS Blackbox job; Gitea, Jenkins and host metrics were retained. Prometheus accepted the configuration and reported all three HTTPS \texttt{probe\_success} values as 1 afterward. The provisioned Grafana dashboard displayed the production probe with latest value 1 when checked on 8 November. Since the production probe was added after the promotions and rollback, it cannot establish their historical availability or alert behavior. A 30-second scrape may miss a short interruption, and a status probe cannot validate price or source identity.
|
||||||
|
|
||||||
|
\subsection{Release and recovery screenshots}
|
||||||
|
The following images show the Jenkins records after the events. Captions identify the affected environment, release and event time in UTC; the images are not claimed to have been captured during the events. The archived logs and release records linked above contain the detailed results.
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\textwidth]{hw8_images/release-v1.jpg}
|
||||||
|
\caption{Staging and production, v1: Jenkins release \#3 succeeded on 7 November 2026; production verification completed at 22:46:08 UTC. The run retained approval, scan, digest and staging records.}\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\textwidth]{hw8_images/release-v2.jpg}
|
||||||
|
\caption{Staging and production, v2: Jenkins release \#4 succeeded on 7 November 2026; production verification completed at 23:05:41 UTC. The recorded revision and release artifacts appear in the run.}\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\textwidth]{hw8_images/rollback.jpg}
|
||||||
|
\caption{Production, rollback from v2 to v1: Jenkins rollback \#1 succeeded; Ansible verified the restored release at 23:14:37 UTC on 7 November 2026. Before/after responses and interruption samples are archived.}\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\textwidth]{hw8_images/staging-failure.jpg}
|
||||||
|
\caption{Staging, v2 image with deliberate port-mismatch configuration: Jenkins failure \#1 stopped at approximately 23:21 UTC on 7 November 2026. The archived Ansible log records the unhealthy container.}\end{figure}
|
||||||
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\textwidth]{hw8_images/staging-recovery.jpg}
|
||||||
|
\caption{Staging, restored v2: Jenkins recovery \#1 succeeded; Ansible verified recovery at 15:56:45 UTC on 8 November 2026. The health, identity and price responses are archived.}\end{figure}
|
||||||
|
\FloatBarrier
|
||||||
|
\section{Operations runbooks}
|
||||||
|
\textbf{Release:} review the exact source and configuration, input locks, security reports, staging behavior and immutable digest. Run the release job on reviewed main; verify health, identity and price, then the unchanged Ansible rerun. An authorized human reviews and approves the restricted Jenkins input before production. Promote the same digest and verify again; record the approver, times and artifacts.
|
||||||
|
|
||||||
|
\textbf{Failed staging deployment:} stop promotion, preserve logs and release metadata, inspect the health failure, restore the last reviewed configuration and corresponding image record, run Ansible and verify health, identity and price. The playbook does not automatically roll back.
|
||||||
|
|
||||||
|
\textbf{Production rollback:} an authorized human decides and approves a rollback; check the current release, restore the reviewed earlier image \emph{and} matching configuration, run Ansible, verify health, source and price, and record start, recovery and sampled interruption. A real database migration, external payment, or incompatible stored state may make image-only rollback unsafe. Prefer an expand-and-contract migration compatible with both versions; this stateless exercise did not test a database rollback.
|
||||||
|
|
||||||
|
\textbf{Cleanup:} after grading and only when retention permits, remove application projects, their Caddy routes, test DNS and dedicated credentials; retain earlier services, their volumes and required evidence. Do not prune Docker or use \texttt{compose down -v}. The single Droplet has shared CPU, memory and failure domain; earlier health-check timeouts illustrate that capacity matters.
|
||||||
|
|
||||||
|
Source, tests, release records and automation are linked in Section 13.3. Jenkins retains the supporting run logs and artifacts.
|
||||||
@@ -0,0 +1,681 @@
|
|||||||
|
\chapter{Support Ticket Management with Zammad}
|
||||||
|
\ChapterLabel{SupportTicketManagement}
|
||||||
|
\index{Zammad}\index{support tickets}\index{least privilege}
|
||||||
|
|
||||||
|
\section{Scope, source identity, and evidence boundary}
|
||||||
|
This chapter implements Chapter 7 of the instructor's
|
||||||
|
\path{dosManual-V1.53-1.pdf} as team Assignment 9. Chapter numbers in this
|
||||||
|
cumulative team manual differ from the instruction manual. The work extends
|
||||||
|
the existing Droplet, Gitea, Jenkins, Caddy, monitoring and pricing deployments.
|
||||||
|
It uses the official Zammad Compose stack and published images. Optional mail,
|
||||||
|
SSO, alert-to-ticket automation, new exporters and new pipelines are excluded.
|
||||||
|
All ticket customers and correspondence are synthetic.
|
||||||
|
|
||||||
|
The starting documentation is branch
|
||||||
|
\path{assignment8/evidence-documentation}, commit
|
||||||
|
\path{6e2873cc6bb476dab5ae680efb7ff6b997579081}, version 1.10.1,
|
||||||
|
which was newer than main. The isolated implementation worktree is
|
||||||
|
\path{/home/codex/dos-support/team-repository}, branch
|
||||||
|
\path{assignment9/ticket-management}. Initial sanitized implementation commit
|
||||||
|
\texttt{114fb4b} retains the previous manual and adds support configuration and
|
||||||
|
evidence. Local source is also saved under \path{HW9/team-repository}.
|
||||||
|
Remote branch publication, independent review and the final Jenkins PDF build
|
||||||
|
are separate verification steps. The user explicitly instructed that no PDF
|
||||||
|
be compiled during this source-authoring stage.
|
||||||
|
|
||||||
|
\begin{devopsNote}[What the evidence establishes]
|
||||||
|
HTTPS login reachability, API account and ticket operations, customer isolation,
|
||||||
|
TA group access, a generated backup, and an nginx-only restart test were
|
||||||
|
executed. A public login probe does not establish authenticated workflow
|
||||||
|
correctness. API checks do not substitute for separate customer and TA browser
|
||||||
|
checks. Browser screenshots are added only after actual observations; the
|
||||||
|
remaining evidence gaps are listed at the end of this chapter.
|
||||||
|
\end{devopsNote}
|
||||||
|
|
||||||
|
\section{1. Baseline, capacity and preservation of earlier work}
|
||||||
|
The initial host had a 24 GB root filesystem with 22 GB used (94\%) and
|
||||||
|
1.6 GB available. The full upstream stack was downloaded and started; startup
|
||||||
|
caused severe resource contention and repeated Elasticsearch exits with code
|
||||||
|
137. That exit code alone does not identify the cause. The team subsequently
|
||||||
|
upgraded the Droplet. After reboot, measurements showed one CPU, approximately
|
||||||
|
2 GB physical RAM, 2 GB swap, and a 48 GB root filesystem with 26 GB available
|
||||||
|
(46\% used). Active swap traffic and zero idle CPU showed that startup was
|
||||||
|
competing with the existing services. Initial Rails migrations and seeding
|
||||||
|
eventually exited successfully with code zero.
|
||||||
|
|
||||||
|
The instructor's capacity baseline was not captured completely before the first
|
||||||
|
installation. The user initially deferred capacity work, later requested
|
||||||
|
resource diagnosis, and chose a small proof of concept with explicit limits.
|
||||||
|
The team supplied the upgraded plan at documentation review: DigitalOcean
|
||||||
|
Basic, 1 vCPU, 2 GB RAM, 50 GB nominal disk, at \$12/month. The observed 48 GB
|
||||||
|
root filesystem is distinct from the plan's advertised disk capacity. This
|
||||||
|
records the user's plan/price statement, not a new billing-console audit or a
|
||||||
|
claim that alternatives were compared before the resize. The small deployment is a tested lab configuration,
|
||||||
|
not a claim of compliance with Zammad's general production sizing guidance.
|
||||||
|
|
||||||
|
The existing services and their volumes were retained. Initial HTTPS checks
|
||||||
|
returned Gitea 200, Jenkins 403 (access-controlled response), Grafana 302,
|
||||||
|
production health \texttt{v1/ok}, and staging health \texttt{v2/ok}.
|
||||||
|
Prometheus was found stopped after the host restart. It was restarted; a
|
||||||
|
premature HUP during startup caused exit 129, after which it was restarted
|
||||||
|
again and its readiness endpoint was checked before using its data. This is
|
||||||
|
recorded separately from the controlled Zammad outage.
|
||||||
|
|
||||||
|
The post-installation audit captures all six prescribed command outputs:
|
||||||
|
Docker version, Compose version, \texttt{free -h}, \texttt{df -h}, bounded
|
||||||
|
\texttt{docker stats --no-stream}, and Docker network inventory, in
|
||||||
|
\path{support/evidence/chapter7-final-audit.json}. These are explicitly
|
||||||
|
post-install measurements, not a reconstructed original six-command baseline.
|
||||||
|
Historical Grafana comparisons provide retained before/after observations
|
||||||
|
with their collection gaps visible.
|
||||||
|
|
||||||
|
\paragraph{Reuse of the prior assignment's dated baseline.}
|
||||||
|
The team confirms that no system changes occurred between completion of the
|
||||||
|
preceding assignment and starting this assignment. Existing evidence can
|
||||||
|
therefore support continuity of the recorded configuration, while retaining
|
||||||
|
its original dates. In particular,
|
||||||
|
\path{documentation/evidence/assignment7/documentation-host-comparison-2026-10-28.json}
|
||||||
|
records one CPU, Docker 29.8.1, Compose v5.5.1, 1,008,177,152 bytes total RAM,
|
||||||
|
1,073,737,728 bytes swap, and a 24,883,167,232-byte root filesystem.
|
||||||
|
Its point-in-time available RAM was 217,042,944 bytes and root available
|
||||||
|
space was 12,422,406,144 bytes. These dynamic values are October 28 samples,
|
||||||
|
not measurements taken immediately before the November installation; an
|
||||||
|
unchanged configuration does not imply unchanged utilization or disk use.
|
||||||
|
The retained November 18 Grafana screenshots add contemporaneous whole-host
|
||||||
|
before/startup/after observations, and the recorded pre-resize versus
|
||||||
|
post-resize capacities support the upgrade comparison. These sources are
|
||||||
|
used together rather than declaring all baseline evidence absent.
|
||||||
|
The remaining historical gap is the complete, contemporaneous six-command
|
||||||
|
capture required by Step 1, especially per-container statistics and network
|
||||||
|
inventory. A later snapshot or a stopped-Zammad test cannot recreate those
|
||||||
|
original observations. The plan selected and recurring cost are documented;
|
||||||
|
a pre-resize comparison of alternative paid plans is not established by
|
||||||
|
capacity measurements alone.
|
||||||
|
|
||||||
|
\section{2. Official deployment revision and images}
|
||||||
|
The separate deployment directory is
|
||||||
|
\path{/home/codex/dos-support/zammad-docker-compose}. The official repository
|
||||||
|
\url{https://github.com/zammad/zammad-docker-compose} was cloned and detached at
|
||||||
|
\path{cb5ab9c805310515f4a55e70e94f9b4a28fa24a5}.
|
||||||
|
The official deployment guide and pinned repository are the source references
|
||||||
|
for the supplied stack, scenarios and environment variables
|
||||||
|
\cite{ZammadDockerA9,ZammadPinnedComposeA9}.
|
||||||
|
Docker Compose reported version 5.5.1 and accepted the external-network
|
||||||
|
scenario's \texttt{!reset} syntax. The kernel's existing
|
||||||
|
\texttt{vm.max\_map\_count} was 1048576; no privileged sysctl change was needed.
|
||||||
|
|
||||||
|
\begin{longtable}{L{4.0cm}L{8.8cm}}
|
||||||
|
\caption{Official selected image inventory}\label{Table:ZammadImages}\\
|
||||||
|
\toprule Service & Published image tag\\\midrule\endhead
|
||||||
|
Rails, nginx, initialization, scheduler, websocket, backup &
|
||||||
|
\path{ghcr.io/zammad/zammad:7.2.3-0008}\\
|
||||||
|
Elasticsearch & \path{elasticsearch:9.5.5}\\
|
||||||
|
PostgreSQL & \path{postgres:17.12-alpine}\\
|
||||||
|
Redis & \path{redis:8.10.3-alpine}\\
|
||||||
|
Memcached & \path{memcached:1.6.45-alpine}\\\bottomrule
|
||||||
|
\end{longtable}
|
||||||
|
Ten containers share five image tags; a new custom help-desk image was not
|
||||||
|
built. Captured local image IDs, resource caps, service state, networks and
|
||||||
|
volume mounts are in \path{support/evidence/deployment-manifest.json}.
|
||||||
|
Local image IDs are not represented as registry manifest digests.
|
||||||
|
|
||||||
|
\section{3. Private networks, proxy and minimal settings}
|
||||||
|
\begin{figure}[htbp]
|
||||||
|
\centering
|
||||||
|
\begin{tikzpicture}[node distance=7mm,
|
||||||
|
every node/.style={draw,rounded corners,align=center,font=\footnotesize,text width=3.7cm,inner sep=4pt},
|
||||||
|
arrow/.style={-{Stealth},thick}]
|
||||||
|
\node (browser) {Customer / student / TA browser};
|
||||||
|
\node[below=of browser] (proxy) {Existing Caddy :443\\TLS and HTTP redirect};
|
||||||
|
\node[below=of proxy] (nginx) {Zammad nginx :8080\\existing edge + support network};
|
||||||
|
\node[below=of nginx] (app) {Rails :3000 / websocket\\scheduler / one-shot init};
|
||||||
|
\node[left=of app] (old) {Retained Gitea / Jenkins\\pricing staging + production};
|
||||||
|
\node[right=of app] (data) {PostgreSQL :5432\\Redis :6379 / Memcached :11211\\Elasticsearch :9200};
|
||||||
|
\node[below=of app] (vol) {Named storage / database / search\\Redis / backup volumes};
|
||||||
|
\node[right=of vol] (backup) {Official backup container\\private project network};
|
||||||
|
\node[left=of vol] (monitor) {Existing Prometheus + Blackbox\\Grafana + Node Exporter};
|
||||||
|
\draw[arrow] (browser)--(proxy);
|
||||||
|
\draw[arrow] (proxy)--node[right,draw=none,text width=2cm]{private HTTP}(nginx);
|
||||||
|
\draw[arrow] (nginx)--(app);
|
||||||
|
\draw[arrow] (app)--(data);
|
||||||
|
\draw[arrow] (app)--(vol);
|
||||||
|
\draw[arrow] (backup)--(vol);
|
||||||
|
\draw[arrow,dashed] (monitor) to[bend left=35] (proxy);
|
||||||
|
\draw[arrow] (proxy) to[bend right=25] (old);
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{Actual logical service and storage boundaries. Only Zammad nginx
|
||||||
|
joins \texttt{myfileagent-gitea\_edge}; all dependencies remain on
|
||||||
|
\texttt{dos-support\_default}. Dashed line is the HTTPS probe through Caddy.
|
||||||
|
Grouped boxes represent multiple containers, not combined processes.}
|
||||||
|
\label{Figure:ZammadArchitecture}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
The retained official scenario removes nginx's host port with
|
||||||
|
\texttt{ports: !reset []}. Resolved Compose validation confirmed no published
|
||||||
|
host port for any Zammad service. The actual external network is
|
||||||
|
\path{myfileagent-gitea_edge}; the project network is
|
||||||
|
\path{dos-support_default}. The non-secret example is
|
||||||
|
\path{support/.env.example}; the real \path{.env} is outside the team repository,
|
||||||
|
mode 600. Distinct generated application database, administrative database and
|
||||||
|
search credentials replace defaults. PostgreSQL's application and superuser
|
||||||
|
roles are separate. Search security remains as supplied upstream on the
|
||||||
|
private network; a generated search password variable is not a claim that
|
||||||
|
Elasticsearch authentication was enabled.
|
||||||
|
|
||||||
|
\begin{verbatim}
|
||||||
|
COMPOSE_PROJECT_NAME=dos-support
|
||||||
|
COMPOSE_FILE=docker-compose.yml:scenarios/add-external-network-to-nginx.yml:
|
||||||
|
scenarios/apply-resource-limits.yml:local/minimal.yml
|
||||||
|
ZAMMAD_NGINX_EXTERNAL_NETWORK=myfileagent-gitea_edge
|
||||||
|
ZAMMAD_FQDN=support.myfileagent.tech
|
||||||
|
ZAMMAD_HTTP_TYPE=https
|
||||||
|
NGINX_SERVER_SCHEME=https
|
||||||
|
ELASTICSEARCH_JAVA_OPTS=-Xms128m -Xmx128m
|
||||||
|
ZAMMAD_WEB_CONCURRENCY=0
|
||||||
|
\end{verbatim}
|
||||||
|
The displayed Compose file list wraps for readability; the real environment
|
||||||
|
stores it on one line. The upstream HTTPS scheme is retained even though
|
||||||
|
Caddy's upstream connection uses HTTP, to preserve secure cookies and CSRF
|
||||||
|
behavior. Client-IP attribution was not customized; no broad trusted-proxy
|
||||||
|
range is asserted. API setup follows the application's normal CSRF tokens and
|
||||||
|
session cookies; security checks were not disabled.
|
||||||
|
|
||||||
|
\subsection{Small proof-of-concept limits}
|
||||||
|
\begin{longtable}{L{4.2cm}L{2.1cm}L{2.0cm}L{4.5cm}}
|
||||||
|
\caption{Saved per-container ceilings, not preallocated reservations}\label{Table:ZammadLimits}\\
|
||||||
|
\toprule Service & RAM cap & CPU cap & Additional setting\\\midrule\endhead
|
||||||
|
Elasticsearch & 384 MiB & 0.35 & Heap 128 MiB initial/max\\
|
||||||
|
Rails & 384 MiB & 0.40 & Single Puma process; 1--3 threads\\
|
||||||
|
Scheduler & 384 MiB & 0.25 & Required services use shared-process threads; unused AI/incoming-mail workers disabled\\
|
||||||
|
Websocket & 192 MiB & 0.15 & Official command retained\\
|
||||||
|
Backup & 192 MiB & 0.15 & Startup backup enabled\\
|
||||||
|
PostgreSQL & 128 MiB & 0.25 & Existing initialized volume\\
|
||||||
|
Redis & 48 MiB & 0.10 & 16 MB data maximum; no eviction\\
|
||||||
|
Memcached & 32 MiB & 0.10 & 8 MB cache; one thread, 64 connections\\
|
||||||
|
nginx & 64 MiB & 0.15 & No published host port\\
|
||||||
|
Initialization & 512 MiB & 0.35 & Saved limit for future runs; completed prior to this limit\\\bottomrule
|
||||||
|
\end{longtable}
|
||||||
|
These are experimental limits for kilobytes of demonstration data. Heap size
|
||||||
|
is only part of Elasticsearch's total usage. Its upstream 1 GB heap was first
|
||||||
|
reduced to 256 MB, then 128 MB. At the later checkpoint the constrained
|
||||||
|
services reported zero restarts and Rails was healthy. Search startup was
|
||||||
|
slow and emitted garbage-collection overhead messages; long-term stability
|
||||||
|
is not inferred from a short successful workflow. The sum of service ceilings
|
||||||
|
is not a promise that the complete host can sustain every ceiling at once.
|
||||||
|
If a required service fails, preserve logs and raise only the demonstrated
|
||||||
|
limiting setting. Do not silence failures or remove the required search or
|
||||||
|
backup services to claim success.
|
||||||
|
|
||||||
|
\paragraph{November 20 browser-test correction.}
|
||||||
|
Although the container remained running, a later actual browser ticket-create
|
||||||
|
test could not find the existing synthetic Customer. The user search index
|
||||||
|
contained only one record. Scheduler process inspection showed that the
|
||||||
|
general delayed-job and scheduled-job workers were absent; its cgroup counters
|
||||||
|
recorded three killed processes under the original 384 MiB ceiling.
|
||||||
|
An initial 512 MiB scheduler trial still lost the delayed-job worker and
|
||||||
|
recorded one killed process. Inspection of the matching upstream
|
||||||
|
\path{lib/background_services/service_config.rb} established that a worker
|
||||||
|
count of zero selects shared-process threading, whereas one forks a separate
|
||||||
|
Rails process. The earlier attempt to minimize workers by setting each to one
|
||||||
|
was therefore counterproductive. Required session-management, scheduled-job
|
||||||
|
and delayed-job services were corrected to zero-worker threaded mode, the
|
||||||
|
scheduler ceiling was restored to 384 MiB, and unused AI/incoming-mail workers
|
||||||
|
were disabled. The Elasticsearch heap remained 128 MiB.
|
||||||
|
This records a functional failure that API CRUD and container-running checks
|
||||||
|
had not detected; the completed browser test is the acceptance check for the
|
||||||
|
correction, not merely a successful container restart.
|
||||||
|
|
||||||
|
\section{4. Validation, initialization and startup operations}
|
||||||
|
Run commands in the deployment directory so the same private environment and
|
||||||
|
all scenarios are loaded:
|
||||||
|
\begin{verbatim}
|
||||||
|
cd /home/codex/dos-support/zammad-docker-compose
|
||||||
|
docker compose config --quiet
|
||||||
|
docker compose config --services
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
|
docker compose ps -a
|
||||||
|
docker compose logs --tail=50 zammad-init zammad-railsserver zammad-nginx
|
||||||
|
\end{verbatim}
|
||||||
|
Do not publish resolved Compose output containing secrets. The observed
|
||||||
|
one-shot initialization container exited zero after migrations, seeds and
|
||||||
|
initial index setup. It is expected to be stopped, not continuously running.
|
||||||
|
During initial contention the waiting Rails, scheduler, websocket and backup
|
||||||
|
containers were paused so initialization could finish. They were later
|
||||||
|
recreated with the saved small settings and restarted. For a constrained
|
||||||
|
restart, first bring up PostgreSQL, Redis, Memcached and Elasticsearch, then
|
||||||
|
Rails, then nginx, websocket, scheduler and backup. Check actual readiness,
|
||||||
|
not just container state. Puma's zero-worker mode means one process; an early
|
||||||
|
saved value of one was corrected before this constrained deployment.
|
||||||
|
|
||||||
|
\section{5. DNS, HTTPS and certificate verification}
|
||||||
|
\url{https://support.myfileagent.tech/} resolves to the existing Droplet
|
||||||
|
\texttt{142.93.193.110}. A new hostname route was appended to the existing
|
||||||
|
Caddyfile; all prior host routes were preserved:
|
||||||
|
\begin{verbatim}
|
||||||
|
support.myfileagent.tech {
|
||||||
|
reverse_proxy zammad-nginx:8080
|
||||||
|
}
|
||||||
|
\end{verbatim}
|
||||||
|
The original is retained as \path{Caddyfile.before-assignment9}. Caddy
|
||||||
|
validation succeeded before reload. Normal HTTPS requests returned 200
|
||||||
|
without bypassing certificate validation. The ChatGPT browser displayed the
|
||||||
|
actual first-run wizard and later login page. Caddy provides WebSocket
|
||||||
|
forwarding; Zammad's websocket service remains in the official stack.
|
||||||
|
The final observation at 20:45:47 UTC on November 18 returned HTTP 200 for
|
||||||
|
support, Gitea login, Jenkins login, Grafana login, production health and
|
||||||
|
staging health. HTTP support access followed a redirect to HTTPS. The trusted
|
||||||
|
certificate identifies support.myfileagent.tech, issuer Let's Encrypt YE1,
|
||||||
|
valid November 18, 2026 at 19:20:36 UTC through February 16, 2027 at
|
||||||
|
19:20:35 UTC. Default trust-chain and hostname verification remained enabled.
|
||||||
|
Evidence: \path{support/evidence/final-observations.json}.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.64\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/support-login.png}
|
||||||
|
\caption{Actual support HTTPS login page after initialization and account setup.
|
||||||
|
No password fields are populated in this screenshot. A login page alone does
|
||||||
|
not establish successful authenticated access.}\label{Figure:ZammadLogin}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
\section{6. Firewall and exposure checks}
|
||||||
|
External TCP connection attempts from the Windows workstation could not reach
|
||||||
|
\texttt{142.93.193.110} on 8080, 5432, 9200, 6379 or 11211. These are
|
||||||
|
observations from that source and time, not a universal connectivity proof.
|
||||||
|
The resolved Compose configuration publishes none of those Zammad ports.
|
||||||
|
Published-port avoidance is independently important because Docker networking
|
||||||
|
can bypass assumptions about host firewall rules.
|
||||||
|
|
||||||
|
Earlier team evidence recorded a DigitalOcean Cloud Firewall permitting
|
||||||
|
22/80/443, UFW inactive and IPv6 disabled. Those historical observations are
|
||||||
|
not relabeled as a new post-upgrade firewall audit. A current authenticated
|
||||||
|
DigitalOcean inspection now confirms the cloud firewall and attachment;
|
||||||
|
the privileged host audit was subsequently completed on November 20. The earlier Gitea foundation chapter records an
|
||||||
|
instructor-cleared exception allowing key-only SSH from changing source
|
||||||
|
addresses. The team explicitly carries that policy forward; no SSH source-IP
|
||||||
|
restriction was requested or applied in this assignment. Verify the actual
|
||||||
|
key-only controls and retain that exception rather than claiming IP filtering.
|
||||||
|
The final
|
||||||
|
observation found no support AAAA answer and no global IPv6 interface address;
|
||||||
|
listeners on \texttt{[::]} alone do not establish public IPv6 access.
|
||||||
|
The original unprivileged UFW attempt failed because sudo required a password;
|
||||||
|
that historical failure remains in \path{chapter7-final-audit.json}.
|
||||||
|
The team then authenticated the read-only audit through SSH. Its raw output is
|
||||||
|
\path{support/evidence/host-security-audit.txt}, captured November 20 at
|
||||||
|
20:33:14 EST (November 21, 01:33:14 UTC). UFW is inactive. IPv4 INPUT and
|
||||||
|
OUTPUT policies are ACCEPT, FORWARD is DROP, with Docker-managed bridge
|
||||||
|
and forwarding chains. IPv6 base policies are ACCEPT. Therefore the host
|
||||||
|
firewall is not an independent inbound port allowlist; the attached cloud
|
||||||
|
firewall supplies that restriction. Docker ACCEPT entries for private
|
||||||
|
container ports do not alone prove public exposure; published bindings and
|
||||||
|
external checks are recorded separately below.
|
||||||
|
Effective \texttt{sshd -T} output reports
|
||||||
|
\texttt{pubkeyauthentication yes}, \texttt{passwordauthentication no},
|
||||||
|
\texttt{kbdinteractiveauthentication no}, and
|
||||||
|
\texttt{permitemptypasswords no}. Root login is
|
||||||
|
\texttt{without-password} (keys permitted), not disabled. No rules or SSH
|
||||||
|
settings were changed during this audit.
|
||||||
|
The renewed external checks are in
|
||||||
|
\path{support/evidence/firewall-exposure-recheck.json}: HTTPS returned 200,
|
||||||
|
all five internal TCP ports timed out from the external workstation, none of
|
||||||
|
the five Zammad frontend/dependency containers published a host port, and
|
||||||
|
only nginx joined the existing proxy network. The instruction requires
|
||||||
|
checking both cloud controls and host/container networking; it does not
|
||||||
|
mandate a particular screenshot format. One current rules/attachment capture
|
||||||
|
from the DigitalOcean console or an equivalent authenticated API export,
|
||||||
|
combined with these command results, is sufficient evidence of the two layers.
|
||||||
|
The authenticated console showed
|
||||||
|
\texttt{ssw590-group7-gitea-firewall}, six rules and one attached Droplet:
|
||||||
|
\texttt{ssw590-group7-droplet}, described as 2 GB / 50 GB / NYC1. Its only
|
||||||
|
inbound allowances are TCP 22, 80 and 443 from all IPv4/IPv6 sources; other
|
||||||
|
inbound traffic is blocked. Outbound ICMP, all TCP and all UDP remain allowed.
|
||||||
|
No internal Zammad port is allowed. No cloud rule or attachment issue was
|
||||||
|
found relative to the recorded policy and SSH exception; nothing was changed.
|
||||||
|
Structured evidence is \path{support/evidence/digitalocean-firewall-verification.json}.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.85\linewidth,height=.82\textheight,keepaspectratio]{hw9_images/digitalocean-firewall-rules-full.png}
|
||||||
|
\caption{Actual complete DigitalOcean firewall rule capture, November 18.
|
||||||
|
The original PNG can be zoomed to inspect all inbound and outbound rules.}
|
||||||
|
\label{Figure:ZammadCloudFirewallRules}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.70\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/digitalocean-firewall-attachment.png}
|
||||||
|
\caption{Actual firewall attachment to the upgraded team Droplet. This is
|
||||||
|
the same firewall whose complete rules are captured in the preceding figure.}
|
||||||
|
\label{Figure:ZammadCloudFirewallAttachment}\end{figure}
|
||||||
|
Do not add public rules for Zammad dependencies or monitoring ports. Keep
|
||||||
|
80 only for the existing redirect/certificate mechanism and HTTPS on 443.
|
||||||
|
|
||||||
|
\section{7. Accounts, ticket workflow and least privilege}
|
||||||
|
The created local accounts are \texttt{startup.admin}, \texttt{student.agent},
|
||||||
|
\texttt{ta.agent}, \texttt{demo.customer}, and \texttt{other.customer}; all
|
||||||
|
use synthetic \texttt{example.test} email identities. TA Agent has only the
|
||||||
|
Agent role and full ticket permissions in \texttt{Startup Support}, sufficient
|
||||||
|
for create, assign, reply and close; it has no Admin role. Public account
|
||||||
|
creation was disabled. No mail channel, external notification or real customer
|
||||||
|
address was configured.
|
||||||
|
|
||||||
|
\begin{longtable}{L{1.6cm}L{5.1cm}L{6.4cm}}
|
||||||
|
\caption{Synthetic ticket examples and observed workflow}\label{Table:ZammadTickets}\\
|
||||||
|
\toprule Number & Example & Observed result\\\midrule\endhead
|
||||||
|
71002 & Portal access question & Open/unassigned; Demo Customer; normal priority.\\
|
||||||
|
71003 & Pricing investigation & Open, Student Agent owner, Demo Customer, normal priority; internal note and public reply.\\
|
||||||
|
71004 & Support HTTPS configuration & Closed, Student Agent owner, Demo Customer, normal priority; resolution and issue 22 link.\\
|
||||||
|
71005 & Second customer's private request & Access denied when requested as the first customer.\\
|
||||||
|
71006 & TA permissions verification & TA created, assigned to self, replied, and closed using its Agent account.\\\bottomrule
|
||||||
|
\end{longtable}
|
||||||
|
The customer API view of ticket 71003 excluded the internal marker
|
||||||
|
\texttt{INTERNAL-DEMO-NOTE}. Requesting ticket 71005 as the other customer
|
||||||
|
returned access denial. TA authentication and reading ticket 71003 succeeded;
|
||||||
|
its role list contained only Agent. TA ticket 71006 exercised create, own,
|
||||||
|
reply and close. Machine-readable results are in
|
||||||
|
\path{support/evidence/workflow-verification.json},
|
||||||
|
\path{ticket-evidence.json} and \path{account-ids.json} in the same directory.
|
||||||
|
Separate browser checks authenticated as TA Agent and displayed ticket 71004
|
||||||
|
with its issue link and ticket 71003 with its internal note. After signing
|
||||||
|
out, the browser authenticated as demo.customer. Its overview showed its own
|
||||||
|
tickets, ticket 71003 showed the public reply without the internal note,
|
||||||
|
and opening ticket 71005 displayed ``You are not authorized to open this
|
||||||
|
Ticket.'' TA CRUD was tested through the API, distinct from browser login/read.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.47\linewidth,height=.65\textheight,keepaspectratio]{hw9_images/ta-internal-note.png}\hfill
|
||||||
|
\includegraphics[width=.47\linewidth,height=.65\textheight,keepaspectratio]{hw9_images/customer-public-reply.png}
|
||||||
|
\caption{Actual ticket 71003 browser views: TA can see the internal note
|
||||||
|
(left); the customer sees the request and public Agent reply (right).}
|
||||||
|
\label{Figure:ZammadNoteVisibility}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.47\linewidth,height=.62\textheight,keepaspectratio]{hw9_images/customer-ticket-list.png}\hfill
|
||||||
|
\includegraphics[width=.47\linewidth,height=.62\textheight,keepaspectratio]{hw9_images/customer-other-ticket-denied.png}
|
||||||
|
\caption{Customer overview with open/closed examples (left), and explicit
|
||||||
|
denial for the other customer's ticket 71005 (right).}
|
||||||
|
\label{Figure:ZammadCustomerIsolation}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.68\linewidth,height=.68\textheight,keepaspectratio]{hw9_images/ta-resolved-ticket.png}
|
||||||
|
\caption{Authenticated TA Agent view of the resolved ticket and its clickable
|
||||||
|
engineering issue link, without administrator access.}
|
||||||
|
\label{Figure:ZammadTAResolved}\end{figure}
|
||||||
|
|
||||||
|
\subsection{Private TA access and evaluation checklist}
|
||||||
|
The November 20 administrator browser inspection opened TA Agent's existing
|
||||||
|
profile read-only: Agent selected, Admin and Customer unchecked, Startup
|
||||||
|
Support Full permission, and active status. The dialog was canceled without
|
||||||
|
submission. The administrator signs in using
|
||||||
|
\texttt{startup.admin@example.test}; the originally generated
|
||||||
|
\texttt{startup.admin} identifier was not accepted by the login form.
|
||||||
|
Use the email identifier with the existing private password; no credential
|
||||||
|
was reset or replaced.
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.47\linewidth]{hw9_images/ta-agent-profile.png}\hfill
|
||||||
|
\includegraphics[width=.47\linewidth]{hw9_images/ta-agent-role-group.png}
|
||||||
|
\caption{Read-only TA Agent identity (left) and Agent-only role with Full
|
||||||
|
Startup Support ticket permissions (right). No access settings were changed.}
|
||||||
|
\label{Figure:ZammadTARoleGroup}\end{figure}
|
||||||
|
|
||||||
|
Evaluation URL: \url{https://support.myfileagent.tech/}. Login name:
|
||||||
|
\texttt{ta.agent}; display name: TA Agent. The separate generated passwords
|
||||||
|
are stored privately in
|
||||||
|
\path{/home/codex/dos-support/accounts.private.json} with mode 600, outside Git.
|
||||||
|
Actual database secrets are in the private deployment environment.
|
||||||
|
The Passwords chapter defines the team's Bitwarden reference names for all
|
||||||
|
five Zammad accounts and three deployment secret variables. Those names
|
||||||
|
are the credential handoff convention; secret values remain outside this manual.
|
||||||
|
The Basic plan is 1 vCPU, 2 GB RAM and 50 GB disk at \$12/month.
|
||||||
|
The approved temporary local credential copy was removed after browser tests;
|
||||||
|
the Droplet's private store is retained. Supply the TA username and password privately in Canvas
|
||||||
|
submission text, outside the PDF and repository, as required by the manual.
|
||||||
|
|
||||||
|
The TA should sign in, select Startup Support, inspect tickets 71002--71004,
|
||||||
|
open the issue link in 71004, create a synthetic ticket, set customer/priority,
|
||||||
|
assign it to self, post a public reply, and close it with a verification note.
|
||||||
|
No SSH or administrator account is required for evaluation. Keep the desk and
|
||||||
|
TA login available through the announced grading window; its dates have not
|
||||||
|
been supplied. Revoke temporary access only after grading and retention needs
|
||||||
|
are confirmed.
|
||||||
|
|
||||||
|
\section{8. Engineering traceability and resolution}
|
||||||
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/22}{Gitea issue 22}
|
||||||
|
is titled ``Verify resource-limited Zammad HTTPS support deployment.'' It was
|
||||||
|
created as \texttt{nkogut} after explicit team approval and links back to
|
||||||
|
\href{https://support.myfileagent.tech/\#ticket/zoom/4}{support ticket 71004}.
|
||||||
|
Its acceptance criteria cover trusted HTTPS, no published dependency ports,
|
||||||
|
customer/agent access, monitoring and recorded recovery results. A
|
||||||
|
customer-visible HTML note in ticket 71004 links to the issue and records
|
||||||
|
the observed resolution. The issue remains open for the remaining acceptance
|
||||||
|
and publication checks; its existence is not evidence of a reviewed merge.
|
||||||
|
No application code change or new Jenkins integration was necessary for this
|
||||||
|
manual ticket-to-engineering link. Existing branch protection and the earlier
|
||||||
|
review/check workflow remain applicable to implementation source publication.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.75\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/gitea-issue-22.png}
|
||||||
|
\caption{Actual Gitea issue 22, including its reverse link to synthetic ticket
|
||||||
|
71004. The screenshot records an open issue, not a completed review.}
|
||||||
|
\label{Figure:ZammadEngineeringIssue}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
\section{9. Existing monitoring extension}
|
||||||
|
The support root URL was appended to the existing Prometheus \texttt{https}
|
||||||
|
job. The Gitea, Jenkins and production application targets, \texttt{/probe}
|
||||||
|
path, \texttt{http\_2xx} module, 30-second interval and relabeling were retained.
|
||||||
|
No duplicate job, new exporter or new alert rule was introduced. The saved
|
||||||
|
configuration passed \texttt{promtool check config}. After startup readiness,
|
||||||
|
an instant query returned \texttt{probe\_success=1} for the support URL.
|
||||||
|
|
||||||
|
Three panels were appended to the existing provisioned team SRE dashboard:
|
||||||
|
\begin{verbatim}
|
||||||
|
probe_success{job="https",instance="https://support.myfileagent.tech/"}
|
||||||
|
probe_duration_seconds{job="https",instance="https://support.myfileagent.tech/"}
|
||||||
|
(probe_ssl_earliest_cert_expiry{job="https",
|
||||||
|
instance="https://support.myfileagent.tech/"} - time()) / 86400
|
||||||
|
\end{verbatim}
|
||||||
|
They are labeled Zammad HTTPS reachable (0/1), Zammad probe duration (seconds),
|
||||||
|
and TLS certificate remaining lifetime (days). Existing host CPU, memory and
|
||||||
|
filesystem panels are retained for before/after comparisons; these describe
|
||||||
|
the whole host, not individual containers. Provisioned JSON is saved in
|
||||||
|
\path{monitoring/grafana/provisioning/dashboards/json/team-sre.json}.
|
||||||
|
An authenticated Grafana session displayed all three Zammad panels alongside
|
||||||
|
the existing host and Gitea/Jenkins panels. Screenshots show the actual
|
||||||
|
support reachability dip/recovery, probe-duration measurements and roughly
|
||||||
|
89.93 days of certificate lifetime. The TLS field's unit was changed from
|
||||||
|
an auto-scaling duration to a literal days suffix, so it does not display
|
||||||
|
weeks under a days title. Exporter scrape
|
||||||
|
\texttt{up=1} and destination \texttt{probe\_success=1} are different checks.
|
||||||
|
The login probe verifies TLS, HTTP and timing, not login or ticket persistence.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.75\linewidth,height=.77\textheight,keepaspectratio]{hw9_images/grafana-recovery-window.png}
|
||||||
|
\caption{Actual authenticated Grafana view, November 18, 15:37--15:41 New York
|
||||||
|
time. Zammad reachability falls to zero for the controlled frontend outage
|
||||||
|
and returns to one; the existing dashboard also shows probe duration.}
|
||||||
|
\label{Figure:ZammadGrafanaRecovery}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.75\linewidth,height=.77\textheight,keepaspectratio]{hw9_images/grafana-support-duration-tls-days.png}
|
||||||
|
\caption{Actual support duration and certificate-lifetime panels, with TLS
|
||||||
|
lifetime explicitly displayed in days. A later duration spike remains visible;
|
||||||
|
these measurements do not establish a latency objective or uninterrupted uptime.}
|
||||||
|
\label{Figure:ZammadGrafanaTLS}\end{figure}
|
||||||
|
|
||||||
|
\subsection{Whole-host before/after comparison}
|
||||||
|
The historical window from 13:30 New York time includes pre-installation
|
||||||
|
observations, the original overloaded startup period and the post-upgrade,
|
||||||
|
limited-stack period. CPU rises toward 100\% during the first startup and is
|
||||||
|
around 40--50\% at the later screenshot. Available memory and root available
|
||||||
|
space are shown in the retained Node Exporter panels. Root available space
|
||||||
|
increased after the disk upgrade; this cannot be attributed to application
|
||||||
|
tuning alone. The memory capacity also changed, so absolute available memory
|
||||||
|
is not a like-for-like workload comparison. Missing data during the stopped
|
||||||
|
Prometheus/restart interval is left as a gap; it does not mean zero usage or
|
||||||
|
prove service availability. Earlier Gitea probe failures around the initial
|
||||||
|
overloaded startup are retained in the historical view, rather than hidden
|
||||||
|
as a claim that all earlier services stayed continuously available.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.72\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/grafana-host-cpu-before-after.png}
|
||||||
|
\caption{Reused whole-Droplet CPU panel before and after installation and
|
||||||
|
upgrade; observation gaps are preserved.}\label{Figure:ZammadHostCPU}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.72\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/grafana-host-memory-before-after.png}
|
||||||
|
\caption{Reused available-host-memory panel over the same historical window;
|
||||||
|
this is not per-container usage.}\label{Figure:ZammadHostMemory}\end{figure}
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\includegraphics[width=.72\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/grafana-host-memory-disk.png}
|
||||||
|
\caption{Reused root-filesystem available-space panel. The post-upgrade
|
||||||
|
increase is interpreted alongside the changed disk capacity, not as disk
|
||||||
|
space reclaimed by stopping a container.}\label{Figure:ZammadHostDisk}\end{figure}
|
||||||
|
|
||||||
|
\section{10. Controlled outage, persistence and backup}
|
||||||
|
The isolated test stopped only \texttt{zammad-nginx}, then restarted it in a
|
||||||
|
\texttt{finally} recovery path. No volume was removed. The first collector
|
||||||
|
used query-evaluation timestamps; because different query times do not prove
|
||||||
|
different scrapes, that collector was corrected to also query
|
||||||
|
\texttt{timestamp(probe\_success\{...\})}. The corrected test records two
|
||||||
|
distinct failed scrape timestamps before recovery. The corrected test ran
|
||||||
|
20:38:30--20:39:53 UTC on November 18 (15:38:30--15:39:53 New York time).
|
||||||
|
Failed scrapes were at 20:38:39.371 and 20:39:09.371 UTC; the recovered
|
||||||
|
successful scrape was 20:39:39.371 UTC. These are sampled observations, not
|
||||||
|
exact outage boundaries. Use the latest
|
||||||
|
\path{support/evidence/recovery-evidence.json}, retaining its actual timestamps,
|
||||||
|
rather than inferring an exact outage length from sampled data.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]\centering
|
||||||
|
\begin{tikzpicture}[x=.085cm,y=1.8cm]
|
||||||
|
\draw[-{Stealth}] (-5,0)--(105,0) node[right]{\scriptsize seconds};
|
||||||
|
\draw[-{Stealth}] (0,-.10)--(0,1.35) node[above]{\scriptsize probe success};
|
||||||
|
\draw[devopsBlue,thick] (0,1)--(30,0)--(60,0)--(90,1);
|
||||||
|
\foreach \x/\y in {0/1,30/0,60/0,90/1}{\fill[devopsBlue] (\x,\y) circle[radius=1.5pt];}
|
||||||
|
\foreach \x in {0,30,60,90}{\draw (\x,0)--(\x,-.04) node[below]{\scriptsize\x};}
|
||||||
|
\node[left] at (0,1){\scriptsize 1};
|
||||||
|
\node[below,align=center] at (45,-.30){\scriptsize Origin: November 18, 2026, 20:38:09.371 UTC\\\scriptsize Failed scrapes: +30 s, +60 s; recovered sample: +90 s};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\caption{Graph of the four distinct recorded scrape instants from the
|
||||||
|
corrected recovery test. Connecting lines guide the eye only; intermediate
|
||||||
|
availability and exact transition times are not inferred. The matching
|
||||||
|
Grafana dashboard screenshot is a separate outstanding browser check.}
|
||||||
|
\label{Figure:ZammadRecoverySamples}\end{figure}
|
||||||
|
|
||||||
|
The final audit queries the full 15:37--15:41 New York test window: Gitea
|
||||||
|
login, Jenkins login and production health each returned nine successful
|
||||||
|
probe samples; support included zero and one. This supports sampled continuity
|
||||||
|
of earlier services during the isolated test, not uninterrupted availability
|
||||||
|
outside the samples.
|
||||||
|
|
||||||
|
After frontend recovery, TA authentication still worked, ticket 71003 was
|
||||||
|
present, and the retained conversation included the internal note. This is
|
||||||
|
web-service restart persistence, not database restore or off-site backup.
|
||||||
|
The official backup container logged \texttt{backup finished :)} after a
|
||||||
|
startup backup. Metadata-only inspection found
|
||||||
|
\path{20261118152258_zammad_db.psql.gz} (6,804,179 bytes) and
|
||||||
|
\path{20261118152258_zammad_files.tar.gz} (126 bytes). Contents were not
|
||||||
|
exposed; the small file archive does not prove attachment restoration.
|
||||||
|
It writes to \path{dos-support_zammad-backup}; the shared
|
||||||
|
application volume is \path{dos-support_zammad-storage}. Other retained
|
||||||
|
volumes are \path{dos-support_postgresql-data},
|
||||||
|
\path{dos-support_elasticsearch-data} and \path{dos-support_redis-data}.
|
||||||
|
Memcached is disposable; Rails, nginx, websocket, scheduler and init do not
|
||||||
|
each need an independent data volume.
|
||||||
|
|
||||||
|
\subsection{Startup, shutdown, recovery and restore runbook}
|
||||||
|
\begin{enumerate}
|
||||||
|
\item For status, use \texttt{docker compose ps -a} and bounded logs from the
|
||||||
|
deployment directory. Check Rails health, successful init exit, search
|
||||||
|
readiness and destination probe; a running container is insufficient.
|
||||||
|
\item For routine shutdown use \texttt{docker compose stop}; for restart use
|
||||||
|
\texttt{docker compose start} with the retained containers. To apply changed
|
||||||
|
limits, validate first and use \texttt{docker compose up -d} for the affected
|
||||||
|
services. Preserve the private environment and volume names.
|
||||||
|
\item For a failed frontend, inspect nginx and Rails logs, restore the last
|
||||||
|
working non-secret configuration and matching private environment, validate,
|
||||||
|
start the affected services, and verify HTTPS plus authenticated ticket read.
|
||||||
|
Raise only a demonstrated failing resource limit; do not disable earlier
|
||||||
|
assignments. Recheck the complete required workflow after each adjustment.
|
||||||
|
\item Before a restore, follow the backup/restore instructions from the exact
|
||||||
|
recorded upstream revision and compatible application/database images. Preserve
|
||||||
|
an additional copy of current volumes, choose a verified matching backup,
|
||||||
|
stop application writers and stage the selected timestamped archives under
|
||||||
|
\path{/var/tmp/zammad/restore/} in the backup volume. The built-in restore
|
||||||
|
uses the latest filename timestamp; do not stage ambiguous backups or the
|
||||||
|
\texttt{latest\_zammad} links. Starting the stack triggers restoration and
|
||||||
|
other application services wait. Follow the matching guide's file-storage
|
||||||
|
cleanup requirements only after preserving current data and authorizing
|
||||||
|
destructive changes; none were performed here. Rebuild the search index and
|
||||||
|
verify database, attachments, authentication and a known ticket afterward.
|
||||||
|
The official Docker-specific restore guide is linked for operators
|
||||||
|
\cite{ZammadDockerRestoreA9}; this exercise did not execute a restore.
|
||||||
|
\item Never use \texttt{docker compose down -v}, remove the persistent volumes,
|
||||||
|
or run a broad Docker prune as part of this lab. A same-Droplet backup is not
|
||||||
|
protection against loss of the Droplet or its disk. Off-Droplet replication is
|
||||||
|
not claimed.
|
||||||
|
\end{enumerate}
|
||||||
|
|
||||||
|
\subsection{November 20 browser acceptance and indexing repair}
|
||||||
|
Customer autocomplete initially failed because the derived User search index
|
||||||
|
contained only one record. The official model methods
|
||||||
|
\texttt{User.search\_index\_reload(worker: 0)} and
|
||||||
|
\texttt{Ticket.search\_index\_reload(worker: 0)}, followed by
|
||||||
|
\texttt{SearchIndexBackend.refresh}, completed successfully using the existing
|
||||||
|
image and scheduler limits. The scheduler was paused during this one-time
|
||||||
|
operation and restarted afterward. Database records and volumes were retained.
|
||||||
|
The User index then contained six records and Customer autocomplete found
|
||||||
|
the existing Demo Customer. The saved JSON records the operation and exit status.
|
||||||
|
|
||||||
|
Logged in as \texttt{ta.agent}, the browser created ticket 71007, selected
|
||||||
|
Demo Customer, assigned TA Agent, retained normal priority, submitted an
|
||||||
|
internal note and then submitted a customer-visible resolution reply with
|
||||||
|
state closed. A separate Demo Customer login displayed the public reply and
|
||||||
|
closed state, with internal article 13 absent. This supplements, rather than
|
||||||
|
relabels, the earlier API-only CRUD test on ticket 71006. No SMTP delivery
|
||||||
|
was attempted. The earlier open, assigned and closed example tickets remain.
|
||||||
|
|
||||||
|
\begin{figure}[htbp]
|
||||||
|
\centering\includegraphics[width=\textwidth]{hw9_images/ta-browser-closed-reply.png}
|
||||||
|
\caption{TA Agent browser workflow: saved internal note, public resolution,
|
||||||
|
assigned owner, normal priority and closed state on ticket 71007.}
|
||||||
|
\label{fig:taBrowserClosedReply}
|
||||||
|
\end{figure}
|
||||||
|
\begin{figure}[htbp]
|
||||||
|
\centering\includegraphics[width=\textwidth]{hw9_images/customer-browser-closed-reply.png}
|
||||||
|
\caption{Demo Customer sees ticket 71007's public resolution and closed
|
||||||
|
state; the internal TA note is excluded from the conversation.}
|
||||||
|
\label{fig:customerBrowserClosedReply}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
\section{11. Deliverable coverage, final rechecks and remaining gaps}
|
||||||
|
\begin{longtable}{L{3.2cm}L{6.2cm}L{3.4cm}}
|
||||||
|
\caption{Required Chapter 7 deliverable audit}\label{Table:ZammadCoverage}\\
|
||||||
|
\toprule Required aspect & Saved evidence / chapter location & Verification boundary\\\midrule\endhead
|
||||||
|
Deployment / continuity & Revision, images, manifest, architecture, final HTTPS observations & All six HTTPS checks returned 200\\
|
||||||
|
Capacity and versions & Initial observations, user-confirmed Basic 1 vCPU/2 GB/50 GB at \$12/month, explicit limits & Full pre-install command baseline cannot be reconstructed\\
|
||||||
|
Persistence / backups & Named volume manifest, backup success, retained ticket/conversation & Database restore not tested\\
|
||||||
|
HTTPS / exposure & Certificate, redirect, blocked ports, private networks, cloud rules/attachment, privileged host audit and effective SSH & UFW inactive; cloud firewall restricts inbound ports\\
|
||||||
|
Accounts / TA & Agent-only TA/group access, API CRUD 71006, browser workflow 71007 & Browser create, assign, internal/public reply and close verified\\
|
||||||
|
Three ticket examples & Open 71002, assigned 71003, closed 71004; internal note/public reply & Browser visibility/isolation screenshots included\\
|
||||||
|
Engineering link & Issue 22 and ticket 71004 bidirectional link, resolution note, screenshot & Issue remains open\\
|
||||||
|
Monitoring & Existing job, three displayed panels, successful probe and host comparison & Authenticated Grafana screenshots included\\
|
||||||
|
Recovery graph & Corrected timestamps, source graph, Grafana recovery window, retained conversation & Two failed distinct scrapes and recovery verified\\
|
||||||
|
Manual / source & This chapter, Hosts, password hints, history, AI log, sanitized configuration & No PDF compiled; final Jenkins artifact pending\\\bottomrule
|
||||||
|
\end{longtable}
|
||||||
|
|
||||||
|
Every pending item is a required evidence follow-up, not an optional extra or
|
||||||
|
an assertion of completion. Before submission: review the saved TA
|
||||||
|
browser evidence for ticket 71007 (create, assign, internal/public
|
||||||
|
reply and close are now exercised through the portal);
|
||||||
|
the privileged host-rule and effective key-only SSH evidence is now included,
|
||||||
|
alongside cloud rules and attachment screenshots;
|
||||||
|
record the grading window; provide TA
|
||||||
|
credentials privately; and run the user-authorized Jenkins PDF build followed
|
||||||
|
by visual and reference verification. Do not submit this unbuilt source draft
|
||||||
|
as a verified final PDF. After grading, retain evidence and the manual, revoke
|
||||||
|
temporary TA access, and obtain team approval before stopping paid resources
|
||||||
|
or changing costs. Existing services and their storage remain team-owned.
|
||||||
|
|
||||||
|
The assignment branch was published to Gitea and independently verified with
|
||||||
|
\texttt{git ls-remote}, including host-audit commit
|
||||||
|
\texttt{98a3a6d39e438e7fef7579f4f695687aa0a5b5e7}. This publication did not
|
||||||
|
merge main or compile a manual PDF. Use these immutable source links for the
|
||||||
|
verified implementation and evidence:
|
||||||
|
\begin{itemize}
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/98a3a6d39e438e7fef7579f4f695687aa0a5b5e7/support}{Sanitized support configuration and evidence directory}.
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/98a3a6d39e438e7fef7579f4f695687aa0a5b5e7/documentation/devopsSupportTicketManagement.tex}{Support chapter source at the verified revision}.
|
||||||
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/98a3a6d39e438e7fef7579f4f695687aa0a5b5e7/documentation/hw9_images}{Original screenshot evidence}.
|
||||||
|
\end{itemize}
|
||||||
|
Later source-reconciliation commits supplement this immutable evidence set.
|
||||||
@@ -0,0 +1,181 @@
|
|||||||
|
{
|
||||||
|
"threshold_changed_utc": "2026-10-24T21:14:02.658288+00:00",
|
||||||
|
"temporary_threshold_percent": 90,
|
||||||
|
"final_threshold_percent": 15,
|
||||||
|
"pending_period": "5m",
|
||||||
|
"evaluation_interval": "30s",
|
||||||
|
"status": "Capacity test complete: pending, firing, delivered, restored to 15 percent, Normal, resolved delivery confirmed",
|
||||||
|
"disk_filled": false,
|
||||||
|
"observations": [
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:15:21.192219+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:15:52.139970+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:16:22.574568+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:16:52.959503+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:17:23.237339+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:17:53.610412+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:18:24.495369+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:18:56.001250+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:19:26.923982+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utc": "2026-10-24T21:19:57.612786+00:00",
|
||||||
|
"metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 1",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"firing_observed_utc": "2026-10-24T21:19:57.612786+00:00",
|
||||||
|
"delivery_metrics_before_restore": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 1",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 2",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 2",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 0"
|
||||||
|
],
|
||||||
|
"threshold_restored_utc": "2026-10-24T21:20:24.112443+00:00",
|
||||||
|
"restore_restart_exit": 0,
|
||||||
|
"post_restore_metrics": [
|
||||||
|
"grafana_alerting_alerts{state=\"alerting\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"error\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"nodata\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"normal\"} 3",
|
||||||
|
"grafana_alerting_alerts{state=\"pending\"} 0",
|
||||||
|
"grafana_alerting_alerts{state=\"recovering\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"firing\"} 0",
|
||||||
|
"grafana_alerting_alerts_received_total{org=\"1\",status=\"resolved\"} 1"
|
||||||
|
],
|
||||||
|
"final_threshold_verified_percent": 15,
|
||||||
|
"post_restore_checked_utc": "2026-10-24T21:21:40.949248+00:00",
|
||||||
|
"recipient_firing_confirmed": true,
|
||||||
|
"recipient_resolved_confirmed": true,
|
||||||
|
"recipient_evidence": [
|
||||||
|
{
|
||||||
|
"path": "screenshots/capacity-discord-firing-team.png",
|
||||||
|
"sha256": "0e3407260eb23a004d6a01c52310af8578a6dde391cdf59a85e9c0b6573fc2a7",
|
||||||
|
"source": "User-supplied original Discord screenshot"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "screenshots/capacity-discord-resolved-team.png",
|
||||||
|
"sha256": "6cc200817a42e99650c3dee8e42a41616c704ae8ac1262b79ec0edf8361c5825",
|
||||||
|
"source": "User-supplied original Discord screenshot"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"evidence_note": "Resolved message contains an outdated setup description from the restored original rules. Delivery and capacity testing are established by the actual messages and recorded state transitions; do not repeat that stale description as current status. Resolved screenshot does not show an exact message time."
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
[
|
||||||
|
"[2026-10-24T20:34:42.991Z] + python3 -m py_compile pricing.py tests/test_pricing.py",
|
||||||
|
"[2026-10-24T20:34:44.991Z] + python3 -m unittest discover -s tests -v",
|
||||||
|
"[2026-10-24T20:34:44.991Z] Ran 2 tests in 0.000s",
|
||||||
|
"[2026-10-24T20:34:44.992Z] OK",
|
||||||
|
"[Gitea] Notifying branch build status: SUCCESS This commit looks good",
|
||||||
|
"Finished: SUCCESS"
|
||||||
|
]
|
||||||
@@ -0,0 +1,209 @@
|
|||||||
|
{
|
||||||
|
"utc": "2026-10-28T18:26:35.475821+00:00",
|
||||||
|
"os": "PRETTY_NAME=\"Ubuntu 24.04.4 LTS\"\nNAME=\"Ubuntu\"\nVERSION_ID=\"24.04\"\nVERSION=\"24.04.4 LTS (Noble Numbat)\"\nVERSION_CODENAME=noble\nID=ubuntu\nID_LIKE=debian\nHOME_URL=\"https://www.ubuntu.com/\"\nSUPPORT_URL=\"https://help.ubuntu.com/\"\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\nUBUNTU_CODENAME=noble\nLOGO=ubuntu-logo\n",
|
||||||
|
"architecture": "x86_64",
|
||||||
|
"cpu_count": "1",
|
||||||
|
"docker": "Docker version 29.8.1, build 4a63305",
|
||||||
|
"compose": "Docker Compose version v5.5.1",
|
||||||
|
"free_bytes": "total used free shared buff/cache available\nMem: 1008177152 791134208 83894272 3186688 288735232 217042944\nSwap: 1073737728 687190016 386547712",
|
||||||
|
"root_df_bytes": "Filesystem 1B-blocks Used Available Use% Mounted on\n/dev/vda1 24883167232 12443983872 12422406144 51% /",
|
||||||
|
"host_cpu_stat": "cpu 849598 5629 769109 31254346 375454 0 12249 642032 0 0",
|
||||||
|
"metrics": {
|
||||||
|
"node_memory_MemTotal_bytes": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemTotal_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211996.756,
|
||||||
|
"1008177152"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_memory_MemAvailable_bytes": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemAvailable_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211996.858,
|
||||||
|
"232452096"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_filesystem_size_bytes{mountpoint=\"/\",device=\"/dev/vda1\",fstype=\"ext4\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_filesystem_size_bytes",
|
||||||
|
"device": "/dev/vda1",
|
||||||
|
"fstype": "ext4",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node",
|
||||||
|
"mountpoint": "/"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211996.907,
|
||||||
|
"24883167232"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_filesystem_avail_bytes{mountpoint=\"/\",device=\"/dev/vda1\",fstype=\"ext4\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_filesystem_avail_bytes",
|
||||||
|
"device": "/dev/vda1",
|
||||||
|
"fstype": "ext4",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node",
|
||||||
|
"mountpoint": "/"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.001,
|
||||||
|
"12422414336"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_cpu_seconds_total{mode=\"idle\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_cpu_seconds_total",
|
||||||
|
"cpu": "0",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node",
|
||||||
|
"mode": "idle"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.058,
|
||||||
|
"312523.19"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "blackbox-exporter:9115",
|
||||||
|
"job": "blackbox"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "prometheus:9090",
|
||||||
|
"job": "prometheus"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success{job=\"https\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.189,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793211997.189,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"security_realm_class": "hudson.security.HudsonPrivateSecurityRealm", "disableSignup": "true", "authorization_class": "hudson.security.GlobalMatrixAuthorizationStrategy", "anonymous_grants": false, "authenticated_group_grants": false}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"created_via": "Existing user-signed-in Gitea session",
|
||||||
|
"author_shown_in_gitea": "jenkins-ci",
|
||||||
|
"issues": [
|
||||||
|
{
|
||||||
|
"number": 12,
|
||||||
|
"priority": "P1",
|
||||||
|
"owner": "glovely",
|
||||||
|
"url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"number": 13,
|
||||||
|
"priority": "P2",
|
||||||
|
"owner": "glovely",
|
||||||
|
"url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/13"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,186 @@
|
|||||||
|
{
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "matrix",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1792876991.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877021.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877051.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877081.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877111.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877141.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877171.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877201.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877231.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877261.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877291.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877321.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877351.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877381.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877411.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877441.023,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877471.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877501.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877531.023,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877561.023,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1792877004.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877034.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877064.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877094.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877124.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877154.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877184.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877214.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877244.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877274.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877304.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877334.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877364.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877394.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877424.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877454.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877484.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877514.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877544.889,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1792877574.889,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
{
|
||||||
|
"start_utc": "2026-10-24T21:23:00+00:00",
|
||||||
|
"end_utc": "2026-10-24T21:33:00+00:00",
|
||||||
|
"qualification": "Fixed 10-minute incident window; sampled availability, not 24-hour SLO",
|
||||||
|
"queries": {
|
||||||
|
"availability_percent": {
|
||||||
|
"promql": "100*avg_over_time(probe_success{job=\"https\"}[10m])",
|
||||||
|
"response": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"60"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"100"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"samples": {
|
||||||
|
"promql": "count_over_time(probe_success{job=\"https\"}[10m])",
|
||||||
|
"response": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"failures": {
|
||||||
|
"promql": "count_over_time(probe_success{job=\"https\"}[10m])-sum_over_time(probe_success{job=\"https\"}[10m])",
|
||||||
|
"response": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"8"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"end_probe": {
|
||||||
|
"promql": "probe_success{job=\"https\"}",
|
||||||
|
"response": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"image": "prom/prometheus:v3.15.1",
|
||||||
|
"digests": [
|
||||||
|
"prom/prometheus@sha256:fa3302279710be2f21a8301ec17a8b4f2301fd829bd113839b3b6b02b6f191a2"
|
||||||
|
],
|
||||||
|
"architecture": "amd64",
|
||||||
|
"os": "linux",
|
||||||
|
"id": "sha256:fa3302279710be2f21a8301ec17a8b4f2301fd829bd113839b3b6b02b6f191a2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"image": "grafana/grafana:13.2.4",
|
||||||
|
"digests": [
|
||||||
|
"grafana/grafana@sha256:dbbc38ea21103cefb50396340cd88afec779c7e070b0a7bf5a75b4ce46651d3f"
|
||||||
|
],
|
||||||
|
"architecture": "amd64",
|
||||||
|
"os": "linux",
|
||||||
|
"id": "sha256:dbbc38ea21103cefb50396340cd88afec779c7e070b0a7bf5a75b4ce46651d3f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"image": "quay.io/prometheus/node-exporter:v1.12.1",
|
||||||
|
"digests": [
|
||||||
|
"quay.io/prometheus/node-exporter@sha256:1b4e4438faca4dd7e001dd445d161a4a2091b0fededa84093b3a8dfeae1f1be0"
|
||||||
|
],
|
||||||
|
"architecture": "amd64",
|
||||||
|
"os": "linux",
|
||||||
|
"id": "sha256:1b4e4438faca4dd7e001dd445d161a4a2091b0fededa84093b3a8dfeae1f1be0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"image": "quay.io/prometheus/blackbox-exporter:v0.29.1",
|
||||||
|
"digests": [
|
||||||
|
"quay.io/prometheus/blackbox-exporter@sha256:ea1c7aa3ef3f307cd03e85f34abb604478ccb90b567fc690da0cd9776da76b13"
|
||||||
|
],
|
||||||
|
"architecture": "amd64",
|
||||||
|
"os": "linux",
|
||||||
|
"id": "sha256:ea1c7aa3ef3f307cd03e85f34abb604478ccb90b567fc690da0cd9776da76b13"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,281 @@
|
|||||||
|
{
|
||||||
|
"started_utc": "2026-10-28T17:31:31.276382+00:00",
|
||||||
|
"purpose": "Separate service restart persistence, not backup/restore",
|
||||||
|
"events": [
|
||||||
|
{
|
||||||
|
"service": "prometheus",
|
||||||
|
"restart_requested_utc": "2026-10-28T17:31:34.517301+00:00",
|
||||||
|
"restart_exit": 0,
|
||||||
|
"restart_finished_utc": "2026-10-28T17:31:36.010653+00:00",
|
||||||
|
"ready_observed_utc": "2026-10-28T17:31:40.102642+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"service": "grafana",
|
||||||
|
"restart_requested_utc": "2026-10-28T17:32:15.105596+00:00",
|
||||||
|
"restart_exit": 0,
|
||||||
|
"restart_finished_utc": "2026-10-28T17:32:20.870015+00:00",
|
||||||
|
"ready_observed_utc": "2026-10-28T17:32:55.109817+00:00"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"before": {
|
||||||
|
"utc": "2026-10-28T17:31:31.276421+00:00",
|
||||||
|
"containers": {
|
||||||
|
"prometheus": {
|
||||||
|
"id": "28b35f29a8f87de81ff57432bf01ffd220cff426152d4428800efd9c305005ae",
|
||||||
|
"mounts": [
|
||||||
|
[
|
||||||
|
"myfileagent-monitoring_prometheus_data",
|
||||||
|
"/prometheus"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"grafana": {
|
||||||
|
"id": "d71ae8d91703940df0a9128a5e9741c66b8d1798cae50f1306d0064a54e527cc",
|
||||||
|
"mounts": [
|
||||||
|
[
|
||||||
|
"myfileagent-monitoring_grafana_data",
|
||||||
|
"/var/lib/grafana"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"historical_probe": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"database": {
|
||||||
|
"dashboard": {
|
||||||
|
"count": 0,
|
||||||
|
"sha256": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"
|
||||||
|
},
|
||||||
|
"data_source": {
|
||||||
|
"count": 1,
|
||||||
|
"sha256": "e951bf9a8c74d5329a16b8da0b49a932564592f49b778735c7e54badcf94dbdf"
|
||||||
|
},
|
||||||
|
"alert_rule": {
|
||||||
|
"count": 2,
|
||||||
|
"sha256": "bb4b682af4f1b2e37f82d6fc0270cd773b6123dc4ada8352df2bec2bf1f7c5f8"
|
||||||
|
},
|
||||||
|
"annotation": {
|
||||||
|
"count": 18,
|
||||||
|
"sha256": "c5531a98daa5397b436ddd9692ce7bfcf8a8c5b67a7255e7679fb4b6d75bc0a8"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"after": {
|
||||||
|
"utc": "2026-10-28T17:33:30.259795+00:00",
|
||||||
|
"containers": {
|
||||||
|
"prometheus": {
|
||||||
|
"id": "28b35f29a8f87de81ff57432bf01ffd220cff426152d4428800efd9c305005ae",
|
||||||
|
"mounts": [
|
||||||
|
[
|
||||||
|
"myfileagent-monitoring_prometheus_data",
|
||||||
|
"/prometheus"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"grafana": {
|
||||||
|
"id": "d71ae8d91703940df0a9128a5e9741c66b8d1798cae50f1306d0064a54e527cc",
|
||||||
|
"mounts": [
|
||||||
|
[
|
||||||
|
"myfileagent-monitoring_grafana_data",
|
||||||
|
"/var/lib/grafana"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"historical_probe": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792877580,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"database": {
|
||||||
|
"dashboard": {
|
||||||
|
"count": 0,
|
||||||
|
"sha256": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945"
|
||||||
|
},
|
||||||
|
"data_source": {
|
||||||
|
"count": 1,
|
||||||
|
"sha256": "e951bf9a8c74d5329a16b8da0b49a932564592f49b778735c7e54badcf94dbdf"
|
||||||
|
},
|
||||||
|
"alert_rule": {
|
||||||
|
"count": 2,
|
||||||
|
"sha256": "bb4b682af4f1b2e37f82d6fc0270cd773b6123dc4ada8352df2bec2bf1f7c5f8"
|
||||||
|
},
|
||||||
|
"annotation": {
|
||||||
|
"count": 18,
|
||||||
|
"sha256": "c5531a98daa5397b436ddd9692ce7bfcf8a8c5b67a7255e7679fb4b6d75bc0a8"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"database_equal": true,
|
||||||
|
"historical_values_equal": true,
|
||||||
|
"current_probes": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.125,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.125,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"target_health": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.419,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.419,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.419,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "blackbox-exporter:9115",
|
||||||
|
"job": "blackbox"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.419,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "prometheus:9090",
|
||||||
|
"job": "prometheus"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793208813.419,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"finished_utc": "2026-10-28T17:33:33.422124+00:00",
|
||||||
|
"collection_gaps": [
|
||||||
|
{
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"samples": 19,
|
||||||
|
"gaps_over_45_seconds": [
|
||||||
|
{
|
||||||
|
"from_epoch": 1793208671.023,
|
||||||
|
"to_epoch": 1793208731.022,
|
||||||
|
"seconds": 59.999
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"samples": 20,
|
||||||
|
"gaps_over_45_seconds": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"restart_readiness_seconds": {
|
||||||
|
"prometheus": 5.585,
|
||||||
|
"grafana": 40.004
|
||||||
|
},
|
||||||
|
"dashboard_storage_note": "Legacy dashboard table is empty in this Grafana version; see monitoring-restart-state-verification.json for resource-backed dashboards."
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"grafana_state": {
|
||||||
|
"dashboards": [
|
||||||
|
{
|
||||||
|
"uid": "myfileagent-sre",
|
||||||
|
"title": "MyFileAgent - SRE Monitoring",
|
||||||
|
"panels": 6,
|
||||||
|
"creationTimestamp": "2026-10-24T20:29:24Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uid": "myfileagent-sre-runbooks",
|
||||||
|
"title": "MyFileAgent - Alert Runbooks",
|
||||||
|
"panels": 2,
|
||||||
|
"creationTimestamp": "2026-10-24T20:56:55Z"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"annotations": 18
|
||||||
|
},
|
||||||
|
"https": {
|
||||||
|
"https://metrics.myfileagent.tech/api/health": 200,
|
||||||
|
"https://ci.myfileagent.tech/login": 200,
|
||||||
|
"https://myfileagent.tech/user/login": 200
|
||||||
|
},
|
||||||
|
"checked_utc": "2026-10-28T17:33:28.307692+00:00"
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"result": "SUCCESS",
|
||||||
|
"duration": "36363",
|
||||||
|
"pr_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/14",
|
||||||
|
"head_sha": "6605394d7a3e4183bfc8e94e2b08f1d324a73b8e",
|
||||||
|
"gitea_ui": "All checks were successful; 0 of 1 official approvals",
|
||||||
|
"merged": false
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"number": 6,
|
||||||
|
"result": "SUCCESS",
|
||||||
|
"duration": "36824",
|
||||||
|
"revision_matches_merge": true,
|
||||||
|
"two_tests_passed": true,
|
||||||
|
"gitea_notified": true,
|
||||||
|
"pr_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/14",
|
||||||
|
"merge_sha": "b42689f02f30ad895101a2c5f367e54e3603bc5d",
|
||||||
|
"approved_by": "nkogut",
|
||||||
|
"merged_by": "nkogut"
|
||||||
|
}
|
||||||
@@ -0,0 +1,129 @@
|
|||||||
|
{
|
||||||
|
"evaluation_time_utc": "2026-10-24T20:50:50+00:00",
|
||||||
|
"window_start_utc": "2026-10-24T20:40:50+00:00",
|
||||||
|
"window_end_utc": "2026-10-24T20:50:50+00:00",
|
||||||
|
"timezone_for_display": "America/New_York",
|
||||||
|
"scrape_interval_seconds": 30,
|
||||||
|
"expected_samples_approximately": 20,
|
||||||
|
"queries": {
|
||||||
|
"availability_percent": "100 * avg_over_time(probe_success{job=\"https\"}[10m])",
|
||||||
|
"received_samples": "count_over_time(probe_success{job=\"https\"}[10m])",
|
||||||
|
"observed_failed_samples": "count_over_time(probe_success{job=\"https\"}[10m]) - sum_over_time(probe_success{job=\"https\"}[10m])",
|
||||||
|
"collection_health": "up{job=~\"https|blackbox|prometheus\"}"
|
||||||
|
},
|
||||||
|
"results": {
|
||||||
|
"availability_percent": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"100"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"100"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"received_samples": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"observed_failed_samples": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"collection_health": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "blackbox-exporter:9115",
|
||||||
|
"job": "blackbox"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "prometheus:9090",
|
||||||
|
"job": "prometheus"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1792875050,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"classification": "Non-disruptive baseline/query verification, NOT controlled-outage evidence or a 24-hour SLO evaluation."
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"compiled": false,
|
||||||
|
"sections": [
|
||||||
|
"Deployment and Reproducibility",
|
||||||
|
"Metrics and HTTPS Probes",
|
||||||
|
"HTTPS and Access Control",
|
||||||
|
"Dashboard and Continuous-Integration Correlation",
|
||||||
|
"SLI, SLO and Error Budget",
|
||||||
|
"Alerts and Operator Runbooks",
|
||||||
|
"Controlled Incident, Recovery and Persistence",
|
||||||
|
"Manual Integration, Traceability and Remaining Work"
|
||||||
|
],
|
||||||
|
"missing_assets": [],
|
||||||
|
"unbalanced_environments": [],
|
||||||
|
"missing_citations": [],
|
||||||
|
"duplicate_new_labels": [],
|
||||||
|
"secret_match_filenames": [],
|
||||||
|
"clock_ticks_per_second": "100",
|
||||||
|
"source_only_checks": "Not a substitute for LaTeX compilation and visual inspection"
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"test_time": "2026-10-28T14:20:37-04:00",
|
||||||
|
"source": "Team Windows workstation outside Droplet",
|
||||||
|
"ipv4": "142.93.193.110",
|
||||||
|
"ipv4_reachable_ports": [
|
||||||
|
80,
|
||||||
|
443
|
||||||
|
],
|
||||||
|
"ipv4_unreachable_ports": [
|
||||||
|
3000,
|
||||||
|
3001,
|
||||||
|
5050,
|
||||||
|
8080,
|
||||||
|
9090,
|
||||||
|
9100,
|
||||||
|
9115,
|
||||||
|
50000
|
||||||
|
],
|
||||||
|
"ipv6_tested": "2607:7700:0:28:0:2:8e5d:c16e",
|
||||||
|
"ipv6_all_tested_ports_unreachable": true,
|
||||||
|
"ipv6_interpretation": "Inconclusive for firewall filtering because expected 80/443 also unreachable; verify host configuration and client IPv6 connectivity",
|
||||||
|
"https_curl_results": "Absent from supplied PowerShell transcript; HTTP/TLS results not established by this file",
|
||||||
|
"privacy": "Original transcript retained mode 600 outside Git; contains workstation metadata"
|
||||||
|
}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"collected_utc": "2026-11-08T16:34:38.771243+00:00",
|
||||||
|
"runs": {
|
||||||
|
"assignment8-staging-failure": {
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-failure/1/artifact/reports/failure-ansible.txt",
|
||||||
|
"selected_nonsecret_lines": [
|
||||||
|
"TASK [Gathering Facts] *********************************************************",
|
||||||
|
"TASK [Validate release selection] **********************************************",
|
||||||
|
"TASK [Create deployment directory] *********************************************",
|
||||||
|
"TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[ERROR]: Task failed: Module failed: General error: container pricing-staging-app-1 is unhealthy",
|
||||||
|
"PLAY RECAP *********************************************************************",
|
||||||
|
"startup : ok=4 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 "
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"assignment8-staging-recovery": {
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/recovery-ansible.txt",
|
||||||
|
"selected_nonsecret_lines": [
|
||||||
|
"TASK [Gathering Facts] *********************************************************",
|
||||||
|
"TASK [Validate release selection] **********************************************",
|
||||||
|
"TASK [Create deployment directory] *********************************************",
|
||||||
|
"TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"TASK [Read release identity] ***************************************************",
|
||||||
|
"TASK [Exercise business behavior] **********************************************",
|
||||||
|
"TASK [Check release identity and calculation] **********************************",
|
||||||
|
"PLAY RECAP *********************************************************************",
|
||||||
|
"startup : ok=9 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 "
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"assignment8-rollback-v1": {
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/rollback-ansible.txt",
|
||||||
|
"selected_nonsecret_lines": [
|
||||||
|
"TASK [Gathering Facts] *********************************************************",
|
||||||
|
"TASK [Validate release selection] **********************************************",
|
||||||
|
"TASK [Create deployment directory] *********************************************",
|
||||||
|
"TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"TASK [Read release identity] ***************************************************",
|
||||||
|
"TASK [Exercise business behavior] **********************************************",
|
||||||
|
"TASK [Check release identity and calculation] **********************************",
|
||||||
|
"PLAY RECAP *********************************************************************",
|
||||||
|
"startup : ok=9 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 "
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[2026-11-07T22:34:38.502Z] Ran 3 tests in 0.056s
|
||||||
|
[2026-11-07T22:34:40.697Z] No known vulnerabilities found
|
||||||
|
[2026-11-07T22:34:50.357Z] Secret scanner exit status: 0
|
||||||
|
[2026-11-07T22:39:47.533Z] startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
||||||
|
Finished: SUCCESS
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
target_env: production
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
|
expected_version: v1
|
||||||
|
expected_commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
configuration_commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
build_url: https://ci.myfileagent.tech/job/assignment8-release/3/
|
||||||
|
expected_total: 30
|
||||||
|
public_url: https://app.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
target_env: staging
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
|
expected_version: v1
|
||||||
|
expected_commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
configuration_commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
build_url: https://ci.myfileagent.tech/job/assignment8-release/3/
|
||||||
|
expected_total: 30
|
||||||
|
public_url: https://staging.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Approver: ssw590
|
||||||
|
Decision: approved
|
||||||
|
Time (UTC): 2026-11-07T22:44:31Z
|
||||||
|
Build: https://ci.myfileagent.tech/job/assignment8-release/3/
|
||||||
|
Source and configuration commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
Image: myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
|
Version: v1
|
||||||
|
Expected total for 3: 30
|
||||||
|
Staging and scans: passed
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"dependencies": [{"name": "blinker", "version": "1.9.0", "vulns": []}, {"name": "click", "version": "8.5.0", "vulns": []}, {"name": "flask", "version": "3.1.3", "vulns": []}, {"name": "gunicorn", "version": "23.0.0", "vulns": []}, {"name": "itsdangerous", "version": "2.2.0", "vulns": []}, {"name": "jinja2", "version": "3.1.6", "vulns": []}, {"name": "markupsafe", "version": "3.0.4", "vulns": []}, {"name": "packaging", "version": "26.3", "vulns": []}, {"name": "werkzeug", "version": "3.1.9", "vulns": []}], "fixes": []}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"scanner": "Trivy 0.69.1",
|
||||||
|
"scope": "checked-out repository excluding Git metadata, temporary test environment and generated reports",
|
||||||
|
"findings": 0,
|
||||||
|
"exit_code": 0,
|
||||||
|
"timestamp_utc": "2026-11-07T22:34:49.489244+00:00"
|
||||||
|
}
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
|
||||||
|
PLAY [Deploy a selected immutable pricing release] *****************************
|
||||||
|
|
||||||
|
TASK [Gathering Facts] *********************************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Validate release selection] **********************************************
|
||||||
|
ok: [startup] => {
|
||||||
|
"changed": false,
|
||||||
|
"msg": "All assertions passed"
|
||||||
|
}
|
||||||
|
|
||||||
|
TASK [Create deployment directory] *********************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Render selected Compose configuration] ***********************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Converge application without rebuilding] *********************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Verify health through public TLS endpoint] *******************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Read release identity] ***************************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Exercise business behavior] **********************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Check release identity and calculation] **********************************
|
||||||
|
ok: [startup] => {
|
||||||
|
"changed": false,
|
||||||
|
"msg": "All assertions passed"
|
||||||
|
}
|
||||||
|
|
||||||
|
PLAY RECAP *********************************************************************
|
||||||
|
startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2: Pulling from myfileagent/pricing
|
||||||
|
Digest: sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
|
Status: Image is up to date for myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
|
myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[2026-11-07T22:57:07.313Z] Ran 3 tests in 0.061s
|
||||||
|
[2026-11-07T22:57:10.242Z] No known vulnerabilities found
|
||||||
|
[2026-11-07T22:57:32.642Z] Secret scanner exit status: 0
|
||||||
|
[2026-11-07T23:02:33.262Z] startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
||||||
|
Finished: SUCCESS
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
target_env: production
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
expected_version: v2
|
||||||
|
expected_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
configuration_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
build_url: https://ci.myfileagent.tech/job/assignment8-release/4/
|
||||||
|
expected_total: 36
|
||||||
|
public_url: https://app.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
target_env: staging
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
expected_version: v2
|
||||||
|
expected_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
configuration_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
build_url: https://ci.myfileagent.tech/job/assignment8-release/4/
|
||||||
|
expected_total: 36
|
||||||
|
public_url: https://staging.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Approver: ssw590
|
||||||
|
Decision: approved
|
||||||
|
Time (UTC): 2026-11-07T23:03:54Z
|
||||||
|
Build: https://ci.myfileagent.tech/job/assignment8-release/4/
|
||||||
|
Source and configuration commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
Image: myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
Version: v2
|
||||||
|
Expected total for 3: 36
|
||||||
|
Staging and scans: passed
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"dependencies": [{"name": "blinker", "version": "1.9.0", "vulns": []}, {"name": "click", "version": "8.5.0", "vulns": []}, {"name": "flask", "version": "3.1.3", "vulns": []}, {"name": "gunicorn", "version": "23.0.0", "vulns": []}, {"name": "itsdangerous", "version": "2.2.0", "vulns": []}, {"name": "jinja2", "version": "3.1.6", "vulns": []}, {"name": "markupsafe", "version": "3.0.4", "vulns": []}, {"name": "packaging", "version": "26.3", "vulns": []}, {"name": "werkzeug", "version": "3.1.9", "vulns": []}], "fixes": []}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"scanner": "Trivy 0.69.1",
|
||||||
|
"scope": "checked-out repository excluding Git metadata, temporary test environment and generated reports",
|
||||||
|
"findings": 0,
|
||||||
|
"exit_code": 0,
|
||||||
|
"timestamp_utc": "2026-11-07T22:57:30.639294+00:00"
|
||||||
|
}
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
|
||||||
|
PLAY [Deploy a selected immutable pricing release] *****************************
|
||||||
|
|
||||||
|
TASK [Gathering Facts] *********************************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Validate release selection] **********************************************
|
||||||
|
ok: [startup] => {
|
||||||
|
"changed": false,
|
||||||
|
"msg": "All assertions passed"
|
||||||
|
}
|
||||||
|
|
||||||
|
TASK [Create deployment directory] *********************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Render selected Compose configuration] ***********************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Converge application without rebuilding] *********************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Verify health through public TLS endpoint] *******************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Read release identity] ***************************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Exercise business behavior] **********************************************
|
||||||
|
ok: [startup]
|
||||||
|
|
||||||
|
TASK [Check release identity and calculation] **********************************
|
||||||
|
ok: [startup] => {
|
||||||
|
"changed": false,
|
||||||
|
"msg": "All assertions passed"
|
||||||
|
}
|
||||||
|
|
||||||
|
PLAY RECAP *********************************************************************
|
||||||
|
startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9: Pulling from myfileagent/pricing
|
||||||
|
Digest: sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
Status: Image is up to date for myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Finished: SUCCESS
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"status":"ok","version":"v1"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"commit":"0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2","service":"Startup Pricing","version":"v1"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"currency":"USD","quantity":3,"total":30}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
Approver: ssw590
|
||||||
|
Decision: approved
|
||||||
|
Time UTC: 2026-11-07T23:12:54Z
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
2026-11-07T23:13:01Z 200
|
||||||
|
2026-11-07T23:13:03Z 200
|
||||||
|
2026-11-07T23:13:04Z 200
|
||||||
|
2026-11-07T23:13:05Z 200
|
||||||
|
2026-11-07T23:13:07Z 200
|
||||||
|
2026-11-07T23:13:08Z 200
|
||||||
|
2026-11-07T23:13:09Z 200
|
||||||
|
2026-11-07T23:13:11Z 200
|
||||||
|
2026-11-07T23:13:13Z 200
|
||||||
|
2026-11-07T23:13:15Z 200
|
||||||
|
2026-11-07T23:13:17Z 200
|
||||||
|
2026-11-07T23:13:18Z 200
|
||||||
|
2026-11-07T23:13:19Z 200
|
||||||
|
2026-11-07T23:13:20Z 200
|
||||||
|
2026-11-07T23:13:22Z 200
|
||||||
|
2026-11-07T23:13:23Z 200
|
||||||
|
2026-11-07T23:13:24Z 200
|
||||||
|
2026-11-07T23:13:27Z 200
|
||||||
|
2026-11-07T23:13:29Z 200
|
||||||
|
2026-11-07T23:13:31Z 200
|
||||||
|
2026-11-07T23:13:32Z 200
|
||||||
|
2026-11-07T23:13:33Z 200
|
||||||
|
2026-11-07T23:13:35Z 200
|
||||||
|
2026-11-07T23:13:36Z 200
|
||||||
|
2026-11-07T23:13:37Z 200
|
||||||
|
2026-11-07T23:13:38Z 200
|
||||||
|
2026-11-07T23:13:39Z 200
|
||||||
|
2026-11-07T23:13:40Z 200
|
||||||
|
2026-11-07T23:13:42Z 200
|
||||||
|
2026-11-07T23:13:43Z 200
|
||||||
|
2026-11-07T23:13:45Z 200
|
||||||
|
2026-11-07T23:13:47Z 200
|
||||||
|
2026-11-07T23:13:48Z 200
|
||||||
|
2026-11-07T23:13:49Z 502
|
||||||
|
2026-11-07T23:13:50Z 502
|
||||||
|
2026-11-07T23:13:51Z 502
|
||||||
|
2026-11-07T23:13:53Z 502
|
||||||
|
2026-11-07T23:13:54Z 502
|
||||||
|
2026-11-07T23:13:55Z 502
|
||||||
|
2026-11-07T23:13:57Z 000
|
||||||
|
2026-11-07T23:14:01Z 200
|
||||||
|
2026-11-07T23:14:02Z 200
|
||||||
|
2026-11-07T23:14:03Z 200
|
||||||
|
2026-11-07T23:14:04Z 200
|
||||||
|
2026-11-07T23:14:06Z 200
|
||||||
|
2026-11-07T23:14:07Z 200
|
||||||
|
2026-11-07T23:14:08Z 200
|
||||||
|
2026-11-07T23:14:10Z 200
|
||||||
|
2026-11-07T23:14:11Z 200
|
||||||
|
2026-11-07T23:14:13Z 200
|
||||||
|
2026-11-07T23:14:15Z 200
|
||||||
|
2026-11-07T23:14:16Z 200
|
||||||
|
2026-11-07T23:14:17Z 200
|
||||||
|
2026-11-07T23:14:19Z 200
|
||||||
|
2026-11-07T23:14:20Z 200
|
||||||
|
2026-11-07T23:14:21Z 200
|
||||||
|
2026-11-07T23:14:22Z 200
|
||||||
|
2026-11-07T23:14:24Z 200
|
||||||
|
2026-11-07T23:14:25Z 200
|
||||||
|
2026-11-07T23:14:26Z 200
|
||||||
|
2026-11-07T23:14:29Z 200
|
||||||
|
2026-11-07T23:14:30Z 200
|
||||||
|
2026-11-07T23:14:32Z 200
|
||||||
|
2026-11-07T23:14:34Z 200
|
||||||
|
2026-11-07T23:14:35Z 200
|
||||||
|
2026-11-07T23:14:36Z 200
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"commit":"ee128d18bddd1763b916b40f05829f2e769f0654","service":"Startup Pricing","version":"v2"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"currency":"USD","quantity":3,"total":36}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2026-11-07T23:13:01Z
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2026-11-07T23:14:37Z
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
target_env: production
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:715a3c80d5fff4319e275583e73e58cd80bffadea6e25796dd4867135ff036c2
|
||||||
|
expected_version: v1
|
||||||
|
expected_commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
configuration_commit: 0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2
|
||||||
|
expected_total: 30
|
||||||
|
public_url: https://app.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Scanner exit status: 1
|
||||||
|
Finished: FAILURE
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Stage "Must not run after failure" skipped due to earlier failure(s)
|
||||||
|
Finished: FAILURE
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2026-11-07T23:19:26Z
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
target_env: staging
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
expected_version: v2
|
||||||
|
expected_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
configuration_commit: c0cdd9159b430b8a27543a293cdd23aa05c8ee34
|
||||||
|
expected_total: 36
|
||||||
|
public_url: https://staging.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Finished: SUCCESS
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"status":"ok","version":"v2"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"commit":"ee128d18bddd1763b916b40f05829f2e769f0654","service":"Startup Pricing","version":"v2"}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"currency":"USD","quantity":3,"total":36}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2026-11-08T15:54:48Z
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2026-11-08T15:56:45Z
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
target_env: staging
|
||||||
|
release_image: myfileagent.tech/myfileagent/pricing@sha256:2ab86894ada4c12bd066ae1d29be40a296b1a037f379c494dead5cad4d8b88f9
|
||||||
|
expected_version: v2
|
||||||
|
expected_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
configuration_commit: ee128d18bddd1763b916b40f05829f2e769f0654
|
||||||
|
expected_total: 36
|
||||||
|
public_url: https://staging.myfileagent.tech
|
||||||
|
proxy_network: myfileagent-gitea_gitea-private
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
Ran 3 tests in 0.099s
|
||||||
|
Stage "Delivery would proceed" skipped due to earlier failure(s)
|
||||||
|
Finished: FAILURE
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"observed_utc": "2026-11-08T16:29:04.799527+00:00",
|
||||||
|
"observations": {
|
||||||
|
"production": {
|
||||||
|
"identity": {
|
||||||
|
"http_status": 200,
|
||||||
|
"body": {
|
||||||
|
"commit": "0cb5a34cc4c2709ea3eb95f58bf5b0b2fa350ef2",
|
||||||
|
"service": "Startup Pricing",
|
||||||
|
"version": "v1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"health": {
|
||||||
|
"http_status": 200,
|
||||||
|
"body": {
|
||||||
|
"status": "ok",
|
||||||
|
"version": "v1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"price": {
|
||||||
|
"http_status": 200,
|
||||||
|
"body": {
|
||||||
|
"currency": "USD",
|
||||||
|
"quantity": 3,
|
||||||
|
"total": 30
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"staging": {
|
||||||
|
"identity": {
|
||||||
|
"http_status": 200,
|
||||||
|
"body": {
|
||||||
|
"commit": "ee128d18bddd1763b916b40f05829f2e769f0654",
|
||||||
|
"service": "Startup Pricing",
|
||||||
|
"version": "v2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"health": {
|
||||||
|
"http_status": 200,
|
||||||
|
"body": {
|
||||||
|
"status": "ok",
|
||||||
|
"version": "v2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"price": {
|
||||||
|
"http_status": 200,
|
||||||
|
"body": {
|
||||||
|
"currency": "USD",
|
||||||
|
"quantity": 3,
|
||||||
|
"total": 36
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"collected_utc": "2026-11-08T16:36:54.785553+00:00",
|
||||||
|
"source": "Prometheus instant query probe_success",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://myfileagent.tech/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1794155814.759,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.myfileagent.tech/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1794155814.759,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://app.myfileagent.tech/health",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1794155814.759,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"note": "Collected after release and rollback; not historical incident evidence."
|
||||||
|
}
|
||||||
@@ -0,0 +1,227 @@
|
|||||||
|
{
|
||||||
|
"collected_utc": "2026-11-08T16:28:20.498976+00:00",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/approval.txt",
|
||||||
|
"sha256": "3e711b141733b5de0553d3638feaa63a9cb57e12f7107c7da1fe7a5aad5e302c",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/approval.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/dependency-audit.json",
|
||||||
|
"sha256": "59f9628f3f974199f9e85238081b96d21533724b33a6d7b781176bfccd9770b9",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/dependency-audit.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/image-digest.txt",
|
||||||
|
"sha256": "5bd0acd332644fd8891a806792439302ca6fc5c9563a9d9d5e4fefbb5e4a79cd",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/image-digest.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/image-scan.json",
|
||||||
|
"sha256": "19606907f109ce8c1a27f89ed18ecf2af72fc1badd69372693247a292409f00e",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/image-scan.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/secret-scan-summary.json",
|
||||||
|
"sha256": "e3b74170db54f8bfb490bf9e60ff13966aec19f042e07dd08768c82fb3c79df3",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/secret-scan-summary.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/staging-second-run.txt",
|
||||||
|
"sha256": "eb0335d3d5a06a7c6954fbc281fda349c6e36619318894676e9b131488f17323",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/staging-second-run.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/reports/target-pull.txt",
|
||||||
|
"sha256": "67932ed478ea1eca2041b6f08253c717bf3d803c641982133ab74368a3843059",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/reports/target-pull.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/releases/generated/v1-staging.yml",
|
||||||
|
"sha256": "3166da6a55651832c3808bea04a1f1c7a72cdea7091d1f167c978920486ef7a4",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/releases/generated/v1-staging.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/releases/generated/v1-production.yml",
|
||||||
|
"sha256": "b9b0e903b3ef41d0396746edfaf3b6a854437bde8f84c472960f73ecb6f4b22f",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/artifact/releases/generated/v1-production.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/approval.txt",
|
||||||
|
"sha256": "ba069e5b32accc31b744ab78cf65092bbd7dbec73d51446f3062897a35e1963f",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/approval.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/dependency-audit.json",
|
||||||
|
"sha256": "59f9628f3f974199f9e85238081b96d21533724b33a6d7b781176bfccd9770b9",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/dependency-audit.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/image-digest.txt",
|
||||||
|
"sha256": "e5c9b967e1f5553363105a51775f214be449290ec3117edd78c7c22f8f542a35",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/image-digest.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/image-scan.json",
|
||||||
|
"sha256": "eecd806454d4a8b4e1ee8427f793753f0db1c463675fac7eee58fdbb891a7d53",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/image-scan.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/secret-scan-summary.json",
|
||||||
|
"sha256": "339e410dc91f72fc808700f4bc6ef59e9c8ef7b77b60b247fb6b7be833d8997b",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/secret-scan-summary.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/staging-second-run.txt",
|
||||||
|
"sha256": "eb0335d3d5a06a7c6954fbc281fda349c6e36619318894676e9b131488f17323",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/staging-second-run.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/reports/target-pull.txt",
|
||||||
|
"sha256": "939dc16d70a7ac1745cd022a2e0bd210791cd17388e054967f0ae6db6ca518d8",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/reports/target-pull.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/releases/generated/v2-staging.yml",
|
||||||
|
"sha256": "5a213a9cd7ff170f9c8b2c7a510d8d9a4bc44444340d540a485a0c1da1257d7d",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/releases/generated/v2-staging.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/releases/generated/v2-production.yml",
|
||||||
|
"sha256": "4e25ce1118dd88f1c49a9161ffa7e45c80b824c3c8ecc2e55288e4969e06a528",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/artifact/releases/generated/v2-production.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/after-health.json",
|
||||||
|
"sha256": "2b3a2a367721bc1ee45af6e885c5c5217c13c9059fdc13902a2bcf27336d0d5f",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/after-health.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/after-identity.json",
|
||||||
|
"sha256": "552bd1deeab9b28518762058420b60d82d0d519d8fc1d3f0f3367e2d0aed90da",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/after-identity.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/after-price.json",
|
||||||
|
"sha256": "c93057649589d0ad423b4ac7a609e21ae5bafc50b8ea12f72163e43e54626c72",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/after-price.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/before-identity.json",
|
||||||
|
"sha256": "907b2d7480b4aac01cda066e9754c55c28d517b5837c7c4a8ea16a2b8cd84338",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/before-identity.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/before-price.json",
|
||||||
|
"sha256": "3835afb15152c4abaf9e7a2747bf2c86f9ccda3e54478fc9be5337582685b23c",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/before-price.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/approval.txt",
|
||||||
|
"sha256": "be3ac5b89a5c6ce6d5a8dc098ea552d5a369ba86491a6f0134eb626b1db494f1",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/approval.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/availability-samples.txt",
|
||||||
|
"sha256": "da54c6d928a9f9f35f40a3dd876b0cbf16bef61895a8340bea88310ed49551c0",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/availability-samples.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/rollback-start.txt",
|
||||||
|
"sha256": "f84a158de836a1f9faa69adf93458314ac3ff16c2e484386e88b1d545a4c68a1",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/rollback-start.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/rollback-verified.txt",
|
||||||
|
"sha256": "ae6f171402e1bca0407d7606e817daff72baa08b0ed5e8bfb0c4b19e6cbbe310",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/rollback-verified.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/reports/v1-production.yml",
|
||||||
|
"sha256": "68a4ae913aaa71ea3ad693dce56239ec8360c2c9108b90b8d561ff18abff52f5",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/artifact/reports/v1-production.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-failure/1/reports/failure-start.txt",
|
||||||
|
"sha256": "53f013f0ece370dd50e68536763199f5a8ba7e0473348b6e6a576023757a789c",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-failure/1/artifact/reports/failure-start.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-failure/1/reports/staging.yml",
|
||||||
|
"sha256": "8b11277db0d3f0f3fa23d100105419caaabc7ed237f325063ff60a2d051dcfad",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-failure/1/artifact/reports/staging.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/reports/health.json",
|
||||||
|
"sha256": "b5e2937446977598e4214035f232d7d885f6b7cf6566e13dd8e42a75f0853e1c",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/health.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/reports/identity.json",
|
||||||
|
"sha256": "907b2d7480b4aac01cda066e9754c55c28d517b5837c7c4a8ea16a2b8cd84338",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/identity.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/reports/price.json",
|
||||||
|
"sha256": "3835afb15152c4abaf9e7a2747bf2c86f9ccda3e54478fc9be5337582685b23c",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/price.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/reports/recovery-start.txt",
|
||||||
|
"sha256": "b15e4c199be174295201ec574749c9ee362754a58e3e30178b9834889aa35b65",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/recovery-start.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/reports/recovery-verified.txt",
|
||||||
|
"sha256": "1d959bdcec8f871cb4cc7b30cf75994f90076002f21cb2a5c723584135f392f5",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/recovery-verified.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/reports/staging.yml",
|
||||||
|
"sha256": "7ee5cd4483cd3f76cfa01c83230ca23f1109d4662be047fb664e82b9e654aaf4",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/artifact/reports/staging.yml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/3/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "cd5c7301ec510550d458c4ac42a3625e9f62057539247500cb62a7471e7fdd69",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-release/4/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "e0684f93a11f053e445b6658de93d8efe6257e8a63b058cf478be83fe33ac679",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-rollback-v1/1/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "74b883f806bb5eaa53cb31b3f55a748ffa0b8c76e271d1dedcc4512c0cf3bc6f",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-rollback-v1/1/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-failure/1/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "c4ffc21120b2a7f69e860e7865e4039ce6689cac4893975a7dc01951a594c8c1",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-failure/1/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-staging-recovery/1/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "74b883f806bb5eaa53cb31b3f55a748ffa0b8c76e271d1dedcc4512c0cf3bc6f",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-staging-recovery/1/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-secret-gate-demo/4/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "414fe9bcd24a2b5ca60376e87f055e695bf25dd378d42874e522d7bb019a2024",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-secret-gate-demo/4/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "assignment8-test-gate-demo/1/redacted-log-excerpt.txt",
|
||||||
|
"sha256": "9d802ce7a63f3cf9cb9ad515daea130a4ebb427ba3fad6fc7b065b28be7a5ccb",
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-test-gate-demo/1/console",
|
||||||
|
"note": "Selected non-secret lines only; use original archived run for full context."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,142 @@
|
|||||||
|
{
|
||||||
|
"collected_utc": "2026-11-08T16:34:55.981764+00:00",
|
||||||
|
"runs": {
|
||||||
|
"3": {
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/3/console",
|
||||||
|
"selected_nonsecret_lines": [
|
||||||
|
"[2026-11-07T22:34:38.502Z] Ran 3 tests in 0.056s",
|
||||||
|
"[2026-11-07T22:34:40.697Z] No known vulnerabilities found",
|
||||||
|
"[2026-11-07T22:34:50.357Z] Secret scanner exit status: 0",
|
||||||
|
"[2026-11-07T22:37:01.948Z] TASK [Gathering Facts] *********************************************************",
|
||||||
|
"[2026-11-07T22:37:16.393Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:37:16.393Z] TASK [Validate release selection] **********************************************",
|
||||||
|
"[2026-11-07T22:37:16.393Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:37:16.393Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:37:16.396Z] TASK [Create deployment directory] *********************************************",
|
||||||
|
"[2026-11-07T22:37:19.308Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:37:19.308Z] TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"[2026-11-07T22:37:30.151Z] TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[2026-11-07T22:38:04.481Z] TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"[2026-11-07T22:38:12.044Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:38:12.045Z] TASK [Read release identity] ***************************************************",
|
||||||
|
"[2026-11-07T22:38:18.155Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:38:18.155Z] TASK [Exercise business behavior] **********************************************",
|
||||||
|
"[2026-11-07T22:38:27.064Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:38:27.064Z] TASK [Check release identity and calculation] **********************************",
|
||||||
|
"[2026-11-07T22:38:27.064Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:38:27.065Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:38:27.065Z] PLAY RECAP *********************************************************************",
|
||||||
|
"[2026-11-07T22:39:47.530Z] TASK [Gathering Facts] *********************************************************",
|
||||||
|
"[2026-11-07T22:39:47.530Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.530Z] TASK [Validate release selection] **********************************************",
|
||||||
|
"[2026-11-07T22:39:47.530Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:39:47.531Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:39:47.531Z] TASK [Create deployment directory] *********************************************",
|
||||||
|
"[2026-11-07T22:39:47.531Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.532Z] TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"[2026-11-07T22:39:47.532Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.532Z] TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[2026-11-07T22:39:47.532Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.532Z] TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"[2026-11-07T22:39:47.532Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.532Z] TASK [Read release identity] ***************************************************",
|
||||||
|
"[2026-11-07T22:39:47.532Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.532Z] TASK [Exercise business behavior] **********************************************",
|
||||||
|
"[2026-11-07T22:39:47.532Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:39:47.533Z] TASK [Check release identity and calculation] **********************************",
|
||||||
|
"[2026-11-07T22:39:47.533Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:39:47.533Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:39:47.533Z] PLAY RECAP *********************************************************************",
|
||||||
|
"[2026-11-07T22:39:47.533Z] startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ",
|
||||||
|
"[2026-11-07T22:44:41.461Z] TASK [Gathering Facts] *********************************************************",
|
||||||
|
"[2026-11-07T22:44:51.897Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:44:51.899Z] TASK [Validate release selection] **********************************************",
|
||||||
|
"[2026-11-07T22:44:51.899Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:44:51.899Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:44:51.902Z] TASK [Create deployment directory] *********************************************",
|
||||||
|
"[2026-11-07T22:44:57.526Z] TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"[2026-11-07T22:45:14.454Z] TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[2026-11-07T22:45:46.476Z] TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"[2026-11-07T22:45:55.457Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:45:55.464Z] TASK [Read release identity] ***************************************************",
|
||||||
|
"[2026-11-07T22:46:02.323Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:46:02.323Z] TASK [Exercise business behavior] **********************************************",
|
||||||
|
"[2026-11-07T22:46:08.340Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:46:08.340Z] TASK [Check release identity and calculation] **********************************",
|
||||||
|
"[2026-11-07T22:46:08.746Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:46:08.746Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:46:08.746Z] PLAY RECAP *********************************************************************",
|
||||||
|
"Finished: SUCCESS"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"source": "https://ci.myfileagent.tech/job/assignment8-release/4/console",
|
||||||
|
"selected_nonsecret_lines": [
|
||||||
|
"[2026-11-07T22:57:07.313Z] Ran 3 tests in 0.061s",
|
||||||
|
"[2026-11-07T22:57:10.242Z] No known vulnerabilities found",
|
||||||
|
"[2026-11-07T22:57:32.642Z] Secret scanner exit status: 0",
|
||||||
|
"[2026-11-07T22:59:03.452Z] TASK [Gathering Facts] *********************************************************",
|
||||||
|
"[2026-11-07T22:59:14.723Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:59:14.723Z] TASK [Validate release selection] **********************************************",
|
||||||
|
"[2026-11-07T22:59:15.463Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T22:59:15.463Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T22:59:15.466Z] TASK [Create deployment directory] *********************************************",
|
||||||
|
"[2026-11-07T22:59:22.526Z] ok: [startup]",
|
||||||
|
"[2026-11-07T22:59:22.528Z] TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"[2026-11-07T22:59:39.496Z] TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[2026-11-07T23:00:22.321Z] TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"[2026-11-07T23:00:29.870Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:00:29.870Z] TASK [Read release identity] ***************************************************",
|
||||||
|
"[2026-11-07T23:00:37.959Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:00:37.960Z] TASK [Exercise business behavior] **********************************************",
|
||||||
|
"[2026-11-07T23:00:44.268Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:00:44.268Z] TASK [Check release identity and calculation] **********************************",
|
||||||
|
"[2026-11-07T23:00:44.268Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T23:00:44.270Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T23:00:44.270Z] PLAY RECAP *********************************************************************",
|
||||||
|
"[2026-11-07T23:02:33.254Z] TASK [Gathering Facts] *********************************************************",
|
||||||
|
"[2026-11-07T23:02:33.254Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.254Z] TASK [Validate release selection] **********************************************",
|
||||||
|
"[2026-11-07T23:02:33.254Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T23:02:33.254Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T23:02:33.255Z] TASK [Create deployment directory] *********************************************",
|
||||||
|
"[2026-11-07T23:02:33.255Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.255Z] TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"[2026-11-07T23:02:33.255Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.255Z] TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[2026-11-07T23:02:33.255Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.255Z] TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"[2026-11-07T23:02:33.255Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.257Z] TASK [Read release identity] ***************************************************",
|
||||||
|
"[2026-11-07T23:02:33.257Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.257Z] TASK [Exercise business behavior] **********************************************",
|
||||||
|
"[2026-11-07T23:02:33.257Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:02:33.258Z] TASK [Check release identity and calculation] **********************************",
|
||||||
|
"[2026-11-07T23:02:33.258Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T23:02:33.258Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T23:02:33.262Z] PLAY RECAP *********************************************************************",
|
||||||
|
"[2026-11-07T23:02:33.262Z] startup : ok=9 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ",
|
||||||
|
"[2026-11-07T23:04:08.810Z] TASK [Gathering Facts] *********************************************************",
|
||||||
|
"[2026-11-07T23:04:25.462Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:04:25.462Z] TASK [Validate release selection] **********************************************",
|
||||||
|
"[2026-11-07T23:04:26.457Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T23:04:26.457Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T23:04:26.458Z] TASK [Create deployment directory] *********************************************",
|
||||||
|
"[2026-11-07T23:04:34.048Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:04:34.048Z] TASK [Render selected Compose configuration] ***********************************",
|
||||||
|
"[2026-11-07T23:04:42.725Z] TASK [Converge application without rebuilding] *********************************",
|
||||||
|
"[2026-11-07T23:05:24.330Z] TASK [Verify health through public TLS endpoint] *******************************",
|
||||||
|
"[2026-11-07T23:05:28.963Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:05:28.963Z] TASK [Read release identity] ***************************************************",
|
||||||
|
"[2026-11-07T23:05:37.475Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:05:37.475Z] TASK [Exercise business behavior] **********************************************",
|
||||||
|
"[2026-11-07T23:05:41.153Z] ok: [startup]",
|
||||||
|
"[2026-11-07T23:05:41.154Z] TASK [Check release identity and calculation] **********************************",
|
||||||
|
"[2026-11-07T23:05:41.477Z] ok: [startup] => {",
|
||||||
|
"[2026-11-07T23:05:41.477Z] \"msg\": \"All assertions passed\"",
|
||||||
|
"[2026-11-07T23:05:41.477Z] PLAY RECAP *********************************************************************",
|
||||||
|
"Finished: SUCCESS"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 381 KiB |
|
After Width: | Height: | Size: 403 KiB |
|
After Width: | Height: | Size: 344 KiB |
|
After Width: | Height: | Size: 945 KiB |
|
After Width: | Height: | Size: 199 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 11 KiB |