Skip to main content

A simple Gitlab WebHook

Project description PyPI - Python Version

A simple Gitlab WebHook

This project provides a Gitlab web hook to receive Gitlab events and process these events.


It is possible to install the tool with pip:

pip install sc-gitlab-webhook


First, make sure /var/opt/sc directory exists, if not create this directory and make sure current user has the right to create files in this directory.

You can copy default.yml to /var/opt/sc/.sc-gitlab-webhook/production.yml to initialize the production configuration.

The default configuration file looks like this:

  # whether this program is running is development mode
  dev_mode: False

# flask server info
  # flask server IP
  ip: "localhost"
  # flask server port
  port: 8080

# rocketmq configurations
  # name server ip
  name_server_ip: "localhost"
  # name server port
  name_server_port: 9876
  # group id
  group_id: "GITLAB_WEBHOOK_MSG"
  # message topic
  msg_topic: "GITLAB_WEBHOOK"
  # message keys
  msg_keys: "GITLAB"
  # message tags
  msg_tags: "GITLAB"



The script is released under the MIT License. The MIT License is registered with and approved by the Open Source Initiative [1].

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sc-gitlab-webhook-0.0.7.tar.gz (7.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page