Tools

GitLab CI/CD Cheat Sheet

Print-ready cheat sheet for GitLab CI/CD, organized for fast lookup, study, and desk-side use

Source
GitLab Documentation (docs.gitlab.com)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Pipeline Basics
  • .gitlab-ci.yml
  • Jobs
  • Stages
  • Variables
  • Artifacts
  • Cache
  • Environments
  • Docker
  • Common Patterns

How Pipelines Work

PipelineTop-level container; one per commit/trigger
StageGroup of jobs that run in parallel
JobSingle task (script) within a stage
RunnerAgent that executes jobs

Triggering Pipelines

Push to branchAutomatic (default)
Merge requestVia workflow:rules or only: merge_requests
ScheduleCI/CD → Schedules in project settings
APIPOST /projects/:id/trigger/pipeline
ManualRun Pipeline button in CI/CD menu

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read