Skip to main content
https://badge.fury.io/py/sc-gitlab-msg-consumer.svg PyPI - Python Version

A simple message consumer for Gitlab WebHook messages

This project provides A simple message consumer for Gitlab WebHook messages that were previously sent to a rocketmq server

Installation

It is possible to install the tool with pip:

pip install sc-gitlab-msg-consumer

Configuration

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-msg-consumer/production.yml to initialize the production configuration.

The default configuration file looks like this:

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

# rocketmq configurations
rocketmq:
  # name server ip
  name_server_ip: "localhost"
  # name server port
  name_server_port: 9876
  # group id
  group_id: "GITLAB_WEBHOOK_MSG_CONSUMER"
  # message topic
  msg_topic: "GITLAB_WEBHOOK"

Running

After installation and configuration, you can simply run this program using:

sh sc-gitlab-msg-consumer

Logs will be saved at /tmp/logs/sc-sys.log

Dependencies

License

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

Metadata

Release files for sc-gitlab-msg-consumer 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sc-gitlab-msg-consumer 0.0.2
File Size Uploaded Provenance Actions
sc-gitlab-msg-consumer-0.0.2.tar.gz 7.4 kB Without provenance Details for sc-gitlab-msg-consumer-0.0.2.tar.gz

Release files / sc-gitlab-msg-consumer-0.0.2.tar.gz

Download URL sc-gitlab-msg-consumer-0.0.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8e18e718e7a96f295c1f0a6676f6165efc65714c305704901619bb92fa11905e
BLAKE2b-256 checksum
How to use checksums
0675f06ae4f68db247af834f971a7c621fc3db204023aaf027e4b49713bdecdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.3

Security for sc-gitlab-msg-consumer 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page