Update secure-delivery/runbooks/CLEANUP.md
startup-product-ci/pipeline/head This commit looks good
startup-product-ci/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-11 03:22:28 +00:00
parent 1e467a24d7
commit 88575c6612
+10 -9
View File
@@ -28,15 +28,16 @@ Chapter 6 cleanup must never involve stopping the Docker daemon or deleting shar
Only resources created specifically for Chapter 6 may be removed:
Resource Cleanup Condition
pricing-staging Compose project After grading and authorization
pricing-production Compose project After grading and authorization
/opt/startup/pricing-staging After deployment records are preserved
/opt/startup/pricing-production After deployment records are preserved
Chapter 6-specific Caddy routes After application containers are removed
Chapter 6-specific monitoring targets After monitoring evidence is preserved
Chapter 6-specific Jenkins credentials After confirming they are not shared
Chapter 6-specific registry images Only when retention is no longer required
| Resource | Cleanup Condition |
|---|---|
| `pricing-staging` Compose project | After grading and authorization |
| `pricing-production` Compose project | After grading and authorization |
| `/opt/startup/pricing-staging` | After deployment records are preserved |
| `/opt/startup/pricing-production` | After deployment records are preserved |
| Chapter 6-specific Caddy routes | After application containers are removed |
| Chapter 6-specific monitoring targets | After monitoring evidence is preserved |
| Chapter 6-specific Jenkins credentials | After confirming they are not shared |
| Chapter 6-specific registry images | Only when retention is no longer required |
Do not assume a resource is exclusive to Chapter 6 without verifying ownership.