Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hubot
.gitignore
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
circle.yml
ecs-cluster-stack.json
rakefile
readme.md
tatsu-hubot-stack.json

readme.md

Tatsu HuBot

Idea: Setup HuBot inside a Docker container and run it on AWS. Automatically build and deploy it with CirclCI.

Circle CI Travis CI

Deploy manual to AWS ECS

  1. Setup new EC2 Container Instance as described here
  2. Register task definition aws ecs register-task-definition --cli-input-json file://$HOME/../hubot-aws-task.json
  3. Start task instances aws ecs run-task --cluster default --task-definition hubot:X --count 1

How to build and run it

docker build -t tatsu .
docker run -e HUBOT_SLACK_TOKEN=xxx -d tatsu

Add new scripts

  1. Add the following line in the dockerfile to install the NodeJS module:

    RUN npm install [MyHuBotModule] --save && npm install

  2. Extend the external-scripts.json file with the name of the NodeJS module:

[ "...", "MyHuBotModule" ]

Next steps

  • Persistent brain (Redis?)
  • Rights & Roles
You can’t perform that action at this time.