Setting up CD and deployments with CircleCI
As I mentioned in the introductory section of this chapter, the D in CD stands for Delivery. In this section, we'll walk through the details of setting up both delivery and deployment of our application via CircleCI. I will admit, the boundaries here between delivery and deployment are a bit blurred, and any such discussions can become difficult due to disagreements in terminology and details. For our purposes, our CD pipeline will focus on the following:
- Visibility
- Feedback
- Ease of automated deployments
For visibility and feedback, we'll use Slack and GitHub badges. Our existing deployment script from the Makefile and the serverless framework will be hooked into CircleCI to make production deployments fast, simple, and reliable.
Setting up Slack notifications
CircleCI has several integrations with various chat systems. Setting up test results to be posted to Slack (or your messaging platform of choice) is a straightforward and effective way to disseminate...