CodeCommit to CodeBuild

AWS CodeCommit → AWS CodeBuild → AWS CodeCommit

Create an integration between CodeCommit and Codebuild to run builds on PRs.

This pattern allows you to validate your pull requests by running test on a Codebuild and post a comment on the specific PR.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cdk-codecommit-codebuild

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk delete.

Additional resources

Created by:

Jeremy Care

Jeremy Care

Jeremy is a Software Engineer Consultant focusing on Serverless and Event-Driven applications.