Continuous integration and continuous deployment, commonly known as CI/CD, is a computing and IT philosophy whereby code is continuously tested and deployed/released automatically with as little manual handling as possible. This requires extra tools, usually a specialized platform that handles testing newly committed code as well as other tools that can take that code and package it for release, or upload it to a new version of the platform of website. However, if you're using GitLab, you have all the tools you need to get up and running and practicing CI/CD in no time.
In this chapter, we'll cover the following topics:
- How to install GitLab Runner
- Setting up tests in our GitLab example project
- The .gitlab-ci.yml file
- Setting up a .gitlab-ci.yml file in our GitLab example project
- Breaking down advanced .gitlab-ci.yml...