tekton-listener

command module
v0.0.0-...-76ccef3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

README

tekton-listener

The project is an addon for tektoncd-pipeline

The tektoncd-pipeline is a k8s native CI/CD tool, it can create pipeline for tasks processing, but there is no trigger to kick off a pipeline unless use kubectl create -f to create a CRD named pipelinerun.

It's not good, so this project is try to build a triger.

The basic idea is:

  • Leverage Knative/event-contrib(https://github.com/knative/eventing-contrib) to be a event adepter to introduce different event source, such as github, kafka .etc.
  • tekton-listener will create a knative service when a EventBinding is applied. The KSV will standby for eventing from knative/event-contrib and handle the event when received.
  • When received event, it will get template from ListenerTemplate and bind the event, then create PipelineResource and PipelineRun to trigger the Pipeline
  • Event should be CloudEvent(https://github.com/cloudevents/spec)

For now (2019.6.21) the project is still not complete...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the tektonexperimental v1alpha1 API group +kubebuilder:object:generate=true +groupName=tektonexperimental.vincent-pli.com
Package v1alpha1 contains API Schema definitions for the tektonexperimental v1alpha1 API group +kubebuilder:object:generate=true +groupName=tektonexperimental.vincent-pli.com
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL