Continuous Integration and Continuous Delivery/Deployment: automatically building, testing, and shipping code on every change, so integration problems surface in minutes instead of at a painful merge weeks later. Part of the DevOps curriculum.

~9,000 words across 12 notes. This section was a 142-line stub until August 2026, while 2,776 lines of GitHub Actions material sat in git/ — the wrong folder, since Actions is CI/CD rather than version control. That material was moved here and split into notes 03–12; git/ keeps version control.

Grounding: this vault deploys itself via a GitHub Actions workflow (.github/workflows/deploy.yml), which note 02 dissects line by line. Notes 03–12 come from real pipeline work on production deployments. The competing-tools comparison in note 02 is [reference].

Reading order

The model

  1. CI/CD Concepts — [Intermediate] — CI vs CD vs continuous deployment, the anatomy of a pipeline (stages, gates, artifacts), and the principles that make it work. Vendor-neutral
  2. CI/CD Tools — [Intermediate → Advanced] — GitHub Actions dissected via this vault’s own deploy pipeline, plus the Jenkins / GitLab CI / CircleCI landscape

GitHub Actions in depth

  1. Fundamentals — [Intermediate] — workflow → job → step → action, where files live, the execution flow, and the complete top-level YAML including concurrency and permissions
  2. Triggers, Jobs and Runners — [Intermediate] — on: in full, job and step structure, run vs uses, outputs, fan-out/fan-in, and the machines it all runs on
  3. Contexts, Secrets and Environments — [Intermediate] — the context objects, expression functions, and how secrets and environments are scoped
  4. Caching, Artifacts and Matrix Builds — [Intermediate] — the three things that make a pipeline fast and broad
  5. Reusable Workflows and Composite Actions — [Intermediate → Advanced] — how to stop copy-pasting YAML across repos

Building real pipelines

  1. CI Pipelines — [Intermediate] — a complete build, worked through in Node/NestJS and Java/Spring Boot
  2. CD, Deployment Strategies and Releases — [Intermediate → Advanced] — deploy structure and rollback, recreate/rolling/blue-green/canary in depth, and automated releases
  3. Securing the Pipeline — [Intermediate → Advanced] — your CI system holds production credentials and runs third-party code. Least privilege, OIDC, dependency scanning, supply-chain hardening
  4. Real-World Pipelines, End to End — [Advanced] — two complete production pipelines, top to bottom
  5. Troubleshooting Workflows — [Reference] — debug logging, tmate SSH into a runner, the errors you’ll actually hit

Where this borders other domains

CI/CD sits between several things and it’s easy to duplicate them here. Deliberately kept elsewhere:

↑ Back to DevOps