2.5.1. How to Handle Automation Scripts#
The file .gitlab-ci.yml
defines the “main” Pipeline for a Project.
It must:
Be under version control,
Have a
.yml
or.yaml
extension,Reside in the root directory of the repository.
Note
It is possible to run “child” Pipelines, but the “main” Pipeline is always initiated with the .gitlab-ci.yml
file.