BuildKite plugin to send a deployment event to datadog
Clone or download
Latest commit 3829104 Jan 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks console out api endpoint Nov 20, 2018
tests Update readme and test Nov 20, 2018
.editorconfig initial commit Nov 19, 2018
LICENSE initial commit Nov 19, 2018
README.md Update README.md Nov 21, 2018
docker-compose.yml initial commit Nov 19, 2018
plugin.yml Update plugin.yml Dec 9, 2018

README.md

Datadog Event Buildkite Plugin

A Buildkite plugin for sending event to datadog

It contains a command hook, and tests using plugin-tester.

Usage:

# - Your production deployment step here:
#  ...
#  ...

- wait # wait for the production deployment to complete

- label: ':datadog: Send deployment complete event to datadog'
  branches: 'master'
  plugins:
    # We use seek-oss/aws-sm plugin to retrieve the datadog api key stored in aws secret manager
    seek-oss/aws-sm#v1.0.0:
      env:
        DATADOG_API_KEY: arn of the secret
    seek-oss/datadog-event#v0.0.4:
      title: $BUILDKITE_PIPELINE_SLUG deployed by $BUILDBOX_BUILD_CREATOR
      tags: event-type:deployment,branch:$BUILDKITE_BRANCH # multiple tags can be sent to datadog
      env: DATADOG_API_KEY # DATADOG_API_KEY contains plain text value of the api key
  agents:
    queue: xxx-prod:cicd # agent need to be able to assume role to fetch the datadog api key from ssm

License

MIT (see LICENSE)