Record the Jenkins staging failure and recovery drill
startup-product-ci/pipeline/pr-main This commit looks good
startup-product-ci/pipeline/pr-main This commit looks good
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user