# CI/CD Pipelines

Every push tested, every merge shipped. GitHub Actions first, then Jenkins and GitOps.

Level: Beginner. Free on DevOps Academy: https://devops.rajeev.pro/courses/cicd

## Roadmap

1. **CI/CD concepts**: Know what a pipeline is for before writing one. [Lesson](https://devops.rajeev.pro/courses/cicd/01-what-a-pipeline-is-for)
   Topics: CI vs CD vs deployment; Pipeline stages; Artifacts; Environments
2. **GitHub Actions basics**: The quickest way to get a real pipeline running on your own repo. [Lesson](https://devops.rajeev.pro/courses/cicd/02-github-actions-basics)
   Topics: YAML syntax; Triggers; Jobs & steps; Runners
3. **Workflow details**: Make pipelines fast and readable instead of slow and copy-pasted. [Lesson](https://devops.rajeev.pro/courses/cicd/03-workflow-details)
   Topics: Expressions & contexts; Matrix builds; Caching dependencies; Uploading artifacts
4. **Secrets & environments**: Deploy without pasting passwords into YAML. [Lesson](https://devops.rajeev.pro/courses/cicd/04-secrets-and-environments)
   Topics: Secrets & env vars; Environments & approvals; OIDC to the cloud
5. **Testing in pipelines**: The pipeline is only as useful as the checks it runs. [Lesson](https://devops.rajeev.pro/courses/cicd/05-testing-in-pipelines)
   Topics: Linting; Unit tests; Integration tests; Required status checks
6. **Build & publish**: Turn code into a versioned artifact that can be deployed anywhere. [Lesson](https://devops.rajeev.pro/courses/cicd/06-build-and-publish)
   Topics: Docker image builds; Tagging; Pushing to a registry; Artifact storage (Nexus)
7. **Deploy**: Get that artifact onto servers, and back off them when something breaks. [Lesson](https://devops.rajeev.pro/courses/cicd/07-deploy)
   Topics: Static sites; Deploy over SSH; Deploy to Kubernetes; Rollbacks
8. **Jenkins**: Still everywhere in big companies. You will meet it at work. [Lesson](https://devops.rajeev.pro/courses/cicd/08-jenkins)
   Topics: Controller & agents; Jenkinsfile; Plugins; Shared libraries
9. **Other CI tools**: Same ideas, different YAML. Read any pipeline you are handed. [Lesson](https://devops.rajeev.pro/courses/cicd/09-other-ci-tools)
   Topics: GitLab CI; CircleCI; Buildkite
10. **GitOps**: Let Git be the source of truth for what runs in the cluster. [Lesson](https://devops.rajeev.pro/courses/cicd/10-gitops)
   Topics: Push vs pull deploys; Argo CD; Flux
11. **Pipeline security**: Pipelines hold the keys to production. Treat them that way. [Lesson](https://devops.rajeev.pro/courses/cicd/11-pipeline-security)
   Topics: Secret scanning; Dependency scanning; SAST; Pinning actions; Least-privilege tokens
12. **Scaling pipelines**: Keep CI fast and cheap as the team and the repo grow. [Lesson](https://devops.rajeev.pro/courses/cicd/12-scaling-pipelines)
   Topics: Reusable workflows; Composite actions; Self-hosted runners; Speed & cost
