DevOpsCI/CD pipelinesLesson 58 / 69

What CI/CD does

Docs15 min

What CI/CD does

CI is a machine that does the boring checks every single time:

  • install, build, lint, test — the same gates you run locally
  • a real PostgreSQL for the database tests to hit
  • a green check that means "merge me" and a red one that means "stop"

CD takes the green check and ships it. The contract is simple: main is always deployable, because nothing reaches main that failed the machine.

This app's CI (.github/workflows/) runs both apps' suites on every push — including the e2e suite you just learned about, against a seeded database.

Exercise

Read both CI workflows in this repo. List each step in order and explain what a red check would be telling you at each step.