tekton-pipeline

module
v0.0.0-...-4fc8c9b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0

README

pipe Tekton Pipelines

Go Report Card CII Best Practices

The Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines.

Tekton Pipelines are Cloud Native:

  • Run on Kubernetes
  • Have Kubernetes clusters as a first class type
  • Use containers as their building blocks

Tekton Pipelines are Decoupled:

  • One Pipeline can be used to deploy to any k8s cluster
  • The Tasks which make up a Pipeline can easily be run in isolation
  • Resources such as git repos can easily be swapped between runs

Tekton Pipelines are Typed:

  • The concept of typed resources means that for a resource such as an Image, implementations can easily be swapped out (e.g. building with kaniko v.s. buildkit)

Want to start using Pipelines

Required Kubernetes Version
  • Starting from the v0.24.x release of Tekton: Kubernetes version 1.18 or later
  • Starting from the v0.27.x release of Tekton: Kubernetes version 1.19 or later
  • Starting from the v0.30.x release of Tekton: Kubernetes version 1.20 or later
  • Starting from the v0.33.x release of Tekton: Kubernetes version 1.21 or later
  • Starting from the v0.39.x release of Tekton: Kubernetes version 1.22 or later
  • Starting from the v0.41.x release of Tekton: Kubernetes version 1.23 or later
  • Starting from the v0.45.x release of Tekton: Kubernetes version 1.24 or later
  • Starting from the v0.51.x release of Tekton: Kubernetes version 1.25 or later
Read the docs

The latest version of our docs is available at:

Version specific links are available in the releases page and on the Tekton website.

See our API compatibility policy for info on the stability level of the API.

See our Deprecations table for features that have been deprecated and the earliest date they'll be removed.

Migrating

v1beta1 to v1

Several Tekton CRDs and API spec fields, including ClusterTask CRD and Pipeline Resources fields, were updated or deprecated during the migration from v1beta1 to v1.

For users migrating their Tasks and Pipelines from v1beta1 to v1, check out the v1beta1 to v1 migration guide.

v1alpha1 to v1beta1

In the move from v1alpha1 to v1beta1 several spec fields and Tekton CRDs were updated or removed .

For users migrating their Tasks and Pipelines from v1alpha1 to v1beta1, check out the spec changes and migration paths.

Want to contribute

We are so excited to have you!

Directories

Path Synopsis
cmd
nop
Package config is a placeholder that allows us to pull in config files via go mod vendor.
Package config is a placeholder that allows us to pull in config files via go mod vendor.
docs
hack
reference-docs-template
Placeholder file to make Go vendor this directory properly.
Placeholder file to make Go vendor this directory properly.
internal
pkg
apis
Package apis contains API Schema definitions for the various API groups
Package apis contains API Schema definitions for the various API groups
apis/pipeline/pod
Package pod contains non-versioned pod configuration +k8s:openapi-gen=true +gencrdrefdocs:unversionedTypes +groupName=tekton.dev
Package pod contains non-versioned pod configuration +k8s:openapi-gen=true +gencrdrefdocs:unversionedTypes +groupName=tekton.dev
apis/pipeline/v1alpha1
Package v1alpha1 contains API Schema definitions for the pipeline v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/pipeline/pkg/apis/pipeline +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
Package v1alpha1 contains API Schema definitions for the pipeline v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/pipeline/pkg/apis/pipeline +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
apis/pipeline/v1beta1
Package v1beta1 contains API Schema definitions for the pipeline v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/pipeline/pkg/apis/pipeline +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
Package v1beta1 contains API Schema definitions for the pipeline v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/pipeline/pkg/apis/pipeline +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
apis/resolution/v1alpha1
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=resolution.tekton.dev
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=resolution.tekton.dev
apis/resolution/v1beta1
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=resolution.tekton.dev
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=resolution.tekton.dev
apis/resource/v1alpha1
Package v1alpha1 contains API Schema definitions for the pipeline v1alpha1 API group +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/pipeline/pkg/apis/resource +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
Package v1alpha1 contains API Schema definitions for the pipeline v1alpha1 API group +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/pipeline/pkg/apis/resource +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
apis/run/v1alpha1
Package v1alpha1 contains API Schema definitions for the run v1alpha1 API group +groupName=tekton.dev
Package v1alpha1 contains API Schema definitions for the run v1alpha1 API group +groupName=tekton.dev
apis/run/v1beta1
Package v1beta1 contains API Schema definitions for the customrun v1beta1 API group +groupName=tekton.dev
Package v1beta1 contains API Schema definitions for the customrun v1beta1 API group +groupName=tekton.dev
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/pipeline/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/pipeline/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/pipeline/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/pipeline/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/pipeline/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/pipeline/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/resolution/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/resolution/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/resolution/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/resolution/clientset/versioned/typed/resolution/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/resolution/clientset/versioned/typed/resolution/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/resolution/clientset/versioned/typed/resolution/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/resolution/clientset/versioned/typed/resolution/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/resource/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/resource/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/resource/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/resource/clientset/versioned/typed/resource/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/resource/clientset/versioned/typed/resource/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
controller
Package controller provides helper methods for external controllers for Custom Task types.
Package controller provides helper methods for external controllers for Custom Task types.
pod
Package pod provides methods for converting between a TaskRun and a Pod.
Package pod provides methods for converting between a TaskRun and a Pod.
reconciler
Package reconciler defines implementations of the Reconciler interface defined at knative.dev/pkg/controller.Reconciler.
Package reconciler defines implementations of the Reconciler interface defined at knative.dev/pkg/controller.Reconciler.
reconciler/events
Package events defines the interface and different implementations for events
Package events defines the interface and different implementations for events
reconciler/resolutionrequest
Package resolutionrequest provides a reconciler for ResolutionRequest objects.
Package resolutionrequest provides a reconciler for ResolutionRequest objects.
resolution/common
Package common provides constants, errors, labels, annotations and helpers that are commonly needed by resolvers and clients need during remote resource resolution.
Package common provides constants, errors, labels, annotations and helpers that are commonly needed by resolvers and clients need during remote resource resolution.
spire
The spire package is used to interact with the Spire server and Spire agent respectively.
The spire package is used to interact with the Spire server and Spire agent respectively.
spire/test/errstrings
OS specific error strings
OS specific error strings
Package test holds the project's end-to-end tests (e2e).
Package test holds the project's end-to-end tests (e2e).

Jump to

Keyboard shortcuts

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