Introducing pipelines
Now that you have a better understanding of steps and tasks, it's time to introduce pipelines. Pipelines are a collection of tasks that are designed to produce an output from your inputs.
While a task is in charge of a single operation inside your CI/CD pipeline, a pipeline will use those tasks to perform the desired automation processes on your source code. For example, a pipeline could use a task to clone a code repository and a second task to run unit tests, and finally, have one last task to build an image ready to be deployed on your production servers.
Just like with tasks, you should aim at making your pipelines as reusable as possible. There is a good chance that most of your projects that use a similar tech stack will use the same pipeline, the only difference being the initial code repository and image name that is produced.
Pipelines use YAML files to describe the processes that will occur and the order in which those operations need...