Git Course 0%

CI/CD

CI/CD is the machinery that runs whenever you push. For most of this course it has appeared as a status on a merge request: green, and you can merge; red, and you cannot. This section explains what is behind it.

You do not need to write pipelines to work with developers, but reading them is genuinely useful: the configuration file says exactly what will be checked, which means you can run the same checks yourself before pushing and stop learning about problems ten minutes later.

Before you start: Section 9 or Section 10, whichever platform you use. Lesson 9.10 and lesson 10.10 cover reading a failure; this section covers the ideas and the files.

Lessons in this section

  1. CI vs Continuous Delivery vs Continuous DeploymentIntermediate≈ 8 min
  2. Pipeline, job, runner, artifact, environmentIntermediate≈ 8 min
  3. What triggers a pipeline; when it is redIntermediate≈ 10 min
  4. Reading and writing .gitlab-ci.ymlIntermediate≈ 14 min
  5. Reading and writing a GitHub Actions workflowIntermediate≈ 14 min
  6. Environments, deployments, rollbackIntermediate≈ 9 min
  7. CI as a reviewer: status checksIntermediate≈ 6 min