Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Configurable Slack bot firestarterのつかいかた

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Configurable Slack bot firestarterのつかいかた

Jumpei Takiyasu

February 27, 2018

Transcript

11 slides
  1. juntaki/firestarter POST /something firestarter Configurable slack bot with simple Web

    UI https://github.com/juntaki/firestarter “do something” Regexp URL template ^do (.*)$ http://jenkins/{{index .matched 1}} ^build (.*)$ http://gitlab/{{index .matched 1}}
  2. firestarterの仕組み 1. channel名 && regexpでマッチ 2. (選択肢があれば) メニューを出して選択 3. (確認が必要なら)確認メニューを出して選択

    4. 設定されたURLへPOSTする POSTのURLとBodyはtext/template、入力は下記 • regexpのマッチ結果(配列) • メニューの選択(文字列)

More Decks by Jumpei Takiyasu

Other Decks in Technology