Add Telegram Integration: add pipeline status change notifications
requested to merge bmarjanovic/telegram-integration-pipeline-status-change-notifications into master
What does this MR do and why?
Based on the Telegram Integration: pipeline status change no... (#424007 - closed), we are enabling additional notify_only_broken_pipelines
field to be controlled by Telegram's integration. The field is available under the settings/integrations/telegram
configuration page.
By disabling this field, we're allowing all pipelines' notifications to be sent.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
The following steps could be used to validate it locally:
- Register the bot via @botfather
- Create a channel for notifications
- Add the new bot to the channel, and make it admin
- Get the bot token, and channel ID, and put them into the according fields on the "Telegram Integration" page in the Group settings
- Enable "A pipeline status changes" trigger
- Save changes
- Run any pipeline in a project in this group
- Check the notifications channel on Telegram
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #424007 (closed)
Edited by Bojan Marjanovic