Summary
This has been one of the most important chapters in this book from the end-to-end CDK project perspective. We learned how to set up GitHub and CodePipeline to work together. We created a root Chapter5PipelineStack
that pulls code from GitHub, verifies the integrity of the application by running tests, builds both the frontend and backend portions, and deploys the stacks in multiple environments. As we said earlier in the chapter, your pipeline setup will probably be a lot more advanced than this in your production projects. Yet, the knowledge you’ve gained in this chapter should equip you to deal with these complexities and build awesomely automated infrastructures.
In the next chapter, we will look into tightening our CDK infrastructure with actual infrastructure tests! We will also review some of the practical lessons our teams have had to learn when dealing with CDK projects. See you there!