This is the Lita bot that lives in our Slack team.
Secrets are managed through Torus CLI.
- Signup for Torus if you haven't already
- Setup and Org and Project for Torus:
torus orgs create <name>torus projects create --org <org> <name>
- Link to your project:
torus link - Create an environment for Heroku:
torus envs create heroku - Create a Heroku machine role:
torus machines roles create heroku - Give your machine role access:
torus allow rl /<org>/<project>/heroku/default/** heroku - Create a Heroku machine for your deployment:
torus machines create heroku-instance -r heroku - Set the following env vars in Heroku using output from step 7:
TORUS_TOKEN_ID: Machine Token IDTORUS_TOKEN_SECRET: Machine Token Secret
- Add the following secrets to Torus:
torus set -e heroku <ENV var> <value>
LITA_SLACK_TOKEN-xoxb-YOUR-TOKEN-HERELITA_HEROKU_KEEPALIVE_URL- Your Heroku URL (heroku apps:info -s | grep web.url | cut -d= -f2)