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

This commit is contained in:
2026-11-15 18:07:48 -05:00
parent 09731acb03
commit 5b703edc79
15 changed files with 313 additions and 57 deletions
+17 -9
View File
@@ -8,8 +8,16 @@ Chapter 6 of instructor manual version 1.43.
`app/` contains the Flask/Gunicorn service, nine exact direct/transitive
dependencies, and a pinned Python 3.13 Alpine base digest for Linux/amd64.
The inventory selects The-Ocean's dedicated deploy account. The example
release record remains explicitly an example; real registry digests will be
generated by Jenkins after the source has been reviewed and merged.
release record remains explicitly an example; real registry digests are
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).
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.
@@ -60,7 +68,7 @@ No campus SSH connection is needed to run a delivery job from the browser.
passed using the dedicated deploy key, pinned host key and root sudo. Its
non-secret tool inventory is versioned in `evidence/agent-preflight-1.txt`.
The `secure-delivery/pricing` job loads `delivery/Jenkinsfile` from protected
main and is disabled pending reviewed source. Release credentials are scoped
main and was enabled after PR 24 merged. Release credentials are scoped
to that Jenkins folder; the PR job does not bind them or the Docker socket.
The original inventory above is historical. [Remote prerequisite build 2](https://ci.yebilly.me/job/secure-delivery/job/agent-preflight/2/)
@@ -94,19 +102,19 @@ See `RUNBOOKS.md`.
Ansible syntax, agent Compose configuration, and the installed Jenkins
controller's declarative parser checks passed. These are preparation checks;
**v1/v2 registry releases, promotion and recovery are not yet demonstrated**.
**successful v1/v2 deployment, promotion and recovery are not yet demonstrated**.
## Remaining checkpoints
Vincent pushed preparation commit `bf28adc` and opened PR #24. The later
migration changes are uncommitted and need the same review path. Create the
issue and obtain Billy's PR review. Keep main protection. Billy added the A
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.
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`.
Enable the
release job after the reviewed source reaches main, then follow `RUNBOOKS.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.