ChatOps

and

Hubot

David Li

@nevermosby

ChatOps = chatroom + bots

  • Introduced by Github by 2010
  • Core concept: putting tools in the middle of the conversation



Chatroom:

 

  • slack

  • hipchat

  • jabbr -- totally free, Windows

 

Let's Welcome 

robots

Hey,

you've known him/her

for a long time

你还记得当年的。。。

QQ chat robot -- the little I

Flirt with 10086

Hello Hubot from Github

"GitHub wrote the first version of Hubot to automate the company chatroom. Hubot knows how to deploy the site,

automate a lot of task,

and be a source of fun in the company."

hubot and his friends

  • Hubot, written in nodejs and coffeescript
  • Lita, written in ruby
  • Err, written in python
  • CI get <job> last status
  • CI build <job>
  • CI summary <job> period status

hubot triggers CI

  • yammer me: list my own timeline
  • yammer post <body>

hubot triggers Social network

hubot fetchs project Status

  • AGM list <project> sprint <sprint ID>
  • AGM get <project> userstory <user story ID> 
  • AGM get burndown <project> sprint <sprint ID>

High level architecture

future of hubot

Advantages

 

  • Standardizing how we take actions
  • Increasing project awareness
  • Providing a real-time command history
  • Sharing and learning faster than ever
  • Fun

 

DIY time

Build your own hubot by

docker

docker run -d -it --name=hubot guttertec/hubot

docker exec -it hubot zsh

Integrate hubot with ur own service

  • Use APIs
  • If no APIs, make it

Have fun with bots

https://hubot.github.com

Thank you

@nevermosby

ChatOps is coming

By nevermosby lee

ChatOps is coming

Coffee talk sharing

  • 1,030