Now we know that .gitlab-ci.yml file is the file that triggers the GitLab CI pipeline, but what are the most common concepts used under that file to have an efficient pipeline? I think the main concepts to start learning are:
Caches and Artifacts
Rules and Workflow
I would like to mention the Pipelines as the last concept, because it is better to define the concepts which forms a pipeline and then mention different types of pipelines and their internals.
Let's quickly mention what the core concepts are and show how you can use them in your .gitlab-ci.yml file. Later we will combine those concepts to add logic to our pipelines.