Skip to content

Instantly share code, notes, and snippets.

View kyle-annen's full-sized avatar
🏠
Working from home

Kyle Annen kyle-annen

🏠
Working from home
  • Chicago
  • 06:16 (UTC -05:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kyle-annen on github.
  • I am kyleeannen (https://keybase.io/kyleeannen) on keybase.
  • I have a public key ASCBYXYUEOuF4UM8n52LSOcY60xNvJWlGX8WZKIU8_gh3Qo

To claim this, I am signing this object:

#!/usr/bin/env ruby
file_with_failure = "spec/folder/flaky_spec.rb"
spec_files = Dir["spec/folder/**/*_spec.rb"]
.reject {|file| file == file_with_failure}
spec_files.each do |spec_file|
command = “rspec spec --order defined”
result = system("#{command} #{spec_file} #{file_with_failure}"
flowchart
  branchOff[Create feature branch off master] --->|active development via atomic commits| push[push feature branch to Github]
  push --->|fill out as much of the PR template as possible| draft[Pull request opened as Draft]
  
  draft ---> active[Active development] 
  active ---> markReady[PR is marked Ready for Review<br/>or<br/>Review re-requested]
  markReady --->|Post PR for review in #pull_requests Slack Channel| inReview{PR in Review}
  
 inReview ---&gt;|Changes Requested| active 
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]