Restore Stage availability with explicit runtime provisioning rollback
Deploy Canina / deploy (push) Successful in 1m32s
Deploy Canina / deploy (push) Successful in 1m32s
This commit is contained in:
1 parent
4388a5c2e6
commit
8c435ab09e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user