Summary
In this chapter, we reviewed the meaning and high-level details of CI and CD. I also discussed some best practices on how to organize application code in serverless projects to help set up and run unit tests. From there, I covered how to set up our unit tests to run on every commit using CircleCI.
Finally, we worked through the entire process of setting up CircleCI to perform automated deployments triggered by changes to the production
branch. You learned some of the nuances of controlling CI execution via environment variables and where to configure sensitive settings such as database passwords and AWS keys.