Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

FylmTM/shelly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shelly

Shelly is a Slack bot, whose only purpose in life is to help team to manage their work.

Features

  • JIRA
    • Sprint status
      • Progress
      • Remaining days
      • Burndown chart
      • Blocked stories
      • Stories in progress
      • Last updated time
    • Ping when not updated >= n time
    • Bug status
  • Jenkins
    • Notify about failed build
  • Gerrit
    • Notify about pending reviews
    • Notify about review new +1/-1

Quickstart

docker run -e SLACK_TOKEN="ac123" -v /localPath/app-config.js:/app/shelly-config.js fylmtm/shelly:0.1.6

Configuration

module.exports = {
  services: {
    jira: [
      {
        name: 'jira',
        clientConfiguration: {
          protocol: 'https',
          host: 'jira.example.com',
          username: 'username',
          password: 'password',
          apiVersion: '2',
          strictSSL: true,
        },
      },
    ],
  },
  channels: {
    C11111111: {
      jira: {
        service: 'jira',
        boardId: 123,
        linkTemplates: {
          board: 'https://jira.example.com/secure/RapidBoard.jspa?rapidView=%s',
          issue: 'https://jira.example.com/browse/%s',
        },
      },
    },
  },
};

Development

First, create .env file in the project root with such content (change values accordingly):

SLACK_TOKEN=xoxb-123abc
CONFIG=/home/me/workspace/me/shelly/app-config.js

Secondly create file at CONFIG location and fill it with configuration (see above for example).