- Install apk to all stf devices automatically when someone uploads apk to Slack
1. Bot detects apk file uploaded
2. Install confirmation
3. Install target apk file to all devices managed by your openstf/stf 🎉
Before launching this bot, you have to setup Slack App to use Interactive Messages.
- Create Slack App to create gateway to bot
- Set
https://your-internet-reachable-host.com/slack/receivetoRequest URLwhich locates inInteractive Messagessection of App configuration - Set
https://your-internet-reachable-host/oauthtoRedirect URI(s)which locates inOAuth Informationsection of App configuration - Get OAuth
ClientIDandClien Secretand copy them to.envrc - To allow bot seeing
file_createdevents, add Event namefile_createdtoEvent Subscriptions > Bot Events
Setup repository:
$ git clone https://github.com/ainoya/stf-bot
$ cd stf-bot
$ direnv allow
$ npm installThen, you can start this bot server:
$ node main.jsAfter bot server is launched, you have to enable integration This Bot App via https://your-internet-reachable-host/login. If login is succeeded, you can see the bot is online in your Slack. (You can use ngrok to publicize your local bot application for debug)


