Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How we ship GitHub with GitHub -- ChatOps

5df67047ff8dd67c1f3b7e0f9b48c2ee?s=47 Takafumi Ikeda
September 11, 2017

How we ship GitHub with GitHub -- ChatOps

5df67047ff8dd67c1f3b7e0f9b48c2ee?s=128

Takafumi Ikeda

September 11, 2017
Tweet

Transcript

  1. How people build software ! " How we ship GitHub

    with GitHub
  2. How people build software Who am I? 2 ! a

    ikeike443
  3. How people build software $ % TAKAFUMI IKEDA SOLUTIONS ENGINEER

    Who am I? 3 !
  4. How people build software νʔϜ։ൃ࣮ફೖ໳ 4 !

  5. How people build software ! Agenda 5 •What is GitHub

    •GitHub Flow & ChatOps •Examples of ChatOps at GitHub • Shipping • Incident management •The other stuff in ChatOps •Appendix •Q&A
  6. How people build software ! 6

  7. How people build software ! GitHub 7

  8. How people build software ! GitHub is distributed 8

  9. How people build software ! 9

  10. How people build software Tools&Flows 10 ! •GitHub Flow •Hubot&Slack

  11. Create a Feature Branch

  12. Add commits

  13. Open a Pull Request

  14. Discuss and Review Code

  15. the best way to build and ship software Get CI

    status back in PR 15 !
  16. the best way to build and ship software Continuous Integration

    16 !
  17. Ship

  18. How people build software ! Golden Rule 18 • master

    is always stable. • Nothing should be merged into master before being deployed. • Whatever is deployed should always contain master. • If a deployed branch contains bad code, fix it by deploying master.
  19. Merge with master

  20. How people build software ! 20

  21. How people build software ! 21

  22. How people build software ! Deployment 22

  23. How people build software ! 23 350

  24. How people build software ! Step1 Where Can I Deploy?

    24
  25. How people build software ! Step2 Queue me to deploy

    25
  26. How people build software ! Step3 Deploy 26

  27. How people build software ! What if your branch is

    behind 27
  28. How people build software ! 28 There is no Step

    3
  29. How people build software ! Haystack 29

  30. How people build software ! GraphMe 30

  31. the best way to build and ship software Get deployment

    status back in PR 31 !
  32. the best way to build and ship software Deployment API

    32 !
  33. How people build software ! Quick plug… 33

  34. How people build software ! Oh 34 !

  35. How people build software ! Oh 35 ! hubot ack

    12345
  36. How people build software ! Oh 36 ! hubot ack

    12345 hubot graph me -1w @unicorn.listeners.github
  37. How people build software ! Oh 37 ! hubot ack

    12345 hubot graph me -1w @unicorn.listeners.github These unicorn listener warnings are going to cause problems soon and we're hurting for capacity right now
  38. How people build software ! Oh 38 ! hubot ack

    12345
  39. How people build software ! Oh 39 ! hubot ack

    12345 hubot graph me -1w @unicorn.listeners.api.v.dotcom
  40. How people build software ! Oh 40 ! hubot ack

    12345 hubot graph me -1w @unicorn.listeners.api.v.dotcom Whatever it is, its doesn’t seem to be impacting the API.
  41. How people build software ! Oh 41 ! hubot graph

    me -1day @github.browser.response.times Hmm, looks like lots of requests to list repository issues and releases
  42. How people build software ! Oh 42 ! I’m going

    to add 10 more FEs until we figure this thing out.
  43. How people build software ! Oh 43 ! I’m going

    to add 10 more FEs until we figure this thing out. hubot gpanel host bulk-install app=github role=fe count=10
  44. How people build software ! Oh 44 ! I’m going

    to add 10 more FEs until we figure this thing out. hubot gpanel host bulk-install app=github role=fe count=10 hubot graph me -1h @unicorn.listeners.api.v.dotcom
  45. How people build software ! 45 ! SHARED CONTEXT

  46. How people build software ! 46 ! KNOWLEDGE EXPERTS CAN

    EMPOWER EVERYONE
  47. How people build software % What’s more? 47

  48. the best way to build and ship software Repo activity

    in the chat room 48 !
  49. the best way to build and ship software Chat room

    activity in Issues 49 !
  50. the best way to build and ship software Hubot has

    your back 50 !
  51. the best way to build and ship software Hubot has

    your back 51 !
  52. the best way to build and ship software Ask for

    graphs or logs 52 !
  53. How people build software Set up CI 53 !

  54. the best way to build and ship software Fun stuff

    54 !
  55. How people build software 55 !

  56. !

  57. the best way to build and ship software a github/scientist

    57 !
  58. How people build software ! Code refactoring with Scientist 58

  59. How people build software ! Code refactoring with Scientist 59

  60. the best way to build and ship software a jnunemaker/flipper

    60 !
  61. How people build software ! Feature toggles 61

  62. How people build software " ! Thank you!

  63. ! Questions?