Allow constrained pricing health checks to complete

This commit is contained in:
2026-11-15 21:54:21 -05:00
parent a19fab34e3
commit 34f26e6948
15 changed files with 460 additions and 67 deletions
+18 -13
View File
@@ -1,7 +1,7 @@
# Secure Delivery and Rollback — Assignment 8
The active application starts with the instructor's Startup Pricing Service
v1 from `Examples.zip`, `Examples/dosSecureDelivery/v1/`. The deployment
The application is adapted from the instructor's Startup Pricing Service
v1 in `Examples.zip`, `Examples/dosSecureDelivery/v1/`. The deployment
starters come from that bundle's `ansible/` directory. The task follows
Chapter 6 of instructor manual version 1.43.
@@ -13,16 +13,19 @@ generated by Jenkins from reviewed source.
Current execution status, 15 November: PR 24 is merged and the delivery job
is enabled. Real Jenkins test/secret demonstrations blocked as intended. The
first v1 image was scanned and published, but staging stopped before any app
change because Ansible requested a PTY forbidden by the deploy key. The
noninteractive inventory correction and expanded, passing Ansible preflight
await review/merge. See [gate evidence](evidence/gates-20261115.md) and
[release attempt 3](evidence/release-attempt-3-20261115.md).
first v1 image was scanned and published, but staging stopped at a PTY request.
PR 25's noninteractive correction is now merged. Build 4 passed initial staging
health/identity/price checks, then the unchanged rerun blocked on the three-second
Docker health deadline. Eight diagnostic probes passed at ten seconds under the
same limits. This health correction and a separate v2 source/test change await
review. See [build 4 and the trial](evidence/release-attempt-4-20261115.md).
Run the tests from `app/` after installing its requirements into the selected
Linux test environment. The expected v1 result for three units is USD 30.
The later v2 source/test change will be a separate reviewed commit and will
return USD 36. The source commit must be baked into each built image.
The prepared v2 source/test change returns USD 36 and must be committed
separately after the v1 health correction. Review both in one PR and use a
merge commit, preserving both SHAs: select the first for v1, then the second
for v2. The source commit must be baked into each built image.
Deployment work uses a dedicated trusted Jenkins agent, immutable images
in the existing Gitea registry, and separate Ansible-managed staging and
@@ -107,13 +110,15 @@ controller's declarative parser checks passed. These are preparation checks;
## Remaining checkpoints
Vincent merged PR #24, including runner migration and HTTPS, after Billy's
latest review. Review/merge the noninteractive Ansible correction before
retrying v1. Create the assignment issue if still absent. Keep main protection.
latest review; PR 25's SSH correction is also merged. Review/merge the health
correction and separate v2 commit before retrying v1. Preserve their history
with a merge commit. Create the assignment issue if still absent. Keep main protection.
Billy added the A
records; Google and Cloudflare now resolve both names to `147.182.178.136`.
On 15 November Caddy's prepared routes were validated and gracefully reloaded;
both names have trusted HTTPS and HTTP redirects. They currently return 502
because the app containers are not deployed. See `evidence/https-20261115.md`.
both names have trusted HTTPS and HTTP redirects. Staging v1 now exists and
passed its first HTTPS checks; production still returns 502. The original TLS
readiness snapshot is `evidence/https-20261115.md`.
The release job is enabled; follow `RUNBOOKS.md` after the corrected source reaches main.
Keep Jenkins and the remote delivery node available. Production approval requires an authorized
human; an agent must not approve unattended.