https://github.com/5xruby/flowdock-gitlab-webhook
https://github.com/5xruby/flowdock-gitlab-webhook
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/5xruby/flowdock-gitlab-webhook
- Owner: 5xRuby
- Created: 2017-03-15T13:45:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T08:32:50.000Z (about 9 years ago)
- Last Synced: 2025-03-12T17:18:04.619Z (about 1 year ago)
- Language: Ruby
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flowdock-Gitlab-Webhook-Receiver
- [Introduction](#introduction)
- [Installation](#installation)
- [Quick Start](#quick-start)
# Introduction
A very tiny Sinatra application to catch Gitlab webhooks and send notification to your Flowodck inbox, so far we only support the following trigger types:
1. Push
1. Comments of Commit / Merge Request / Issue
1. Issue
1. Merge Request
1. Build
1. Pipeline
# Installation
```
docker pull ryudoawaru/flowdock-gitlab-webhook
```
# Quick Start
- Prepare your [secret token](https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#secret-token) for Gitlab webhook use.
```
docker run -d -e "RACK_ENV=production" -e "GITLAB_TOKEN=$xxxxoooxxx" --rm -p 3000:3000 ryudoawaru/flowdock-gitlab-webhook
```
- Point your browser to http://YOUR-HOST-NAME:3000 to test if it starts successfully.
- Register an new "Shortcut application" in [Developer Application](https://www.flowdock.com/oauth/applications) section of your Flowdock account settings.
- In the Flowdock flow you want to subscribe notifications, add new source of the application you just registered and get the flow api token.
- Use this flow api token and the secret token to register new webhook in your Gitlab repo, the URL pattern should be like 「http(s)://YOUR-HOST-NAME/FLOW-API-TOKEN.json」.
- Test!