Skip to content

← Week 21 | Overview | Week 23 →

Week 22 - Pipeline to production

Phase 6: CI/CD on Linux (Weeks 21-22)

  • Done

Goal: Commit to production, automated.

Exercises:

  • Pipeline stages: restore, build, test, publish, build and push image.
  • Deploy over SSH (service connection) or by pulling the image on the server; health check after deploy.
  • Add a rollback step and keep the last 3 images; use secure files or variables for secrets.
  • Keep pipeline scripts in Bash with set -euo pipefail and proper quoting.

Deliverable: One push triggers a build, test and zero-touch deploy to your VPS.

My notes: week-22-notes.md


← Week 21 | Overview | Week 23 →