Create taskrun/pipelinerun from oci bundle
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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