Created
August 16, 2018 19:48
-
-
Save peter-wilkins/cd5fe634da375bf518c60a080039615b to your computer and use it in GitHub Desktop.
# cannot deploy when no companies or topics are staged
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cannot deploy when no companies or topics are staged | |
# deployCompaniesAndTopics only when atleast on topic is staged | |
# cannot start reprocessing job if one is already running | |
# | |
Reprocessing | |
Ready | |
deployCompaniesOnly -> Running | |
deployCompaniesAndTopics -> Running | |
Running | |
setBatchLive -> Ready | |
setBatchFailed -> Ready | |
# there is always a candidate and a live | |
# can only approve candidate if no staged or deploying | |
Deployments& | |
candidate | |
approve -> staged | |
staged | |
deployCompaniesOnly -> deploying | |
deployCompaniesAndTopics -> deploying | |
abandon -> abandoned | |
deploying | |
setBatchLive -> live | |
setBatchFailed -> staged | |
live | |
setBatchLive -> old | |
old | |
abandoned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment