A middleman between GitLab and Discord webhooks to show better formatted messages.
Project description
GitLab Discord Webhook
A middleman between GitLab and Discord webhooks to show better formatted messages.
Use instructions
In order to use this, you must have a public IP address, with port 7400 open.
- Install modules in
requirements.txt
(python 3.9 or higher)
python -m pip install -r requirements.txt
- Create a
config.ini
file, you can copy and renameconfig-example.ini
. - Create a discord webhook on the desired channel, and paste the URL in the
webhook
entry. - Execute
main.py
- Go to the desired GitLab project and go to
Settings > Integrations
- Paste the public address of your instance
- Select the desired Triggers.
- Click
Add Webhook
.
From now on, changes to the project will be posted on the specified channel.
You can have multiple projects pointing to the same gitlab-discord-webhook
instance,
but every instance will only post messages through a single Discord webhook.
Supported Triggers
- Push events
- Tag push events
- Comments
- Confidential Comments
- Issues events
- Confidential Issues events
- Merge request events
- Job events
- Pipeline events
- Wiki Page events
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gitlab_discord_webhook-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2236205cd7d2154b891389d884813ad54ba4c28b38df94530a92e5df8796c4ef |
|
MD5 | b754e6902304b36e70ce1635df681b28 |
|
BLAKE2b-256 | d699085dfb27643ad10578e3c0782796c60d64c26fbd11a6d6cad4fa662bcba5 |
Close
Hashes for gitlab_discord_webhook-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db6774bf1e66b7e8825564b498bebfe6ab18455d779e8c64adb34de6cb709163 |
|
MD5 | 35ca7b2c5817053cb4232cabb602069e |
|
BLAKE2b-256 | a77dd0696ec73eca1cd7b4a40d7342568b70dfc3f0eaf3e6b94a0173c26803a0 |