This Quick Start demonstrates an integration with AWS Lambda, Amazon S3, AWS Glue, and Amazon Athena for Amazon EventBridge SaaS Partner Buildkite. This solution enables your Amazon EventBridge event bus to trigger an EventBridge Rule that evaluates Builkite's "Job Finished" events. If events satisfy the Rule pattern, they are sent to Lambda, which extracts key metrics and puts them into S3. Additionally, Glue resources -- a Crawler, a JSON Classifier, and a Database -- are created and ready to crawl the S3 bucket on demand once events appear. Lastly, an example Athena Query is created, ready to query your Glue Database Table and act as a data source for Amazon QuickSight or a visualization tool of your choosing.
To create stack
aws cloudformation create-stack --stack-name buildkite-visualization --template-body file://template.yaml --parameters ParameterKey=EventSourceName,ParameterValue=aws.partner/buildkite.com/<org-slug>/<id> ParameterKey=BucketName,ParameterValue=buildkite-visualization --capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM
To update stack
aws cloudformation update-stack --stack-name buildkite-visualization --template-body file://template.yaml --parameters ParameterKey=EventSourceName,ParameterValue=aws.partner/buildkite.com/<org-slug>/<id> ParameterKey=BucketName,ParameterValue=buildkite-visualization --capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM
To post feedback, submit feature ideas, or report bugs, use the Issues section of this GitHub repo.