Slide 1

Slide 1 text

How people build software ! " How we ship GitHub with GitHub

Slide 2

Slide 2 text

How people build software Who am I? 2 ! a ikeike443

Slide 3

Slide 3 text

How people build software $ % TAKAFUMI IKEDA SOLUTIONS ENGINEER Who am I? 3 !

Slide 4

Slide 4 text

How people build software νʔϜ։ൃ࣮ફೖ໳ 4 !

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

How people build software ! 6

Slide 7

Slide 7 text

How people build software ! GitHub 7

Slide 8

Slide 8 text

How people build software ! GitHub is distributed 8

Slide 9

Slide 9 text

How people build software ! 9

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

Create a Feature Branch

Slide 12

Slide 12 text

Add commits

Slide 13

Slide 13 text

Open a Pull Request

Slide 14

Slide 14 text

Discuss and Review Code

Slide 15

Slide 15 text

the best way to build and ship software Get CI status back in PR 15 !

Slide 16

Slide 16 text

the best way to build and ship software Continuous Integration 16 !

Slide 17

Slide 17 text

Ship

Slide 18

Slide 18 text

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.

Slide 19

Slide 19 text

Merge with master

Slide 20

Slide 20 text

How people build software ! 20

Slide 21

Slide 21 text

How people build software ! 21

Slide 22

Slide 22 text

How people build software ! Deployment 22

Slide 23

Slide 23 text

How people build software ! 23 350

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

How people build software ! Step2 Queue me to deploy 25

Slide 26

Slide 26 text

How people build software ! Step3 Deploy 26

Slide 27

Slide 27 text

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

Slide 28

Slide 28 text

How people build software ! 28 There is no Step 3

Slide 29

Slide 29 text

How people build software ! Haystack 29

Slide 30

Slide 30 text

How people build software ! GraphMe 30

Slide 31

Slide 31 text

the best way to build and ship software Get deployment status back in PR 31 !

Slide 32

Slide 32 text

the best way to build and ship software Deployment API 32 !

Slide 33

Slide 33 text

How people build software ! Quick plug… 33

Slide 34

Slide 34 text

How people build software ! Oh 34 !

Slide 35

Slide 35 text

How people build software ! Oh 35 ! hubot ack 12345

Slide 36

Slide 36 text

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

Slide 37

Slide 37 text

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

Slide 38

Slide 38 text

How people build software ! Oh 38 ! hubot ack 12345

Slide 39

Slide 39 text

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

Slide 40

Slide 40 text

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.

Slide 41

Slide 41 text

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

Slide 42

Slide 42 text

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

Slide 43

Slide 43 text

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

Slide 44

Slide 44 text

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

Slide 45

Slide 45 text

How people build software ! 45 ! SHARED CONTEXT

Slide 46

Slide 46 text

How people build software ! 46 ! KNOWLEDGE EXPERTS CAN EMPOWER EVERYONE

Slide 47

Slide 47 text

How people build software % What’s more? 47

Slide 48

Slide 48 text

the best way to build and ship software Repo activity in the chat room 48 !

Slide 49

Slide 49 text

the best way to build and ship software Chat room activity in Issues 49 !

Slide 50

Slide 50 text

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

Slide 51

Slide 51 text

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

Slide 52

Slide 52 text

the best way to build and ship software Ask for graphs or logs 52 !

Slide 53

Slide 53 text

How people build software Set up CI 53 !

Slide 54

Slide 54 text

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

Slide 55

Slide 55 text

How people build software 55 !

Slide 56

Slide 56 text

!

Slide 57

Slide 57 text

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

Slide 58

Slide 58 text

How people build software ! Code refactoring with Scientist 58

Slide 59

Slide 59 text

How people build software ! Code refactoring with Scientist 59

Slide 60

Slide 60 text

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

Slide 61

Slide 61 text

How people build software ! Feature toggles 61

Slide 62

Slide 62 text

How people build software " ! Thank you!

Slide 63

Slide 63 text

! Questions?