Your First CI Pipeline
Key Takeaways
In this chapter, we learned the basic concepts of CI/CD and how to create a simple CI pipeline using GitLab CI/CD. We created a pipeline that builds the code and runs unit tests using Python's unittest framework and Flake8 for code linting. We also learned how to read and understand the execution logs of a CI job.
We are going to dive deeper into the different concepts of GitLab CI/CD in the next sections but here are a few concepts to take away:
CI/CD is a practice that encourages developers to integrate their code into a shared repository multiple times a day.
Each integration is verified by an automated job that runs a pipeline of tasks.
A pipeline is defined in a YAML file named
.gitlab-ci.ymlin the root of the project.
Cloud Native CI/CD with GitLab
From Commit to Production ReadyEnroll now to unlock all content and receive all future updates for free.
