In this chapter, we have covered a lot of new aspects for the Continuous Delivery pipeline; to better understand the concept, we recommend you complete the following exercises:
- Add a performance test, which tests the hello world service:
- The hello world service can be taken from the previous chapter
- Create a performance-test.sh script that makes 100 calls and checks whether the average request-response time is less than 1 second
- You can use Cucumber or the curl command for the script
- Create a Jenkins pipeline that builds the hello world web service as a versioned Docker image and performs performance test:
- Create a Docker build (and Docker push) stage that builds the Docker image with the hello world service and adds a timestamp as a version tag
- Use the Kubernetes deployment from the previous chapters to deploy the application
- Add the Deploy to staging stage that...