Chatops (Operations automation with a bot)

Card Puncher Data Processing



  • The important phases of development cycle are brought in one place, in one room, a chat room through a bot.
  • Automating common operations task with a bot.
  • Breaking communication wall between different teams.

The bot is the primary control for the whole infrastructure.

The chat becomes a console

By placing tools directly in the middle of the conversation, everyone is pairing all of the time. Teaching by making things visible.


  • Campfire is a web-based group chat tool that lets you set up password-protected chat rooms in just seconds. Invite a client, colleague, or vendor to chat, collaborate, and make decisions. Link to a room on your intranet for internal communications.



Ryan wrote Hubot at Github.

rolling a new version

git checkout -b git-gh13
# bump version number
git commit -am 'Bump git version'
git push origin git-gh13
# create pull request

Change as passed CI (ie Build was succesful)

  • Deploy
hubot deploy puppet to production
  • noop means simulate what happens on that branch git-gh13 against the file server fs1, noop mode simulates the changes
hubot puppet noop git-gh13 fs1 
hubot puppet force git-gh13 fs1
hubot graph me -1h @collectd.load(fs1)
  • The pull request is good, we want to push it in production (everywhere)
#merge pull request
  • To ensure that the master is green
ci runs
# Build 1087 (eragaf66&&) of puppet/master was successful (399s)
  • When the CI passes, the code is deploy in production
auto deploy
  • Now a new version of git is on master. It has been shipped everywhere.
# Puppet shipped it on a interval but you can push it 
hubot puppet force production fs
  • Graph of everything (of all file servers)
hubot graph me -1h @collectd.load(fs*)
  • Logs to make sure that we didn't break anything.
hubot log me hooks github/github


  • CI status of a random branch
hubot ci status github/smoke-perf
  • Roll it out to one file server
hubot deploy github/smoke-perf to prod/fe1
  • Verifying things are return to normal
hubot log me smoke fe1


hubot nagios check fs3b/syslog
hubot nagios status fs3b/syslog
hubot nagios downtime fs3b/syslog 90
hubot nagios mute fs3b/syslog
hubot nagios unmute fs3b/syslog


Documentation / Reference

Discover More
Card Puncher Data Processing
Chat Room

A chatroom is a place where people can discuss rapidly with the help of short messages. slack . Example: - ...
Card Puncher Data Processing
Code Shipping - Change and Deployment Pipeline - Development Lifecycle / Workflow

Deployment pipelines describe how a change in your application moves through your infrastructure into production. It lays out all necessary automated and manual steps. Every step that can be automated...

Share this page:
Follow us:
Task Runner