Allow constrained pricing health checks to complete
This commit is contained in:
+20
-12
@@ -1,15 +1,23 @@
|
||||
# Fix noninteractive Ansible deployment over the restricted SSH key
|
||||
# Fix constrained health checks and add pricing v2
|
||||
|
||||
The first reviewed v1 release passed its tests and security gates and published
|
||||
an image, but stopped during Ansible Gathering Facts: Ansible forced a PTY
|
||||
that the dedicated deploy key forbids. Set `ansible_ssh_use_tty=false` in the
|
||||
delivery inventory and extend the administrator preflight to exercise Ansible's
|
||||
actual SSH/sudo path. Keep the key restriction and pinned host verification.
|
||||
Pricing build 4 passed tests/scans and deployed v1 staging with correct HTTPS,
|
||||
source identity and total 30. Its unchanged rerun stopped because Docker's
|
||||
three-second health deadline was too short for Python startup under the
|
||||
0.25 CPU cap. Keep the two-second HTTP timeout and all security/resource limits;
|
||||
extend only Docker's overall health timeout to ten seconds.
|
||||
|
||||
Record the actual Jenkins test/secret blocks, passing image scans and publication,
|
||||
zero-change staging connection failure, and successful connection preflight.
|
||||
No app deployment or production approval is claimed. Retry v1 after merge;
|
||||
v2 promotion, both recoveries and monitoring evidence still remain.
|
||||
An isolated trial of the same reviewed image passed eight consecutive checks
|
||||
in 2.817–5.660 seconds under identical limits. The temporary container had no
|
||||
network, published port or proxy alias and was removed afterward. Preserve the
|
||||
actual failed gate and diagnostic evidence; no production approval is claimed.
|
||||
|
||||
Validation: credential-bound Jenkins agent-preflight build 3 passed and returned
|
||||
root UID 0 through Ansible without a PTY; twelve release-control tests passed.
|
||||
Also prepare the required v2 source/tests: version v2, unit price 12, total 36.
|
||||
Keep two commits: first the health fix with v1 source, then the v2 app/test
|
||||
change. Review both and merge with a merge commit, preserving both SHAs.
|
||||
Jenkins will release the first commit as v1, then the second as v2, each with
|
||||
staging/idempotence checks and separate human production approval. Recovery
|
||||
records will be saved from actual successful builds and reviewed afterward.
|
||||
|
||||
Validation: eight constrained diagnostic probes passed; three local functional
|
||||
tests and twelve control tests passed. Local functional tests used Flask 3.1.3
|
||||
and Werkzeug 3.1.8; assessed Jenkins runs retain the exact 3.1.9 dependency lock.
|
||||
|
||||
Reference in New Issue
Block a user