Commit Graph
42 Commits
Author SHA1 Message Date
vsun1 6c5342219a Record verified releases and prepare recovery exercises 2026-11-15 23:00:00 -05:00
vsun1 231d11528a Merge pull request 'Codex/assignment8 v1 v2 evidence' (#26) from codex/assignment8-v1-v2-evidence into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 2m7s
Reviewed-on: #26
Reviewed-by: bill <yebilly4@gmail.com>
2026-11-16 02:57:41 +00:00
vsun1 6bddbfba5a Add pricing v2 at twelve dollars per unit
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-11-15 21:54:21 -05:00
vsun1 34f26e6948 Allow constrained pricing health checks to complete 2026-11-15 21:54:21 -05:00
vsun1 a19fab34e3 Merge pull request 'Fix noninteractive Ansible deployment and record delivery gates' (#25) from codex/assignment8-release-evidence into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 2m7s
Reviewed-on: #25
Reviewed-by: bill <yebilly4@gmail.com>
2026-11-16 01:51:04 +00:00
vsun1 5b703edc79 Fix noninteractive Ansible deployment and record delivery gates
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-11-15 18:07:48 -05:00
vsun1 09731acb03 Merge pull request 'Prepare Assignment 8 secure delivery and rollback' (#24) from codex/assignment8-secure-delivery into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 2m25s
Reviewed-on: #24
Reviewed-by: bill <yebilly4@gmail.com>
2026-11-15 21:59:30 +00:00
vsun1 ed0a862657 Move CI runners to Droplet and enable application HTTPS
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-11-15 12:49:06 -05:00
vsun1 bf28adc7fb Prepare Assignment 8 secure delivery and rollback
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add the locked pricing service, trusted-agent pipeline, Ansible deployments, security gates, recovery runbooks, prerequisite evidence, and preparation manual.

Prepared with Codex assistance. Vincent explicitly authorized this local commit and will handle the push. Assessed releases and recovery exercises remain pending.
2026-11-14 17:09:25 -05:00
vsun1 8beefde2a4 Merge pull request 'Finalize Assignment 7 evidence and documentation (refs #19)' (#23) from codex/assignment7-final-corrections into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 4m32s
Reviewed-on: #23
Reviewed-by: bill <yebilly4@gmail.com>
2026-10-28 20:34:40 +00:00
vsun1 4d1996c0ab Finalize Assignment 7 evidence and local manual builds (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-10-28 16:23:42 -04:00
bill 34c4c7488a Merge pull request 'Add Prometheus/Grafana monitoring and SRE manual chapter (Assignment 7)' (#22) from feature/issue-19-monitoring into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 45s
Reviewed-on: #22
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-10-28 18:18:35 +00:00
billandClaude Opus 5.5 11270cfced Address second chapter audit: accuracy and presentation (refs #19)
vpn-dns-gateway/pipeline/pr-main This commit looks good
A second independent, grader-style review of the built PDF found smaller
gaps; all fixed except template-wide items left unchanged.

- Build comparison: phase labels match the 1-minute rate windows
  (15:17:30 is before the build), 15:19:30 row added, Phase header,
  2-minute vs 1-minute rate difference explained, no-annotation reason,
  and the baseline-build deviation from Step 1 stated.
- Full image digests listed; metric inventory gains a labels column;
  collection-test figure adds the HTTPS resolved capture.
- Corrections: network membership of the exporters, dashboard version
  wording, "two and a half minutes", diagram network name, "A SLO/SLA",
  -- rendering in retention flags, dashboard capture predating the
  I/O-wait line.
- Presentation: login URLs as a list, floats for DNS/dashboard figures,
  split wrapped queries, unbroken restart policy, Grafana OSS casing in
  the bibliography, Windows taskbar cropped from Grafana screenshots.
- Starting commit linked; backup pins alpine:3.22 and documents restore;
  MFA recorded for Billy's Discord and GitHub; EVIDENCE.md records the
  PR #22 approvals, pr-main checks, and the live verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:13:51 -04:00
billandClaude Opus 5.5 249488d6fc Address chapter audit: collection-health alert, hardening, citations (refs #19)
vpn-dns-gateway/pipeline/pr-main This commit looks good
An independent review of the SRE chapter against the instructor's rubric
found gaps; each was fixed and, where operational, tested on the droplet.

Monitoring:
- New Grafana rule "Monitoring target down" (up < 1 for 1 m, no data ->
  Alerting). Tested by stopping Blackbox Exporter 17:34:44-17:37:52 UTC:
  it fired and resolved, and "HTTPS service down" fired on NoData when
  every probe series disappeared.
- Blackbox Exporter runs as nobody (65534) instead of the image's root.
- README: runbook for the new rule; contact-point test prompts for the
  password; secrets section reflects the replaced admin password.

Manual (v5.0):
- Alert table with all three rules and their summaries; runbooks in the
  PDF; accurate no-data description; collection-test figure.
- Diagram shows networks per container and the existing volumes.
- Targets table, CPU counters vs /proc/stat, probe module excerpt,
  container identities and mounts, backup command, exposure commands,
  replaced Grafana admin credential, PR #22 and review gate.
- Bibliography enabled with SRE Workbook and tool documentation.
- Corrected baseline memory figures, Jenkins start-up length, dashboard
  version wording, and start-up order; links point to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:52:13 -04:00
billandClaude Opus 5.5 336eaaefa7 Add SRE monitoring chapter and manual v5.0 (refs #19)
vpn-dns-gateway/pipeline/pr-main This commit looks good
New chapter "Introduction to SRE: Monitoring and Reliability" covering the
eight Assignment 7 rubric rows: deployment and capacity trial, metrics and
probes, HTTPS and exposure tests, dashboard and build comparison, SLI/SLO
worked example and measured window, alert rules and tests, the Jenkins
outage exercise with blameless review (#20, #21), and controls.

- Title page and abstract for Assignment 7 "Grafana and Prometheus SRE --
  Group", version 5.0; Document History entry.
- Hosts table: monitoring containers, ports, volumes, metrics DNS, swap,
  disabled host services, monitoring and backup status.
- Passwords table: Grafana billy and vsun1, monitoring secrets file,
  Discord webhook (hints only).
- Glossary: SLI, SLA, SRE, error budget, exporter, scrape, contact point,
  blameless review. AI prompt log record.
- EVIDENCE.md: SLO window, post-recovery build, probe status codes,
  improvement issues, Grafana accounts. Outage dashboard figure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:08:23 -04:00
billandClaude Opus 5.5 b6cf080618 Record alert tests, Jenkins outage drill, and restart persistence (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
- Dashboard: CPU panel adds an I/O wait series; the background CPU on
  the 1 GiB droplet is mostly swap-in wait, not computation.
- EVIDENCE.md: normal Jenkins build #1 vs host metrics (no attributable
  change), Discord contact-point test, capacity alert test (threshold
  raised to 70% on the droplet, fired after 5 m, restored to 15%),
  controlled Jenkins outage timeline (firing ~2 m after injection,
  recovery ~1 m after restart), and Prometheus/Grafana restart
  persistence with no collection gap.
- Screenshots: build window, disk alert firing/resolved, Jenkins alert
  firing/resolved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:30:30 -04:00
billandClaude Opus 5.5 d3a5e6bc73 Add Prometheus/Grafana monitoring stack (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
Assignment 7 (instructor manual v1.42, Chapter 5): Prometheus, Grafana OSS,
Node Exporter and Blackbox Exporter beside Gitea/Jenkins on The-Ocean, pinned
by tag and digest, memory-capped for the 1 GiB droplet, no host ports.

- monitoring/: compose, scrape and probe config, Grafana provisioning
  (data source, Group 1 SRE dashboard, two alert rules, Discord contact
  point via env var), README with deploy/backup/rollback and runbooks,
  EVIDENCE.md with the deploy, capacity and exposure test records.
- deploy/: private probe network (172.30.90.0/28) with Caddy aliases;
  ci allowlist admits only the Blackbox address 172.30.90.10; new
  metrics.yebilly.me route behind the same allowlist.
- manual images: DNS record, Discord webhook, contact-point test, dashboard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:11:02 -04:00
vsun1 9b0dc4dc52 Merge pull request 'Finalize Assignment 6 documentation corrections' (#18) from codex/assignment6-final-corrections into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 34s
Reviewed-on: #18
Reviewed-by: bill <yebilly4@gmail.com>
2026-10-23 23:15:45 +00:00
vsun1 d54d801020 Finalize Assignment 6 documentation corrections
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-10-23 18:06:07 -04:00
bill ac18f11186 Merge pull request 'Manual 4.1: access path, campus test, audit fixes' (#17) from docs/history-initials into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 34s
Reviewed-on: #17
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-10-23 20:55:12 +00:00
billandClaude Opus 5.5 6152f4777b Address re-audit findings in the Jenkins chapter (v4.1)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
- Add a table of all 14 Gitea webhook deliveries with commits and
  results, and diagnose the real timed-out delivery #3 (Jenkins still
  queued the build two seconds later).
- Redraw the deployment figure as a UML deployment diagram with
  <<device>>/<<container>>/<<artifact>>/<<executionEnvironment>>
  stereotypes; route checkout and status through Caddy.
- Show the stored Jenkins URL, free disk space, and reconciled plugin
  counts (59 tested, 63 locked, 66 installed).
- Correct wording on push rights (jenkins-bot also has Write), the
  resource-limit change, five corrective actions, startup timings, and
  the AI log's backup statement; quote the run-1 checkout.
- Fix the stray tab that printed "extttStevens-Net", the stale
  "version 4.0" sentence, and the overflowing VPN table row; note that
  grader IPs are removed from .env after grading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:01:00 -04:00
billandClaude Opus 5.5 34bd5e6146 Correct Jenkins instructor access path and record campus test (v4.1)
The manual said the instructor could reach ci.yebilly.me from campus or
the Stevens VPN. A GlobalProtect test (sitvpn.stevens.edu, the only
gateway) showed the VPN is split-tunnel: only 155.246.0.0/16 is routed
through it, so off-campus visitors keep their own ISP address and get
403. The approved path is now the campus network (Stevens-Net), with
off-campus graders' addresses added to CI_TEAM_IPS on request.

Vincent's campus test on Stevens-Net (155.246.151.38) loaded the Jenkins
sign-in page; it is added as a figure and a PASS row in the exposure
table alongside the VPN finding. Password field and personal addresses
are redacted. Bumps the manual to 4.1 with a history row and AI log
entry, and updates the Caddyfile comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:46:41 -04:00
billandClaude Opus 5.5 92bc9545e2 Use short AI initials in Document History (CDX, CD)
Replace the tool names in the Author Initials column with initials:
OpenAI Codex -> CDX (matching the existing DDM, CDX rows) and Anthropic
Claude -> CD. GEM is reserved for Google Gemini; no row uses it yet.
Only the initials column changes; dates, versions, and change text are
untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:23:33 -04:00
bill e4f3ce5dfb Merge pull request 'Document Assignment 6 Jenkins CI in the manual' (#16) from docs/assignment6-jenkins-manual into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 32s
Reviewed-on: #16
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-10-23 01:24:41 +00:00
billandClaude Opus 5.5 1149e9fbc3 Document Assignment 6 Jenkins CI in the manual (refs #14)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add the Continuous Integration with Jenkins chapter in the eight rubric
sections: deployment and persistence (capacity test, memory-limit fix,
restart test), HTTPS/access/firewall with IPv4 and IPv6 exposure checks,
webhook traceability with an actual deployment diagram, pipeline stages,
the required pr-main merge gate, PR #15's failure/repair/review/merge
sequence, credentials and controller build boundary, and controls.

Update the Hosts and Passwords tables (1 GiB resize, Jenkins and
ci.yebilly.me, jenkins-bot account and token hints), the title page,
abstract, Document History, glossary, and AI prompt log (including
Vincent's prepared Oct 19-21 record). Note that Assignment 5's PR #13
merged.

Also version pipeline-graph-view and its dependencies in the Jenkins
plugin lockfile, and add Vincent's source-only ci/jenkins-capacity test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:20:31 -04:00
bill 420ba4c56b Merge pull request 'Add Jenkins CI with required merge check' (#15) from feature/issue-14 into main
vpn-dns-gateway/pipeline/head This commit looks good
Automated Manual Build / manual (push) Successful in 30s
Reviewed-on: #15
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-10-23 00:55:20 +00:00
billandClaude Opus 5.5 9381d2aa9a Repair total_price: restore multiplication (refs #14)
vpn-dns-gateway/pipeline/pr-main This commit looks good
Reverts the controlled failure from 52b297c so the Jenkins Test stage
passes again and the required check on PR #15 turns green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 19:15:06 -04:00
billandClaude Opus 5.5 52b297c2f3 Controlled failure: add instead of multiply in total_price (refs #14)
vpn-dns-gateway/pipeline/pr-main There was a failure building this commit
Deliberately breaks the pricing calculation so the Jenkins Test stage
fails (10 + 3 = 13, expected 30) and the required Gitea check blocks
merging PR #15. The next commit restores multiplication.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 19:10:28 -04:00
billandClaude Opus 5.5 ad35197ee4 Add Jenkins CI service, pricing app, tests and Jenkinsfile (refs #14)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Deploy Jenkins LTS 2.580.1 beside Gitea on The-Ocean:
- deploy/jenkins: official image pinned by digest plus python3 and a
  hashed 60-plugin lockfile (Pipeline + Gitea bundle tested by
  ci/jenkins-capacity, plus matrix-auth for named roles)
- compose: jenkins service with persistent jenkins-home, no published
  ports, 512 MiB RAM / 768 MiB RAM+swap / 0.75 CPU, 256 MiB heap
- Gitea webhooks restricted to the private jenkins host; Caddy alias
  keeps Jenkins->Gitea checkout and status traffic on the droplet
- Caddy serves ci.yebilly.me only to Stevens 155.246.0.0/16 and team
  IPs from the untracked .env

Add the instructor's pricing example, unit tests and Declarative
Jenkinsfile (checkout, syntax check, unit tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:55:59 -04:00
vsun1 1389c53165 Merge pull request 'Automate LaTeX manual builds with Gitea Actions' (#13) from codex/assignment5-manual-build into main
Automated Manual Build / manual (push) Successful in 36s
Reviewed-on: #13
Reviewed-by: bill <yebilly4@gmail.com>
2026-10-08 05:19:02 +00:00
vsun1 63bb5ed27e Document successful repair and finalize Assignment 5 evidence (refs #12)
Automated Manual Build / manual (push) Successful in 30s
2026-10-07 22:31:53 -04:00
vsun1 b68425ba13 Repair LaTeX build and document verification (refs #12)
Automated Manual Build / manual (push) Successful in 29s
2026-10-07 20:16:01 -04:00
vsun1 1d2822f8a3 Assignment 5 intentional compilation failure test
Automated Manual Build / manual (push) Failing after 20s
2026-10-07 19:53:37 -04:00
vsun1 0ca3bebe3e Update Assignment 5 title and add first-run evidence (refs #12)
Automated Manual Build / manual (push) Successful in 48s
2026-10-07 19:38:59 -04:00
vsun1 828f6c555b Add automated LaTeX manual build (refs #12)
Automated Manual Build / manual (push) Successful in 1m27s
2026-10-07 18:56:18 -04:00
vsun1 d4d3c02f05 Merge pull request 'Serve Color Buttons app at colors.yebilly.me through Caddy' (#11) from colors-site into main
Reviewed-on: #11
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-09-29 04:01:39 +00:00
bill e84693a05a Serve Color Buttons app at colors.yebilly.me through Caddy 2026-09-28 23:56:27 -04:00
vsun1 f0292ed11c Merge pull request 'Add Gitea deployment files (Compose + Caddyfile)' (#9) from 4-deploy-files into main
Reviewed-on: #9
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-09-27 01:35:20 +00:00
vsun1 6f310c7085 Merge pull request 'Add project description and goals to README' (#8) from 1-readme-description into main
Reviewed-on: #8
Reviewed-by: vsun1 <vsun4046@gmail.com>
2026-09-27 01:34:08 +00:00
bill 7a80342d4e Add Gitea deployment files (Compose + Caddyfile) 2026-09-26 18:33:41 -04:00
bill 4c142b2e11 Add project description and goals to README 2026-09-26 22:32:04 +00:00
bill b1f4f85146 initial README.md 2026-09-26 22:09:59 +00:00