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

harukasan/gitlab-hook-idobata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

gitlab hook server for idobata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published