Skip to content

Instantly share code, notes, and snippets.

@Serneum
Forked from kyle-annen/deploy process diagram.md
Last active March 1, 2024 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Serneum/bb3752afd5f18ebe58127cc88ad04fbd to your computer and use it in GitHub Desktop.
Save Serneum/bb3752afd5f18ebe58127cc88ad04fbd to your computer and use it in GitHub Desktop.
flowchart
  approved[PR Passes CI<br/>and<br/>Two PR Review Approvals] --->|Announce deployment 7 min<br/>ahead of planned deploy<br/>in #deployment| mergeRepoPR[Merge PR into repo at<br/>originally indicated deployment window]
  mergeRepoPR ---> prActions(GitHub action `create-release` is triggered<br/>tags branch for release<br/>creates release<br/>)
  prActions --->|notifies AppState of release| merge(AppState GitHub action creates deployment)
  merge ---> |Monitor the deploy as indicated<br/>in the AppState PR description| determine[Determine deployment outcome]
  determine --->|If unsuccessful| rollback[Perform a roll-forward, when possible]
  determine --->|On successfull deployment| announce[Announce successful deployment<br/>in the same #deployments thread] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment