Skip to content

codefresh-io/workflow-controller

 
 

Repository files navigation

workflow-controller

Join the chat at https://gitter.im/workflow-controller/Lobby

Build Status

Build Status Go Report Card codecov DopeBadge

A simple Kubernetes workflow controller. TODO: add more explanations.

Running workflow-controller

locally

$ ./workflow-controller --kubeconfig=$HOME/.kube/config

Now you can create a Workflow resource via

$ kubectl create -f .../examples/hello_workflow/workflow.yaml

At this point the workflow-controller will start to handle the jobs.

in a kubernetes pod

To run workflow-controller in a Kubernetes pod you should run this command

$ kubectl create -f .../deployment/k8s/workflow-controller-rbac.yaml
$ kubectl create -f .../deployment/k8s/workflow-controller-dpl.yaml

Then you may want to test a workflow example like this:

$ kubectl create -f  .../examples/hello_workflow/workflow.yaml

in an openshift cluster

TODO

Developper

How to release the workflow-controller

This project is using goreleaser and an additional script for releasing also the Helm chart.

For starting the delivery, you need to clone this repository, then:

zsh hack/release.sh <version> <remove-git>

a concreate example is: zsh hack/release.sh v1.0.1 upstream

This script will:

  • generates locally the helm chart with the requested version.
  • updates the helm repo index file (index.yaml) file with the new release.
  • Adds commits and tag the repository with all change and the requested version.
  • Push changeset and tag to the remote git repository.

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.7%
  • Shell 4.1%
  • Other 1.2%