CI/CD & GitHub Actions (50 Qs)•Part 1: CI/CD Fundamentals & GitHub Actions Core (Junior / Entry-Level)
What is CI/CD and what are the differences between Continuous Integration, Continuous Delivery, and Continuous Deployment?
junior LevelMost AskedCode ExampleState ManagementKubernetesCI/CD & DevOps
In Simple Words:
- Continuous Integration (CI): The engineering practice of frequently committing code to a shared repository (multiple times a day), where automated pipelines build, lint, and run automated tests. The goal is to detect integration bugs immediately.
- Continuous Delivery (CD): An extension of CI where code changes are automatically built, tested, and packaged into production-ready deployable artifacts (e.g. Docker images, binaries). Releasing to production requires a manual approval/trigger.
- Continuous Deployment (CD): Fully automated end-to-end pipeline where every change that passes all stages is deployed straight into live production without manual human intervention.
scss
[ Developer Commit ]
│
▼
┌──────────────────┐
│ Continuous │ ──► Lint, Unit Tests, Static Analysis, Build
│ Integration (CI) │
└────────┬─────────┘
│
▼
┌──────────────────┐
│ Continuous │ ──► Integration Tests, Security Scan, Staging Deploy
│ Delivery (CD) │
└────────┬─────────┘
│
├───► Manual Approval Button ──► Production Release (Delivery)
│
└───► Automated Deployment ──► Live Production (Continuous Deployment)