gcdt-slack-integration plugin

Announce the status of your deployments on slack.

slack integration plugin functionality

Announce deployments on the slack channel for your squad:

gcdt slack integrationgcdt_slack integration

In case a deployments fails you get a notification, too:

gcdt slack integrationgcdt_slack integration

Setup

To setup the slack integration for your account you need two things:

  • a slack webhook
  • you need to add the slack webhook to credstash so the lookup:secret works

Add a secret to credstash as follows (maybe check for an existing key first):

credstash put datadog_api_key <my_key>

Configuration

datadog.api_key is provided via secret lookup:

    ...
    'plugins': {
        'gcdt_slack_integration': {
            'channel': '<my_squad_slack_channel>'
        },
        ...
    }

Note the slack_webhook configuration is provided via default configuration. You do not need to change that as long as you are happy with the default config:

            'slack_webhook': 'lookup:secret:slack.webhook:CONTINUE_IF_NOT_FOUND'