CI/CD Pipelines — Quick Reference
GitHub Actions
GitLab CI
Docker build/push (common artifact step)
Useful conceptual checklist before shipping a pipeline
•[ ] Tests actually block deployment on failure (verify by intentionally breaking a test once)
•[ ] Secrets are in the platform's secrets store, never hardcoded in the pipeline file
•[ ] Dependency install step uses a lockfile-based install (
npm ci, not npm install) for reproducibility•[ ] Caching is keyed by lockfile hash, not something that changes every run
•[ ] There's a defined, tested rollback path — not just a plan on paper
•[ ] Production deploy has an explicit gate (manual approval or automated health-check gate), not an instant push from every merge
•[ ] Pipeline secrets/credentials are scoped to the jobs that actually need them, not global to the whole pipeline
Common CI/CD terminology, quick definitions
| Term | Meaning |
|---|
|---|---|
| Trigger | What starts a pipeline run (push, PR, schedule, manual) |
|---|---|
| Artifact | The build output carried between stages (binary, image, bundle) |
| Runner/Agent | The machine (often ephemeral/containerized) that executes pipeline jobs |
| Matrix build | Running the same job across multiple parameter combinations in parallel |
| Canary | Progressive rollout to a small traffic percentage before full deployment |
| Blue-green | Two full environments, atomic traffic switch between them |
| GitOps | Deployment driven by a controller reconciling cluster state to match a Git repo |
| OIDC federation | Minting short-lived cloud credentials for a pipeline run instead of static keys |

