Capstone: CI/CD Pipeline Implementation

Chain Lint, Tests, DVC Retraining, CML Metric Reports, and Docker Builds Into One GitHub Actions Pipeline That Guards Every Pull Request. (MLOPS: ABSOLUTE BEGINNERS TO PRO IN 100 DAYS - DAY 74)

By Sandip Das · · 4 min read

Capstone: CI/CD Pipeline Implementation
💡
Hey — It's Sandip Das 👋

In Day 73 we ran 24 tracked experiments and registered the best churn model with the staging alias. All of that still runs from your laptop, which means it only happens when you remember to do it.

Today we automate it: one GitHub Actions pipeline that lints, tests, reproduces the DVC pipeline, posts a CML metrics report on the pull request, and builds and pushes the serving image.

📚 Key Learnings

  • The stage order of an ML CI pipeline and why cheap checks go first
  • Unit vs integration tests for a model-serving project
  • Running dvc repro in CI with AWS credentials via OIDC
  • CML: posting metrics diffs and plots as a pull request comment
  • Hands-on: lint → unit → integration → dvc repro → CML → docker build → push

🧠 Learn here

Read the full article on learnxops.com.

Topics: 100 Days of MLOps, MLOps, ML, CI/CD