Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

DevOps with OpenShift Pipelines and OpenShift GitOps

September 17, 2024
Gerald Nunn
Related topics:
CI/CDDevOpsGitOpsKubernetes
Related products:
Red Hat OpenShift

Share:

    Red Hat OpenShift Pipelines and Red Hat OpenShift GitOps provide key components of a combined DevOps solution in the Red Hat OpenShift platform. OpenShift Pipelines is responsible for providing the continuous integration (CI) portion of the DevOps methodology, while OpenShift GitOps covers the continuous delivery (CD) aspect. Each component can be used independently or can work together as a unit to provide a complete DevOps solution, as you'll see in this article.

    Continuous integration with OpenShift Pipelines

    OpenShift Pipelines is based on Tekton, a popular upstream solution that enables DevOps practitioners to construct complex workflows to build applications and images. 

    These pipelines are assembled using a discrete set of tasks that are combined in a directed graph as a pipeline representing the end-to-end flow for the workstream (see Figure 1). Each task represents a unit of work (clone repo, build image, etc) and can be composed of one or more steps.

    A sample end-to-end flow with OpenShift Pipelines: dev-git-update, dev-git-sync, prod-git-update, prod-git-sync.
    Figure 1: A sample workflow with OpenShift Pipelines.

    Unlike some other CI solutions, such as legacy tool Jenkins, Pipelines is built on native Kubernetes technologies and thus is resource efficient since pipelines and tasks are only actively running when needed.  Once the pipeline has completed no resources are consumed by the pipeline itself. 

    Pipelines and tasks are constructed using a declarative approach following standard Kubernetes practices. However, OpenShift Pipelines includes a user-friendly interface built into the OpenShift console that enables users to easily monitor the execution of the pipelines and view task logs as needed.  The user interface also shows metrics for individual task execution, enabling users to better optimize pipeline performance.

    In addition, the user interface enables users to quickly create and modify pipelines visually. While users are encouraged to store tasks and Pipeline resources in Git, the ability to visually create and modify pipelines greatly reduces the learning curve and makes the technology approachable for new users.

    You can leverage pipelines-as-code to provide an experience that is tightly integrated with your backend Git provider, such as GitHub or GitLab. This enables users to see the execution results of the pipeline directly integrated with the specific git commit that triggered it.

    Viewing an example pipeline's execution results in Git.
    Figure 2: A visual way to create and modify pipelines.
    Task logs for a validated Git commit.
    Figure 3: Task status and commit details. 

    Continuous delivery with OpenShift GitOps

    Red Hat OpenShift GitOps is based on the popular GitOps project Argo CD in the CNCF portfolio. GitOps has quickly become the preferred way for DevOps practitioners to deploy and manage Kubernetes resources.

    As the name suggests, it enables the synchronization of Kubernetes resources with back-end repositories, typically Git-based repositories. This provides a number of benefits such as increased consistency of deployments, improved change control, and audit trails as Git becomes the source of truth.

    Application tiles in Argo CD.
    Figure 4: Application tiles in Argo CD.

    OpenShift GitOps provides an operator-driven experience that facilitates the full lifecycle of Argo CD, including provisioning, updating, and management. This experience is integrated into the overall OpenShift experience with additional monitoring and dashboards provided by the operator.

    The OpenShift GitOps dashboard showing health and sync status and more.
    Figure 5: OpenShift GitOps dashboard overview.

    With OpenShift GitOps, Argo CD acts as a two-way reconciliation engine ensuring that the state of the resources on the cluster is aligned with the desired state stored in Git, the source of truth. Should a change in Git occur, Argo CD can automatically synchronize the change with the state of the resource on the cluster. Similarly, should the state of a resource change on the cluster, Argo CD can automatically revert the resource back to the source of truth expressed in Git.

    This two-way reconciliation is a powerful capability and a significant advantage of a GitOps engine over traditional one-way automation tools that typically only execute when a change occurs in the source system but is not aware of changes at the destination. This capability provides increased consistency of resources and deployments across multiple clusters.

    Video demo: CI/CD with OpenShift GitOps and OpenShift Pipelines

    The following video provides a demonstration of both of these tools with additional examples and details.

    Conclusion

    OpenShift Pipelines and OpenShift GitOps are powerful tools included in Red Hat OpenShift that can be used by DevOps practitioners to provide continuous integration (CI) and continuous delivery/deployment (CD) capabilities. 

    Related Posts

    • Streamline edge deployments with Red Hat Ansible Automation Platform

    • 3 patterns for deploying Helm charts with Argo CD

    • Dynamically scale the Argo CD application controller with OpenShift GitOps 1.10

    • How to set up your GitOps directory structure

    • How to apply machine learning to GitOps

    Recent Posts

    • Ollama or vLLM? How to choose the right LLM serving tool for your use case

    • How to build a Model-as-a-Service platform

    • How Quarkus works with OpenTelemetry on OpenShift

    • Our top 10 articles of 2025 (so far)

    • The benefits of auto-merging GitHub and GitLab repositories

    What’s up next?

    GitOps has become a standard in deploying applications to Kubernetes, and many companies are adopting the methodology for their DevOps and cloud-native strategy. Download the GitOps Cookbook for useful recipes and examples for successful hands-on applications development and deployment with GitOps.

    Get the e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue