tektoncd / tektoncd/cli

Create taskrun/pipelinerun from oci bundle

Open
#1,474 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Feature request

It should be possible to create a TaskRun (using tkn task start) from a oci bundle.
Today, we can create a TaskRun from an in-cluster Task definition. If oci bundles are enabled on a Pipeline instance, it's possible to create a TaskRun that uses the oci bundle image reference as Task definition reference. It should be possible to do that from the cli directly

The same should be possible for PipelineRun as well

Use case

Use oci bundle from the cli 👼🏼

UI Example
$ tkn task start oci://quay.io/vdemeest/my-task:0.1 -p foo=bar …

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 tracing the existing tkn task start command and the corresponding PipelineRun start entry point. Determine how each currently accepts an in-cluster definition, then define the OCI bundle image-reference path for both commands. Done means both commands can create the requested run from an oci:// reference while preserving existing parameter handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.