Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Latest commit

 

History

History
44 lines (31 loc) · 833 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 833 Bytes

gitlab-hook-idobata

gitlab web hook server to notify idobata.

Feature

  • notify push events
  • notify merge request events
  • notify issue events (not yet)

Usage

Start hook server:

$ git clone [email protected]:harukasan/gitlab-hook-idobata
$ cd gitlab-hook-idobata
$ bundle install --path vendor/bundle
$ cp dotenv .env
$ vim .env # to edit idobata hook url
$ bundle exec foreman start web

Set gitlab hook:

  1. open settings page of your repository.
  2. Add web hook:
  URL: http://$HOST:$PORT/push.json
  Trigger: ✓ Push events
  URL: http://$HOST:$PORT/merge_request.json
  Trigger: ✓ Merge Request events

To use merge request hool, the gitlab API setting is required.

Copyright

  • Copyright (c) 2014 MICHII Shunske (harukasan)
  • License: MIT License (see LICENSE.md)