CI/CD

Continuous integration and delivery (CI/CD): every change is tested automatically, and changes that pass are ready to ship without manual steps. CivicGrid's pipeline runs on GitHub Actions, and I'm learning Jenkins alongside it, because so many teams still run it.

CI/CD with GitHub Actions and Jenkins

One real pipeline, built in two tools side by side: GitHub Actions, which runs CivicGrid's pipeline, and Jenkins, the server many companies still run themselves. From what CI/CD solves to tests as gates, images, secrets, scanning and the handoff to production.

  1. 1What CI/CD solvesStart · 20 min
  2. 2One pipeline, two toolsStart · 35 min
  3. 3Tests as gatesStart · 45 min
  4. 4Building and tagging imagesStart · 25 min
  5. 5Secrets and permissionsStart · 25 min
  6. 6Pipelines that still work next monthStart · 20 min
  7. 7Security scanning in the pipelineStart · 25 min
  8. 8From image to productionStart · 25 min
  9. 9Running Jenkins yourselfStart · 25 min

GitHub Actions (opens in a new tab)

CI/CD built into GitHub. Workflows are YAML files in your repository.

Free tier

Jenkins (opens in a new tab)

The long-running CI/CD server many companies still run. Pipelines live in a Jenkinsfile.

Free

Jenkins logo by the Jenkins project, licensed CC BY-SA 3.0.