Skip to content

Deployment Chat Notifications

Jason Goodman requested to merge issue-42692-deployment-chat-notifications into master

What does this MR do?

GitLab can send chat messages to Slack and Mattermost on deployment events.

Successful, failed, or canceled deploys all send messages.

Additional setting in Settings > Integrations > Slack Notifications:

Settings

The new setting also appears in Settings > Integrations > Mattermost notifications.

With the box checked, a deploy results in a Slack message such as:

Screen_Shot_2019-04-22_at_12.29.52_PM

Screen_Shot_2019-04-23_at_2.12.56_PM

Mattermost notification:

Screen_Shot_2019-04-23_at_2.04.34_PM

Screen_Shot_2019-04-23_at_2.13.04_PM

Links in the message take the user to the page for the job, SHA, or project:

Job

Additional Notes

  • The user cannot restrict notifications to certain environments.
  • This MR does not add deployment events to arbitrary webhooks (found at the top of the Settings > Integrations page).

Relevant issues:

Enterprise Edition port:

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/11693

Does this MR meet the acceptance criteria?

Conformity

Edited by Jason Goodman

Merge request reports