When we worked on creating a Jenkins pipeline earlier in this chapter, we created a Jenkinsfile file inside the helloworld GitHub repository. The reason for this was that we could change the code and the way the code is tested in the same change set. For the very same reason, it is very practical to put the logic behind how to deploy our code alongside the code itself.
Our helloworld repository currently has the application and its tests. We are going to add the information CodeDeploy needs to execute a deploy of our service.
CodeDeploy relies on a file called appspec.yml (application specification file) to manage the deployment. We are first going to create it.
Go to the directory ...