concourse-slackbot

command module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 19 Imported by: 0

README

Concourse SlackBot

This is a simple slack bot that can start jobs in Concourse.

Usage

Build and run the bot. Once it announces it is running, you can @botname help to get a list of commands you can run.

Run me

BOSH Release

Use the Concourse Slackbot BOSH Release

Alternatively use Docker

Create config.json using example-config.json as a starter and modify to suit your slack and concourse setup.

# Build docker image with binary loaded and run it
make build-run

# Compile and output to builds/concoursebot and run builds/concoursebot
make build && make run
Docker Run

Edit the config.json file to suit

docker run --name concoursebot --rm -v `pwd`/config.json:/app/config.json shreddedbacon/concoursebot:latest

Set up Slack

Create app here

Add a bot to the app

Edit the app permissions

  • channels:history
  • channels:read
  • chat:write:bot
  • groups:read
  • users:read
  • bot

Install to your workspace

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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