Files

72 lines
4.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Assignment 8 evidence
## Reviewed Jenkins execution, 15 November 2026
PRs 24–26 are merged. The actual [test/secret gate demonstrations](evidence/gates-20261115.md)
blocked as intended. [Release attempt 3](evidence/release-attempt-3-20261115.md)
published v1 and stopped at the Ansible PTY request. After that correction
merged, [release attempt 4](evidence/release-attempt-4-20261115.md) passed initial
staging checks but its unchanged rerun stopped at Docker's health timeout.
Eight isolated diagnostic probes passed with ten seconds instead of three.
After review, [builds 5 and 6](evidence/releases-20261115.md) completed v1/v2
promotions, zero-change reruns and actual human approvals. Production monitoring
is live; one HTTP 502 sample during v2 replacement is preserved. The exact
successful records and staging-only fault/revert history await review before
recovery. Both recovery exercises remain unexecuted.
## Preparation evidence — historical baseline
All timestamps below are UTC on 14 November 2026. No assessed application
release, image publication, production approval or rollback has occurred yet.
| Check | Actual result |
|---|---|
| 19:50 user-run original target baseline | 961 MiB RAM, 126 MiB available, 752 MiB swap used; deploy account absent |
| 20:15 post-resize SSH check | 1,967 MiB RAM, 1,008 MiB available, 101 MiB swap used; disk unchanged; seven containers up; zero failed systemd units |
| Post-maintenance external HTTPS | Gitea, Jenkins and Grafana login routes each returned HTTP 200 from laptop |
| 20:04 local runtime smoke | Gunicorn, UID 10001, read-only root/capability drops, 64 MiB cap; health v1, explicit `uncommitted-preflight` identity, total 30, invalid input HTTP 400 |
| 19:55 synthetic secret gate | Blocked; actual scanner detected the generated fixture; exit status 1 |
| 20:27 controlled wrong-price test | Three original tests passed; extra expected=-1 assertion failed; exit status 1 |
| 20:40 restored local app baseline | Three tests passed; exit status 0 |
| 20:32 full runtime image gate | Passed, zero HIGH/CRITICAL findings; full JSON and tool/database metadata retained |
| 21:00–21:01 final source/dependency gate | Passed; source scanner and pip-audit exit status 0 |
| Linux regression/syntax checks | Existing two tests and 12 delivery-control tests passed; Ansible syntax passed |
| Jenkins/Compose validation | Dedicated delivery pipeline validated using installed declarative parser; final agent Compose configuration validated |
| Proxy/monitoring candidates | Installed Caddy validation and Prometheus promtool syntax checks passed; candidates were not reloaded or applied |
| 20:40:49 Jenkins bootstrap | Exclusive node and folder-scoped credentials created; pricing release job disabled; earlier jobs retained |
| 20:42:28 agent connection | WebSocket opened; agent connected; no agent host port published |
| 20:46 agent prerequisite build 1 | SUCCESS; real Jenkins credential binding, pinned SSH host key, deploy login, sudo, Python/Docker/Compose prerequisites |
The final preflight image was local only, tagged
`ssw590-pricing:preflight-v1-runtime`. It is not a reviewed source release or
published registry RepoDigest. Earlier Debian and installer-containing Alpine
image scans were blocked and retained; no security exception was added.
Raw local reports: ignored `build/evidence/assignment8-local/`. Publicly
versioned prerequisite inventory: `evidence/agent-preflight-1.txt`.
Jenkins evidence: [build 1](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/1/)
and its [tool inventory artifact](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/1/artifact/build/preflight/tools-and-target.txt).
Jenkins requires existing approved-network access and login as applicable.
Remaining assessed evidence must come from actual reviewed v1/v2 pipeline
runs, not these local checks. See `ISSUE.md` and `RUNBOOKS.md`.
## Later agent migration
The agent subsequently moved to The-Ocean at Vincent's direction to remove
campus SSH dependence. [Migration record](evidence/agent-migration-20261114.md)
distinguishes the actual remote prerequisite build 2 and bounded capacity trial
from the initial laptop checks above. UTC dates cross into November 15 while
the client's Eastern date is still November 14. At that point the PDF runner
was unchanged. It subsequently moved too; see the
[manual runner migration record](../gitea/droplet-runner/EVIDENCE.md).
Assessed releases and recovery are still pending.
## DNS and TLS readiness
On 15 November Billy's two DNS records were verified and Caddy's prepared
routes applied. Both names have trusted TLS and HTTP 308 redirects; HTTPS
returns 502 while pricing backends are absent. See the
[dated HTTPS evidence](evidence/https-20261115.md). Application deployment,
production monitoring and assessed recovery evidence remain pending.