Skip to content

A GitOps and Serverless CI/CD demo using OpenShift GitOps (Argo CD) and OpenShift Pipelines (Tekton).

Notifications You must be signed in to change notification settings

stolostron/gitops-and-tekton-with-openshift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

GitOps and Serverless CI/CD with OpenShift

What's In This Demo?

The puprose of this demo is to:

  • Deploy shared CI/CD infrastructure in an OpenShift cluster, such as:
    • Sonatype Nexus - Maven artifact repository.
    • SonarQube - Static code analysis and CVE reporting.
    • Argo CD - GitOps lifecycle management, provided by OpenShift GitOps.
    • Tekton - Serverless CI/CD, provided by OpenShift Pipelines.
  • Use GitOps repositories to:
    • Create serverless pipelines.
    • Provision and configure application environments (dev/prod)
  • Demonstrate the ability to use notifications from git repository managers such as Gitea, Github, GitLab, Bitbucket to trigger new builds.
  • Manually start a build with a "pipeline run" custom resource.

What You Will Need

Cluster Admin access to an OpenShift 4.9+ cluster. This has demo has been tested with:

  • Red Hat OpenShift Container Platform 4.9
  • Red Hat OpenShift Container Platform 4.10
  • Azure Red Hat OpenShift (OpenShift 4.9)

What You Will Do

This demo is deployed in stages:

  • Install OpenShift GitOps operator.
  • Install Gitea Operator and instance.
  • Install OpenShift Pipelines Operator.
  • Use the default Argo CD instance in the openshift-gitops namespace to:
    • Create the projects/namespaces required for the demo.
    • Configure RBAC for pipelines and Argo CD.
    • Deploy an Argo CD instance for Developers to use.
  • Use Developers Argo CD to deploy common tooling (Nexus and SonarQube)
  • Use Developers Argo CD to create pipelines and application configuration.
  • Kick off a pipeline run!

Getting Started

Select the version of OpenShift you are using to see how to install the OpenShift GitOps Operator:

About

A GitOps and Serverless CI/CD demo using OpenShift GitOps (Argo CD) and OpenShift Pipelines (Tekton).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published