dibyom / resolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tekton Resolution

Warning: Tekton Resolution is under development and currently only suitable for those interested in testing the project at its bleeding edge. Breakages to the API, types, libraries and resolvers are unavoidable at this stage.

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.

About

License:Apache License 2.0


Languages

Language:Go 85.7%Language:Shell 14.3%