fix(ci): install durable Stage cleanup worker during guarded rollout
This commit is contained in:
1 parent
104abf904f
commit
b9bba1f129
4 files changed
+106
-5
No files matched your search
@@ -2,11 +2,12 @@
|
||||
|
||||
This change replaces the SHA-pinned transient timer with a root-owned intent journal
|
||||
and a fixed host systemd retry worker. No host service is installed or enabled by
|
||||
the CI credential command. Deployment must first install the reviewed worker as
|
||||
`/opt/services/canina/stage-principal-cleanup.py` (root:root 0755), install the two
|
||||
supplied systemd units under `/etc/systemd/system`, daemon-reload, and enable/start
|
||||
`canina-stage-principal-cleanup.timer`. This is a promotion prerequisite, NOT an
|
||||
instruction to run these actions during review. The open wrapper refuses to operate
|
||||
the CI credential command. The tracked `deploy.yml` → `ci-host-deploy.sh` →
|
||||
`deploy.sh` path invokes `install-stage-principal-cleanup.py` from the verified
|
||||
immutable release before `stage_rollout`. It atomically installs the root-owned
|
||||
worker (0755) and supplied systemd units (0644), reloads systemd, enables/starts
|
||||
the timer and verifies enabled/active state. Failure aborts rollout. No manual
|
||||
sudo provisioning is required or permitted during review. The open wrapper refuses to operate
|
||||
without an enabled and active timer. Never overwrite or delete the 0700 root-owned
|
||||
`/opt/services/canina/stage-principal-cleanup` journal during deployments.
|
||||
|
||||
|
||||
Reference in new issue
Block a user