DevOps and CI/CD

DevOps practices and CI/CD pipelines, built with open-source tools and with OpenShift Pipelines and OpenShift GitOps.

  1. 01

    DevOps and CI/CD: the complete guide

    What DevOps is, how CI/CD pipelines work stage by stage, GitOps and deployment strategies, security in the pipeline, and how to build it all with open-source tools and on Red Hat OpenShift.

    Read
  2. 02

    Source control

    Git with a single main branch, short-lived branches, pull requests, and branch protection so main only moves when the verify check is green.

    Read
  3. 03

    Continuous integration

    Run build, test, and a vulnerability scan on every change, and keep main in a state you can release.

    Read
  4. 04

    Container builds

    Build an image with a Containerfile and Buildah, run the same build on OpenShift, and use S2I when a builder image already knows how to compile.

    Read
  5. 05

    Jenkins

    Run Jenkins on OpenShift from the cluster's Jenkins image, and keep the pipeline in a Jenkinsfile that calls the verify script and starts a build.

    Read
  6. 06

    GitLab CI

    Run a self-hosted GitLab on OpenShift, execute each job in a GitLab Runner pod, and push images with Buildah to the internal registry.

    Read
  7. 07

    OpenShift Pipelines (Tekton)

    Build and deploy with OpenShift Pipelines. Tasks, a pipeline and a GitLab trigger all run as pods on the cluster.

    Read
  8. 08

    OpenShift GitOps (Argo CD)

    Deploy from Git with OpenShift GitOps. Detect drift, heal it, and promote a build from dev to production with a pull request.

    Read
  9. 09

    Deployment strategies

    Roll out a service with a rolling update, a blue-green cutover and a canary, and roll each of them back.

    Read
  10. 10

    DevSecOps and supply chain

    Scan source and images in the pipeline, publish an SBOM, sign the image with cosign, and reject unsigned images on OpenShift.

    Read
  11. 11

    Infrastructure as code

    Declare OpenShift projects with OpenTofu or Terraform, configure hosts with Ansible, and apply both from a pipeline.

    Read
  12. 12

    Developer Hub

    Stand up a Backstage developer portal on OpenShift and add a software template that scaffolds a new service into Git.

    Read
  13. 13

    Measuring DevOps

    Measure the four DORA metrics from GitLab and OpenShift. Deployment frequency, lead time, change failure rate and recovery time.

    Read