resolution

module
v0.0.0-...-d680719 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0

README

Tekton Resolution

NOTE: The separate Tekton Resolution project has been deprecated. Its code has been moved into https://github.com/tektoncd/pipeline, and will be included in Pipeline release v0.40.0.

Pluggable resolution for Tekton resources (like Tasks and Pipelines). Store and utilize Tekton resources from git, from oci registries, from the tekton hub, or from anywhere else.

Tekton Resolution is aiming for the following near-term goals:

  • Pluggable. Allow integrations with Tekton Pipeline's resolution machinery without having to upstream changes to Tekton Pipelines.
  • Configurable. Allow operators to choose which remote locations resources can be fetched from in their CI/CD clusters.

Getting Started

Requirements
Install

Out of the box Tekton Resolution provides a simple Git resolver that can fetch files from public git repositories.

  1. Create the tekton-remote-resolution namespace and install the ResolutionRequest controller from the root of this repo:
$ ko apply -f ./config
  1. Install a resolver or get started writing your own.

Resolvers

Resolvers do the heavy lifting fetching tekton resources from remote places (like repos, registries, etc...). These are the resolvers that are currently implemented. Once a Resolver is installed in your Tekton cluster all users in that cluster can start making use of it.

Name Description Status
Bundle Returns entries from oci bundles Alpha
Git Returns files from git repos Alpha
Hub Uses the Tekton Hub API to fetch tasks and pipelines Alpha
ClusterScoped Shares a single set of tasks and pipelines across all namespaces in your cluster Alpha

Want to integrate with a remote location that isn't listed here? Write a new resolver or post an issue requesting one.


Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.

Directories

Path Synopsis
bundleresolver
cmd
docs
gitresolver
hubresolver
pkg
apis/resolution/v1alpha1
+k8s:deepcopy-gen=package,register +groupName=resolution.tekton.dev
+k8s:deepcopy-gen=package,register +groupName=resolution.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/resolution/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/resolution/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
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.
reconciler/resolutionrequest
Package resolutionrequest provides a reconciler for ResolutionRequest objects.
Package resolutionrequest provides a reconciler for ResolutionRequest objects.
third_party
VENDOR-LICENSE/github.com/hashicorp/golang-lru
Package lru provides three different LRU caches of varying sophistication.
Package lru provides three different LRU caches of varying sophistication.

Jump to

Keyboard shortcuts

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