AWS CodePipeline scaffolding for CDK

CodePipeline

Provides scaffolding for a CI/CD pipeline with parallelized End-to-End (E2E) tests.

This pattern in CDK provides scaffolding for a CI/CD pipeline with parallelized End-to-End (E2E) tests.
The provided pipeline consists of two stages: Source and End_to_End_Tests. The Source stage is linked to the AWS CodeCommit repository, so whenever any commit(s) is pushed to that repository, the pipeline will be triggered. Once the Source stage passes, the End_to_End_Tests stage will run. In this stage, two AWS CodeBuild servers are provisioned and each is assigned a group of test(s). The tests are then ran in parallel.

< 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/parallel-e2e-pipeline-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Additional resources

Created by:

William Sola Lee

William Sola Lee

I am a Service Engineering Consultant.

Follow on LinkedIn