fix(ops): conservative post-rollout retention and deterministic disk watch
Deploy Canina / deploy (push) Has been cancelled

This commit is contained in:
devops committed 2026-10-26 04:57:33 +00:00
1 parent b4420e54b7
commit 366bc9fc88
8 files changed
+167

No files matched your search

+6
View File
@@ -35,6 +35,7 @@ git clone --no-checkout --single-branch --branch develop https://git.parsaaghayi
cd "$TARGET_DIR"
git cat-file -e "${DEPLOY_SHA}^{commit}"
git merge-base --is-ancestor "$DEPLOY_SHA" origin/develop
git sparse-checkout set --no-cone '/*' '!/graphify-out/'
git checkout --detach "$DEPLOY_SHA"
[ "$(git rev-parse HEAD)" = "$DEPLOY_SHA" ]
# Provision against the pristine approved SHA, before any tracked render edits.
@@ -125,4 +126,9 @@ source scripts/rollout-stage.sh
# This preserves the root-private intent journal and fails closed on timer failure.
python3 scripts/install-stage-principal-cleanup.py
stage_rollout
python3 scripts/test-release-retention.py
# Restore only CI-owned render edits after images and acceptance succeed.
git restore -- .dockerignore nginx.conf
python3 scripts/install-disk-watch.py
python3 scripts/release-retention.py --apply --environment stage --current-sha "$DEPLOY_SHA" > /opt/services/canina/tmp/retention-stage.json
echo 'Deployment for develop completed successfully!'