Record security validation and expand repository scan
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Secure delivery operations (draft)
|
||||
|
||||
These procedures must be updated with verified hostnames, release records, commit links and actual roles before use. Never put passwords, tokens or private keys in release records or logs.
|
||||
|
||||
## Release
|
||||
1. Review source and configuration changes. Record source commit, configuration commit, base digest, locked dependencies, scan reports, build ID, resulting image digest and expected behavior.
|
||||
2. Deploy that digest to staging with the reviewed Ansible configuration. Verify HTTPS health, version, full source commit and price for quantity three. Run the same playbook again and investigate any unexpected changes.
|
||||
3. An authorized person reviews the digest, scan and staging results in Jenkins. Record their identity and decision. If rejected or timed out, stop.
|
||||
4. Promote the same digest to production using its matching release record and verify the same checks. Record times and monitoring observations.
|
||||
|
||||
## Failed staging deployment
|
||||
Stop promotion. Preserve the failed build and checks. Restore the last reviewed template/configuration commit and its matching release record, rerun Ansible and verify HTTPS health, identity and business result. The playbook does not roll back automatically. Avoid changing shared Docker, proxy or monitoring services.
|
||||
|
||||
## Production rollback
|
||||
Record decision and start time. Restore the reviewed v1 deployment configuration and v1 production release record, then run Ansible. Verify health, v1 identity, original source commit and total 30. Record recovery time and observed interruption. This stateless demonstration does not prove a real database migration can be rolled back; use an expand-and-contract compatible migration for stateful services.
|
||||
|
||||
## Cleanup after grading
|
||||
Only when assessment and retention requirements permit, remove the two application projects, their routes, test DNS records and dedicated credentials. Preserve shared volumes, infrastructure and required evidence. Do not use compose down -v or system pruning.
|
||||
Reference in New Issue
Block a user