Skip to content

devopsct/lita-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps CT Lita Bot

This is the Lita bot that lives in our Slack team.

Configuration Management

Secrets are managed through Torus CLI.

  1. Signup for Torus if you haven't already
  2. Setup and Org and Project for Torus:
  • torus orgs create <name>
  • torus projects create --org <org> <name>
  1. Link to your project: torus link
  2. Create an environment for Heroku: torus envs create heroku
  3. Create a Heroku machine role: torus machines roles create heroku
  4. Give your machine role access: torus allow rl /<org>/<project>/heroku/default/** heroku
  5. Create a Heroku machine for your deployment: torus machines create heroku-instance -r heroku
  6. Set the following env vars in Heroku using output from step 7:
  • TORUS_TOKEN_ID: Machine Token ID
  • TORUS_TOKEN_SECRET: Machine Token Secret
  1. Add the following secrets to Torus: torus set -e heroku <ENV var> <value>
  • LITA_SLACK_TOKEN - xoxb-YOUR-TOKEN-HERE
  • LITA_HEROKU_KEEPALIVE_URL - Your Heroku URL (heroku apps:info -s | grep web.url | cut -d= -f2)

About

Our Lita bot that lives in Slack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages