Slide 1

Slide 1 text

Hubot: the Hubber that never sleeps

Slide 2

Slide 2 text

@samlambert @isamlambert samlambert.com ! " #

Slide 3

Slide 3 text

what is GitHub?

Slide 4

Slide 4 text

4m users 10m repositories GitHub.com

Slide 5

Slide 5 text

who are GitHub?

Slide 6

Slide 6 text

San Francisco

Slide 7

Slide 7 text

245 people 144 remote

Slide 8

Slide 8 text

build

Slide 9

Slide 9 text

ship

Slide 10

Slide 10 text

major changes and features weekly

Slide 11

Slide 11 text

whenever wherever

Slide 12

Slide 12 text

communication

Slide 13

Slide 13 text

where?

Slide 14

Slide 14 text

150+ chat rooms

Slide 15

Slide 15 text

what?

Slide 16

Slide 16 text

900+

Slide 17

Slide 17 text

/ci

Slide 18

Slide 18 text

/deploy

Slide 19

Slide 19 text

/graph me

Slide 20

Slide 20 text

/nagios

Slide 21

Slide 21 text

/mysql

Slide 22

Slide 22 text

/mysql backup /mysql backup-list /mysql clone /mysql cluster /mysql digest /mysql digest-collect /mysql digest-detail /mysql digest-issue /mysql drop /mysql drop-check /mysql drop-list /mysql engine /mysql explain /mysql gather /mysql inno /mysql kill /mysql kills /mysql nibble /mysql panic /mysql processlist /mysql restore /mysql table /mysql tables /mysql trigger /mysql truncate

Slide 23

Slide 23 text

/remote

Slide 24

Slide 24 text

/hq me

Slide 25

Slide 25 text

/where is

Slide 26

Slide 26 text

/pug bomb

Slide 27

Slide 27 text

why?

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

+237 more

Slide 38

Slide 38 text

context

Slide 39

Slide 39 text

teamwork

Slide 40

Slide 40 text

development flow

Slide 41

Slide 41 text

samlambert pushed 2 commits to shell/branch - shell command - define pid file

Slide 42

Slide 42 text

samlambert pushed 2 commits to shell/branch - shell command - define pid file Build #1132212 (9cf41ef) of shell/branch failed - 1 failure (66s)

Slide 43

Slide 43 text

samlambert pushed 2 commits to shell/branch - shell command - define pid file Build #1132212 (9cf41ef) of shell/branch failed - 1 failure (66s) samlambert pushed 1 commit to shell/branch - i done messed up

Slide 44

Slide 44 text

samlambert pushed 2 commits to shell/branch - shell command - define pid file Build #1132222 (818dd29) of shell/branch was successful (6s) Build #1132212 (9cf41ef) of shell/branch failed - 1 failure (66s) samlambert pushed 1 commit to shell/branch - i done messed up

Slide 45

Slide 45 text

/deploy shell/branch to production samlambert is deploying shell/branch (b6320b0..cc1k2d6) to production

Slide 46

Slide 46 text

/graph me -15min @some_metric

Slide 47

Slide 47 text

/deploy shell to production samlambert is deploying shell/master (b6320b0..cc1k2d6) to production

Slide 48

Slide 48 text

why?

Slide 49

Slide 49 text

things go wrong

Slide 50

Slide 50 text

[nagios] webserver123.example.com/check is CRITICAL

Slide 51

Slide 51 text

/status yellow We are experiencing problems

Slide 52

Slide 52 text

ops on the move

Slide 53

Slide 53 text

/mitigate

Slide 54

Slide 54 text

how?

Slide 55

Slide 55 text

hubot

Slide 56

Slide 56 text

hubot.github.com

Slide 57

Slide 57 text

node.js ! coffeescript

Slide 58

Slide 58 text

Campfire Hipchat IRC Twitter Twilio iMessage Gtalk Skype XMPP + more

Slide 59

Slide 59 text

hosting

Slide 60

Slide 60 text

scripts

Slide 61

Slide 61 text

robot.respond /do something(.*)/i, (msg) -> msg.reply “I am doing something" return

Slide 62

Slide 62 text

wrapper

Slide 63

Slide 63 text

shell

Slide 64

Slide 64 text

community scripts

Slide 65

Slide 65 text

janky

Slide 66

Slide 66 text

heaven

Slide 67

Slide 67 text

github.com/github/hubot-scripts

Slide 68

Slide 68 text

github.com/samlambert/hubot-mysql-chatops

Slide 69

Slide 69 text

Questions?

Slide 70

Slide 70 text

@samlambert @isamlambert samlambert.com ! " #