Files
startup-product/secure-delivery/drills/README.md
T
reviewer f8525aa64d
startup-product-ci/pipeline/pr-main This commit looks good
Record the Jenkins staging failure and recovery drill
2026-11-13 22:37:55 -05:00

15 lines
832 B
Markdown

# Jenkins staging failure drill
The live controller runs this Pipeline on the restricted Chapter 6 agent.
Its two sudo entries permit only the literal arguments `fail` and `restore`
to the root-owned wrapper at `/opt/chapter6-tools/staging-drill`.
The root-owned deployment record is fixed to v1 staging.
The failure stage uses the ordinary Ansible playbook with the wrong-port
template from this directory. Exit 42 means Ansible rejected the unhealthy
staging container as expected. The Pipeline records FAILURE and its post
action restores and verifies the original v1 staging deployment.
[Observed Jenkins drill #1](https://ci.165.227.90.215.sslip.io/job/chapter6-staging-drill/1/).
The checkout does not install any sudo rules. Coordinate with the controller
owner for grader access to the archived failure and recovery logs.