DevOps / Gitlab Interview questions
What are GitLab CI/CD pipelines?
A GitLab CI/CD pipeline is an automated sequence of jobs that build, test, and deploy code whenever something triggers it, most commonly a push or a merge request. Pipelines are defined declaratively in a .gitlab-ci.yml file that lives in the root of the repository.
Each pipeline is made up of stages (like build, test, deploy), and each stage contains one or more jobs that run in parallel. Jobs within the same stage run at the same time; stages run in the order they're defined, one after another, unless you opt into a DAG-style pipeline with needs.
Pipelines are executed by GitLab Runners, which can be shared runners hosted by GitLab or self-hosted runners registered to a specific project or group. Results (pass/fail, logs, artifacts) show up directly on the related commit and merge request.
More Related questions...