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.
https://your-internet-reachable-host.com/slack/receive
to Request URL
which locates in Interactive Messages
section of App configurationhttps://your-internet-reachable-host/oauth
to Redirect URI(s)
which locates in OAuth Information
section of App configurationClientID
and Clien Secret
and copy them to .envrc
file_created
events, add Event name file_created
to Event Subscriptions > Bot Events
Setup repository:
$ git clone https://github.com/ainoya/stf-bot
$ cd stf-bot
$ direnv allow
$ npm install
Then, you can start this bot server:
$ node main.js
After 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)