CI/CD
Automate your software delivery pipeline — build, test, and deploy with confidence.
Learning Path
| Topic | Description |
|---|---|
| Fundamentals | Core concepts, pipeline stages, deployment strategies, and best practices |
| Cheatsheet | Quick reference for GitHub Actions, Jenkins, GitLab CI, and CircleCI syntax |
| Interview Questions | 30+ interview questions and answers for CI/CD roles |
| GitOps | GitOps principles, ArgoCD, Flux, and pull-based deployment |
Key Concepts
- Continuous Integration — Automatically build and test code on every commit
- Continuous Delivery — Keep code in a state ready for production release
- Continuous Deployment — Automatically deploy to production after tests pass
- Pipeline-as-Code — Define pipelines as code in your repository
- Quality Gates — Automated checkpoints ensuring code meets standards
- Blue-Green Deployment — Zero-downtime deployment with instant rollback
- Canary Deployment — Gradually roll out changes to a subset of users
- Artifact Management — Version and trace build outputs through pipeline
Popular Tools
- Jenkins — Self-hosted CI/CD server with extensive plugins
- GitHub Actions — CI/CD integrated with GitHub
- GitLab CI — CI/CD built into GitLab
- CircleCI — Cloud-based CI/CD platform
- Docker — Containerization for consistent environments
- Kubernetes — Container orchestration for deployments
Getting Started
- Start with Fundamentals to understand core concepts
- Reference the Cheatsheet for platform-specific syntax
- Prepare for interviews with Interview Questions
- Learn GitOps for declarative infrastructure
Contributing
Know great CI/CD resources? Submit a PR to help the community learn!
CircleCI in brief
CircleCI is a hosted CI/CD service (GitHub, GitLab and Bitbucket sources) with the same building blocks as the pipelines above: jobs that run in containers or VMs, workflows that order them, caching and parallelism to cut build time, and orbs as reusable packages of configuration. A minimal .circleci/config.yml:
version: 2.1
jobs:
test:
docker:
- image: cimg/node:22.12
steps:
- checkout
- restore_cache:
keys: [deps-{{ checksum "package-lock.json" }}]
- run: npm ci
- save_cache:
key: deps-{{ checksum "package-lock.json" }}
paths: [~/.npm]
- run: npm test
workflows:
build:
jobs: [test]
The concepts map one-to-one onto GitHub Actions and GitLab CI; see the CI/CD Cheatsheet for the side-by-side syntax.