Skip to content
A basic slack bot that allows you to start jobs in concourse
Go Shell Dockerfile Makefile
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.
ci
.gitignore
.mach
Dockerfile
Dockerfile.build add seperate docker build file Feb 22, 2019
LICENSE
Makefile change up build stuff Feb 22, 2019
README.md moved concourse to new host, rejig stuff Aug 14, 2019
bot.go
concourse.go
example-config.json use user id for checking users instead of name Feb 24, 2019
go.mod
go.sum
structs.go

README.md

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

You can’t perform that action at this time.