Skip to content

← Week 22 - Pipeline to production

Week 22 - Pipeline to production: notes

Status: Not started

Exercise 1

Pipeline stages: restore, build, test, publish, build and push image.

Commands, results, what surprised me.

Exercise 2

Deploy over SSH (service connection) or by pulling the image on the server; health check after deploy.

Commands, results, what surprised me.

Exercise 3

Add a rollback step and keep the last 3 images; use secure files or variables for secrets.

Commands, results, what surprised me.

Exercise 4

Keep pipeline scripts in Bash with set -euo pipefail and proper quoting.

Commands, results, what surprised me.

Deliverable

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

Write-up.