Skip to content

It listens to gitlab webhook push events and pulls local repositories.

Notifications You must be signed in to change notification settings

thewhitewizard/gitlab-pull-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

It listens to gitlab webhook push events and pulls repositories configured in config.js. Currently, it runs on GNU/Linux and BSD OSes only, and it can only run in a startup script for now.

Build & Runtime Dependencies

  • nodejs >= 0.10.x
  • npm >= 1.4.x

Installation on ubuntu

  • cd any-installation-dir
  • sudo git clone gitlab-pull-webhook-url
  • cd gitlab-pull-webhook
  • sudo npm install
  • 'npm start'
    • Copies config.js into the directory specified by configDir.js
    • Copies 'gitlab-pull-webhook' startup script to /etc/init

Local Hook

  • check localhook directory to find useful hook to after pull

About

It listens to gitlab webhook push events and pulls local repositories.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.8%
  • Shell 24.2%