chatops
TRANSCRIPT
![Page 1: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/1.jpg)
chatops
![Page 2: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/2.jpg)
ChatOps, ~5 years ago
— Hubot open sourced by Github
— talk to bot -> trigger scripts
— DevOps + Chat = ChatOps
jonog> hubot deploy keno mobile api
...
hubot> deployed keno mobile api to development.keno.
...
jonog> hubot deploy keno web_qld_demo
![Page 3: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/3.jpg)
ChatOps Benefits
! encourages automation
! share scripts amongst team
⚡ accelerates learning
! democratise devops
! fun
![Page 4: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/4.jpg)
ChatOps1.
module.exports = (robot) ->
robot.respond /pug bomb( (\d+))?/i, (msg) -> count = msg.match[2] || 5 msg.http("http://pugme.herokuapp.com/bomb?count=" + count) .get() (err, res, body) -> msg.send pug for pug in JSON.parse(body).pugs
1 Requires demo.
![Page 5: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/5.jpg)
![Page 6: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/6.jpg)
![Page 7: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/7.jpg)
ChatOps, today
— things previously done by bots + scripting
— now via integrations
— bots are smarter !
— relevance for us -> team efficiency
![Page 8: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/8.jpg)
Chat today: integrations - what & why
— make better use of SaaS tools
— feed in data and notifications
![Page 9: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/9.jpg)
Chat today: integrations - how
— installs via App Directory
— webhooks (in, out)
— slash commands, APIs
— deeper integrations
— buttons
— cards
— widgets
![Page 10: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/10.jpg)
Chat today: bots - script execution
— script execution bots
— pick language. e.g. Hubot (JS), Lita (ruby)
— experiments with Lita
— github.com/TabDigital/chatops
![Page 11: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/11.jpg)
Experiments
![Page 12: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/12.jpg)
![Page 13: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/13.jpg)
![Page 14: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/14.jpg)
![Page 15: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/15.jpg)
Chat today: bots - conversation and AI
— conversation & AI toolkits
— Slack's botkit
— wit.ai Bot Engine (fb acquisition)
— Microsoft Bot Builder SDK
— these vs older and simpler bots
— parse intent, natural language
— complex state logic
— learn
![Page 16: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/16.jpg)
Chat today: bots - innovation
— surprising to see microsoft as bot innovator?
— bots becoming mainstream (fb, telegram)
— will they stick?
![Page 17: ChatOps](https://reader031.vdocuments.us/reader031/viewer/2022030309/58f26a5a1a28abb7338b45c3/html5/thumbnails/17.jpg)
Chat today: relevance for us
— technical and non-technical integration ideas?
— maximise use of our productivity tools
— cross team interaction & dependencies
— minimise meetings, maximise async comms
— faster onboarding
— moar fun