GitLab CI/CD Tutorial
Master GitLab CI/CD from scratch: pipelines, stages, jobs, runners, variables, Docker builds, testing, security scanning, AWS deployments, and multi-project pipelines.
16 lessons in this tutorial
Introduction to CI/CD
Learn what CI/CD means, why every software team needs it, how Continuous Integration, Continuous Delivery, and Continuous Deployment differ, and what a modern pipeline looks like from commit to production.
Getting Started with GitLab CI/CD
Create your first GitLab CI/CD pipeline from scratch, write a .gitlab-ci.yml file, understand GitLab Runners, trigger your first pipeline, and read the job output. Step-by-step tutorial for beginners.
Stages, Jobs, Artifacts & Cache
Understand how GitLab pipelines are organized with stages and jobs, how artifacts move files between jobs, and how cache speeds up repeated work.
GitLab CI Stages and Jobs
Master GitLab CI/CD stages and jobs, learn how to define pipeline stages, write job scripts, use rules and only/except conditions, control job ordering, and run parallel jobs.
GitLab CI Artifacts
Learn GitLab CI artifacts, how to define, use, and download build artifacts, pass files between jobs, set expiration times, and use artifacts for test reports and deployment packages.
GitLab CI Cache
Speed up your GitLab CI pipelines with caching, learn how to define cache paths, set cache keys, understand cache policies, and cache node_modules, pip packages, and Maven dependencies.
Variables, Secrets and Environments in GitLab CI
Master GitLab CI/CD variables, predefined variables, custom variables, masked and protected secrets, group-level variables, environment-scoped variables, and .env file injection.
GitLab Runners
Learn what a GitLab Runner is, how GitLab CI runners execute jobs, runner types, executor choices, runner registration, tags, security, concurrency, and a full Docker executor example.
GitLab CI Pipeline Rules
Learn GitLab CI rules, rules if, rules changes, rules exists, workflow rules, merge request pipeline conditions, manual jobs, and how to control exactly when GitLab pipelines and jobs run.
GitLab CI Environments
Learn GitLab CI environments, deployment tracking, review apps, environment URLs, protected environments, deployment approvals, scoped variables, DORA metrics, and a complete multi-environment deployment example.
GitLab CI Docker Workflows
Learn GitLab CI Docker pipelines, per-job and global images, Docker-in-Docker, Kaniko, GitLab Container Registry authentication, Docker Hub pushes, tagging strategies, and a complete build and push example.
GitLab CI Testing
Learn GitLab CI testing, unit tests, JUnit reports, code coverage, coverage badges, cobertura visualization, parallel test execution, CI test variables, and a complete Jest pipeline example.
GitLab CI Security Scanning
Learn GitLab CI security scanning with SAST, DAST, secret detection, dependency scanning, container scanning, security reports, and DevSecOps best practices for secure pipelines.
GitLab CI Deploy to AWS
Learn GitLab CI deploy AWS patterns including CI/CD variables, AWS OIDC, S3 deployments, EC2 SSH deploys, ECR image pushes, ECS service updates, and Terraform automation.
GitLab CI Multi-Project Pipelines
Learn GitLab multi-project pipelines, downstream triggers, child pipelines, include strategies, trigger API usage, dynamic child pipelines, and cross-project dependencies in GitLab CI/CD.
GitLab CI Best Practices
Learn GitLab CI best practices for faster pipelines, better caching, DAG execution with needs, reusable templates, rules-based workflows, protected deployments, and pipeline performance optimization.