weaveworks / pipeline-controller

This repository contains the Pipeline CRD and associated controller for Weave GitOps Enterprise.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipeline Controller

The pipeline-controller is a Kubernetes controller offering an API (in terms of the Pipeline CRD) and automation for implementing continuous delivery (CD) pipelines in an unopinionated fashion. The API allows for defining a pipeline comprised of multiple environments and deployment targets, typically different clusters serving different purposes, e.g. "dev", "staging", "prod". The controller then tracks applications deployed to those environments and provides visibility into their progress while they make their way through the environments.

Pipelines

One part of this project is an API to define a continuous delivery pipeline. Please see the Go types here for details on this API.

Promotion

Another part this project offers is an API and machinery for promoting applications through environments. The following image provides an overview of how the promotion flow is implemented (an editable version of this image is maintained in Miro):

Promotion Flow

Getting Started

  1. Install the CRD on your cluster:
    make install
  2. Run the controller:
    make run

Create example pipeline

To make it easier to develop on the controller, you can add example pipeline resources:

# Github
kubectl apply --recursive -f e2e/testdata/pipelines/github/

# Gitlab
kubectl apply --recursive -f e2e/testdata/pipelines/gitlab/

Contributing

Check out how to contribute to the project.

About

This repository contains the Pipeline CRD and associated controller for Weave GitOps Enterprise.


Languages

Language:Go 95.8%Language:Makefile 3.1%Language:Smarty 0.7%Language:Dockerfile 0.3%Language:Shell 0.1%