amazon eventbridge integration

Buildkite Build Workflow

Combine EventBridge with a workflow to evaluate, store, and publish build events

This Quick Start deploys an Amazon EventBridge integration with Amazon Web Services (AWS) Step Functions for Buildkite. It routes events from Buildkite to an EventBridge event bus, where a rule evaluates the events and triggers AWS Step Functions when matching events occur. 

This EventBridge integration deploys the following:

  • A Buildkite software-as-a-service (SaaS) event bus in Amazon EventBridge.
  • An EventBridge rule that evaluates Build Started events and passes qualifying events to an AWS Step Functions workflow.
  • A Lambda function that saves Buildkite events to an Amazon Simple Storage Service (Amazon S3) bucket for later analysis.
  • A Lambda function that extracts event information, creates a message, and sends it to an Amazon Simple Notification Service (Amazon SNS) topic.
  • Amazon SNS publishes messages for the subscriber.

You can use this as a starter project to extend this integration for any scenario that can use AWS Step Functions to run code.

Buildkite Build Workflow architecture diagram

This Quick Start was developed by
Amazon Web Services (AWS).

 See the source code for this Quick Start
  •  Deploy this EventBridge integration
  •  Deploy this EventBridge integration
  • Step 1                  If you don't already have an AWS account, sign up at https://aws.amazon.com, and sign in to your account. Getting an account automatically signs you up for EventBridge and other AWS services.
    Step 2           Configure your Buildkite partner event source and make note of the event source name (e.g., aws.partner/buildkite.com/<org-slug>/<uuid>). Before proceeding, ensure that your event is listed as Pending.
    Step 3 Deploy the integration. The deployment takes about 5 minutes to complete. EventBridge integrations are currently supported in all AWS commercial Regions.

    Configure your Amazon EventBridge SaaS Integration Partner event source and make note of the event source name (for example, aws.partner/example.com/1234567890/test-event-source).

    Configure your Amazon EventBridge SaaS Integration Partner event source and make note of the event source name (for example, aws.partner/example.com/1234567890/test-event-source).

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on the Quick Start.  

    You are responsible for the cost of the AWS services and partner integrations used while running this Quick Start deployment.

    To post feedback, submit feature ideas, or report bugs, use the Issues section of the GitHub repository.