tektoncd / tektoncd/cli

Explore Adding oci Capabilities into tkn

Open
#1,247 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/roadmap kind/design
Dominant language
Go
Stars
461
Forks
277
Avg merge
16h 48m
Merged PRs (30d)
95

Description

This issue is meant to serve as a place to discuss possibilities for adding the features of oci into tkn. Closing this issue requires developing a plan (could include a demo too but not a requirement) that is discussed and approved in the tkn working group. It would also be helpful to gauge the thoughts of users of oci and Tekton bundles about their thoughts on the proposal.

With v0.18.0 of pipelines, Tekton bundles can be enabled via a feature flag. As part of supporting this feature, we should look into whether to add the oci cli into tkn.

Alternative solutions to adding oci could be to allow users to add oci as a plugin once #1178 is added. Additionally, we could look into supporting oci in a similar way to the hub cli (#1203).

What to consider as part of a proposal:

  • UX - What would the proposed user experience look like when using oci features through tkn?
  • Does oci's command structure align with tkn's structure (i.e. tkn <resource> <action> <args> <flags>)?
  • Possible blockers for adding oci into tkn?
  • High level overview of how oci would be added to tkn
  • What alternative approaches could be used instead of what is proposed?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Tekton bundles section in pipelines.md and the experimental oci project. Compare oci's command structure with tkn's UX, review alternatives such as plugin support in #1178 and the hub approach in #1203, and gather user feedback. Done means a high-level proposal or demo has been discussed and approved by the tkn working group.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.