slackbot-atlassian

module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2016 License: MIT

README

Slackbot-Atlassian

Build Status

codecov

Slackbot-Jira is a bot for Slack that posts messages from a Jira activity feed.

Usage

You need go and gb install to build the project.

After cloning, you can build and run slackbot-atlassian, setting an environment variable to point it at its config file:

$ gb build all
$ CONFIG=slackbot-config.json ./bin/slackbot-atlassian

Configuration

The config should be a JSON file whose structure corresponds to the Config type in the code (see src/slackbot-atlassian/config.go).

The bot process is told where to get its config with the CONFIG environment variable.

Testing

To run the tests:

gb test all

To include the integration tests:

gb test -tags integration all

The integration tests assume that you have a Redis instance at localhost:6379.

License

Permissively MIT-licensed. See the LICENSE file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL