[DEPRECATED] This functionality is now built-in Gitlab CI and this repository is therefore obsolete.
Tiny web server to get Travis-like Slack notifications with Gitlab CI.
First, set the following environment variables.
port = process.env['PORT'] || 5000
ciUrl = process.env['CI_SERVER_URL']
slackUrl = process.env['SLACK_URL']
username = process.env['CI_SLACK_USERNAME'] || 'Gitlab CI'
PORT
is the port the webapp will be listening toCI_SERVER_URL
is your Gitlab CI urlSLACK_URL
is Slack webhooks URLCI_SLACK_USERNAME
is the username to be used when posting
Just run
$ npm install
$ npm start
and add a Gitlab CI webhook to point to the server.
The app works perfectly on a free heroku dyno, if you have an account it's as simple as pressing the button below and setting the relevant config variables in the web admin console.