What is
GitLab CI
?
GitLab CI is the continuous integration and delivery system built into GitLab. It runs pipelines defined in a YAML file in each project to build, test and deploy code changes on runners.
At a glance
Attribute | Value |
|---|---|
Primary use case | Continuous integration and delivery pipelines for GitLab projects |
Deployment type | SaaS (GitLab.com), single-tenant SaaS (GitLab Dedicated) or self-managed |
Pricing model | Free $0; Premium $29 per user/month billed annually; Ultimate custom pricing; extra compute minutes $10 per 1,000 |
API compatibility | GitLab API (including CI/CD variable management) |
Supported integrations | Including Google Cloud integration, external repository integrations, CI/CD component templates |
Cloud provider | Self-Managed installable from platforms including AWS, Azure and GCP; GitLab Dedicated for Government on AWS GovCloud |
Key metrics | Vendor-reported: over 50 million estimated registered GitLab users, 5,500+ code contributors |
AEP branch | Tooling |
AEP category | Integration & Delivery |
AEP subcategory | CI |
Profile
A .gitlab-ci.yml file at the root of a project defines the pipeline. GitLab creates a pipeline when it is triggered by a commit, a merge request, a schedule or a manual run. Runners are agents on physical machines or virtual instances. A runner loads the specified container image, clones the project and runs each job locally or in the container.
Focus
Development teams that continuously build, test, deploy and monitor iterative code changes. The aim is to catch bugs early and keep code deployed to production in line with established code standards.
Background
GitLab Inc. owns GitLab. The project began in 2011 as an open source project, and the first version of GitLab CI was created in 2012. GitLab was incorporated in 2014, raised $20 million in B round financing in 2016 and listed on Nasdaq (GTLB) in 2021.
Features
YAML pipelines with stages and jobs
Stages set the order of execution, such as build, test and deploy. Jobs define the scripts, variables, dependencies and conditions for each task.
Runners
Runners on Linux, Windows and macOS are available on GitLab.com. Teams can also register their own runners for a project, for a Self-Managed instance or on a local machine.
CI/CD variables
Key-value pairs pass settings and secrets such as passwords or API keys to jobs, at project, group or instance level. Protected variables are restricted to protected branches or tags, and masked variables are hidden in job logs.
CI/CD expressions
The $[[ ]] syntax injects data into pipeline configuration from inputs and matrix contexts. Expressions are validated when a pipeline is created and can be checked in the pipeline editor before committing.
CI/CD components and Catalog
Reusable configuration units can be added with include:component to build a whole pipeline or part of one. They can be published to the CI/CD Catalog for sharing across projects, alongside component templates for common tasks.
Pros and cons
Pros
Pipeline definitions live in the project next to the code, so build, test and deploy logic travels with the repository.
The same CI/CD can run on GitLab.com, GitLab Self-Managed or single-tenant GitLab Dedicated.
Shared components reduce duplicated pipeline configuration and keep pipelines consistent across many projects.
CI/CD sits in the same product as source code management, with no separate CI service to connect.
Cons
On GitLab.com, compute minutes are capped per plan (400 Free, 10,000 Premium, 50,000 Ultimate). Extra minutes cost $10 per 1,000.
GitLab Self-Managed means the team operates the GitLab instance and supplies its own storage and runners.
All users in a GitLab.com group or on a Self-Managed instance must be on the same plan.
GitLab.com rate limits for Premium and Ultimate are planned from January 2027. Higher limits need the upcoming Advanced Capacity add-on, $12,000 per top-level group per year.
Secrets Manager is paid with usage-based GitLab Credits, is limited to Premium and Ultimate, and is not yet on GitLab Dedicated.
FAQs
What is GitLab CI?
GitLab CI/CD is the pipeline system inside GitLab. It reads a .gitlab-ci.yml file in a project and runs the build, test and deploy jobs defined there on runners.
How much does GitLab CI cost?
CI/CD is included in the Free plan at $0. Premium costs $29 per user per month, billed annually, and Ultimate is priced on request. On GitLab.com each plan includes a set number of compute minutes, and more can be bought at $10 per 1,000 minutes.
Can GitLab CI be self-hosted?
Yes. GitLab Self-Managed lets an organization run its own instance and register its own runners. GitLab.com is cloud-hosted by GitLab, and GitLab Dedicated is a single-tenant SaaS option fully managed by GitLab with data residency in a chosen region.
Which integrations does GitLab CI support?
Pipelines can connect to a wide range of tools and platforms. GitLab CI/CD offers a Google Cloud integration and external repository integrations, and ships component templates for common tasks and integrations.
Which operating systems can jobs run on?
Hosted runners on GitLab.com cover Linux, Windows and macOS. Self-registered runners can run on physical machines or virtual instances, and jobs can use a specified container image.
Can pipeline configuration be shared between projects?
Yes. Teams can create CI/CD components in a component project and publish them to the CI/CD Catalog. Other projects then pull them in with include:component.
