ft-interactive/buildbot

Name: buildbot

Owner: FT Interactive News

Description: ? Buildbot ? a Slackbot for configuring CircleCI builds from ft-interactive/starter-kit projects

Created: 2016-07-14 11:22:52.0

Updated: 2017-10-10 13:12:56.0

Pushed: 2018-01-11 22:14:32.0

Homepage:

Size: 264

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

BuildBot

A project by Ændrew Rininsland andrew.rininsland@ft.com in 2016

Greenkeeper badgecodecov

This is a WIP bot for managing ft-interactive/starter-kit projects.

It is all in TypeScript! It uses Koa 2!

You must use NodeJS >= 4! Set SLACK_ICONS env var to “parrots” if you're awesome!

Documentation

Slack commands are documented here.

To develop:
  1. $ git clone https://www.github.com/ft-interactive/buildbot.git
  2. $ npm install
  3. Create both an incoming and outgoing webhook on Slack
  4. Create a .env file (or set up Heroku env vars) with the following values:
    K_INCOMING_HOOK_URL="" # Token for Slack incoming webhook
    K_OUTGOING_HOOK_TOKEN="" # Token for Slack outgoing webhook
    LE_API_KEY="" # CircleCI API key
    UB_API_KEY="" # GitHub bot user API key
    UB_WEBHOOK_TOKEN="" # Token provided by GitHub webhook
    K_ICONS="" # Choose either "parrots" or "default"
    K_GITHUB_WEBHOOK="" # URL to an existing Slack GitHub webhook
    SCLOUD_URL="" # URL to Redis instance
    
  5. Begin listening with $ npm start
TODO:

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.