Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 2.32 KB

README.md

File metadata and controls

25 lines (18 loc) · 2.32 KB

🔫 aws-git-pull-request-review

Architecture to integrate git repositories with AWS services via webhook to validate pull-requests for code reviews and coverage quality.

For every pull-request and consecutive commits on PR, github webhkook will trigger an API gateway which is bound to a lambda where the payload will be extracted and a codebuild will be triggered which will save the test and coverage reports as part of codebuild report groups and a cloudwatch event will trigger another lambda on build completion to update PR commit staus and post a comment with metrics.

Architecture

architecture

Setup

📽 Codebuild - Test report group

test report

📽 Codebuild - Coverage report group

coverage report

📽 Github - Pull-Request review comment and status

pr status

Happy coding :) !!