Skip to content

Add Telegram Integration: add pipeline status change notifications

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
image image

How to set up and validate locally

The following steps could be used to validate it locally:

  1. Register the bot via @botfather
  2. Create a channel for notifications
  3. Add the new bot to the channel, and make it admin
  4. Get the bot token, and channel ID, and put them into the according fields on the "Telegram Integration" page in the Group settings
  5. Enable "A pipeline status changes" trigger
  6. Save changes
  7. Run any pipeline in a project in this group
  8. 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.

Related to #424007 (closed)

Edited by Bojan Marjanovic

Merge request reports

Loading