Skip to content

Instantly share code, notes, and snippets.

@kyle-annen
Created November 1, 2022 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kyle-annen/4180853168fe8fa3ca59213ef61c106e to your computer and use it in GitHub Desktop.
Save kyle-annen/4180853168fe8fa3ca59213ef61c106e to your computer and use it in GitHub Desktop.
flowchart
  approved[PR Passes CI<br/>and<br/>Two PR Review Approvals] --->|Announce deployment 15 min<br/>ahead of planned deploy<br/>in #deployment| mergeRepoPR[Merge PR into repo master]
  mergeRepoPR ---> prActions(Github action `create-release` is triggered<br/>tags branch for release<br/>creates release<br/>)
  prActions --->|notifies AppState of release| appStateActions(AppState Github action creates deployment)
  appStateActions --->|Post AppState PR <br/>to get final AppState approval<br/>in #pull_requests| merge[Merge the AppState PR<br/>at the originally indicated deployment window]
  merge ---> |Monitor the deploy as indicated<br/>in the AppState PR description| determine[Determine deployment outcome]
  determine --->|If unsuccessful| rollback[Perform a roll-back]
  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