cli icon indicating copy to clipboard operation
cli copied to clipboard

Create taskrun/pipelinerun from oci bundle

Open vdemeester opened this issue 3 years ago • 3 comments

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 …

vdemeester avatar Dec 14 '21 13:12 vdemeester

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale with a justification. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close with a justification. If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

tekton-robot avatar Mar 14 '22 13:03 tekton-robot

/remove-lifecycle stale /area roadmap /lifecycle frozen

vdemeester avatar Mar 14 '22 14:03 vdemeester

There could be multiple layers(tasks) in one bundle image, do we need to cover that? Or we can assume there is only one task?

digglife avatar May 16 '22 18:05 digglife