Skip to content

flows-examples/gitops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitOps Use Cases

Collection of GitOps use cases to use with SonataFlow Operator.

CI with Tekton

In this example, we show the possibility to build a "single file" SonataFlow project into an image. Later, this image can be used to deploy the workflow with the SonataFlow operator.

See here for more details.

Integration with ArgoCD

The CI use case Build with Kaniko and Generate Manifests is meant to integrate with a CD solution, such as ArgoCD.

This pipeline will fetch a SonataFlow project repository, build the workflow image, push to a registry, generate an updated SonataFlow manifest, and open a PR to the configuration repository.

From the configuration repository, ArgoCD will take over and use the generated manifests to deploy the workflow in the cluster.

The ArgoCD configuration is straightforward. The image below exemplifies the application:

ArgoCD Application configuration

When syncing the application with the configuration repository you can see the workflow deployed:

ArgoCD Application sync

The SonataFlow Operator is responsible for the workflow deployment in the target cluster.

The figure below gives an overview of this CI/CD process:

SonataFlow CI/CD Overview

Video Explanation

DevLog #004 - CI/CD With SonataFlow Operator

Releases

No releases published

Packages

No packages published