What is a CI/CD pipeline?

BeginnerConceptCI/CD basics
Answer

A CI/CD pipeline is an automated sequence of steps that takes code from a Git commit to a running application.

A typical pipeline:

  1. Developer pushes code to Git.
  2. Build the application.
  3. Run unit tests.
  4. Run code-quality and security scans.
  5. Build a Docker image and push it to a registry.
  6. Deploy to a test or staging environment.
  7. Run more tests.
  8. Deploy to production (automatically or after approval).

Tools: Jenkins, GitHub Actions, GitLab CI, Azure DevOps.

All DevOps Fundamentals questions Roadmap: What is DevOps

More on CI/CD basics