Merge "Fix deploy transition state"

This commit is contained in:
Zuul 2024-07-31 19:33:23 +00:00 committed by Gerrit Code Review
commit 4f535ab188

View File

@ -45,7 +45,7 @@ deploy_state_transition = {
# deploy activate
DEPLOY_STATES.ACTIVATE: [DEPLOY_STATES.ACTIVATE_DONE, DEPLOY_STATES.ACTIVATE_FAILED],
DEPLOY_STATES.ACTIVATE_FAILED: [DEPLOY_STATES.ACTIVATE, # deploy activate is reentrant
DEPLOY_STATES.ACTIVATE_ROLLBACK],
DEPLOY_STATES.ACTIVATE_ROLLBACK_PENDING],
DEPLOY_STATES.ACTIVATE_DONE: [DEPLOY_STATES.COMPLETED, DEPLOY_STATES.ACTIVATE_ROLLBACK_PENDING],
# deploy activate rollback