Notifier - AIRA module
Allows you to send message to Slack via webhook. Message can be configured in separated JSON file, that can use Mustache template interpolations within values. You can place this configuration together with other configuration files in you repository and then use it in CI/CD.
In order to use it you must install AIRA CLI, and that plugin. Plugin existance will be detected automatically and aira notify --help
will show you how to use the plugin.
Example
.notification.slack.json
{
"color": "good",
"pretext": "New version {{{v}}} release! :tada:",
"text": "My awesome library is better now! See changelog: {{{link}}}",
"title": "Version {{{v}}}",
"title_link": "{{{link}}}"
}
CMD
aira notify <webhook> .notification.slack.json --payload.link=<link> --payload.v=<tag>