Skip to main content

CI/CD

Automate your software delivery pipeline — build, test, and deploy with confidence.

Learning Path​

TopicDescription
FundamentalsCore concepts, pipeline stages, deployment strategies, and best practices
CheatsheetQuick reference for GitHub Actions, Jenkins, GitLab CI, and CircleCI syntax
Interview Questions30+ interview questions and answers for CI/CD roles
GitOpsGitOps 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
  • 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​

  1. Start with Fundamentals to understand core concepts
  2. Reference the Cheatsheet for platform-specific syntax
  3. Prepare for interviews with Interview Questions
  4. 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.