Restore Stage availability with explicit runtime provisioning rollback
Deploy Canina / deploy (push) Successful in 1m32s

This commit is contained in:
devops committed 2026-10-23 18:31:23 +00:00
1 parent 4388a5c2e6
commit 8c435ab09e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ git checkout --detach "$DEPLOY_SHA"
source scripts/rollout-stage.sh
if [ "${STAGE_PROVISION_ENABLED:-false}" = true ]; then
stage_runtime_provision
elif [ -e /opt/services/canina/stage-runtime ]; then
elif [ -e /opt/services/canina/stage-runtime ] && [ "${STAGE_PROVISION_ENABLED:-}" != false ]; then
echo 'ERROR: existing runtime requires explicit Stage CI opt-in on every deploy' >&2
exit 2
fi