Tekton Bundle: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=
* [[Tekton_Concepts#Bundles|Tekton Concepts]]
* [[Tekton_Concepts#Bundles|Tekton Concepts]]


=Overview=
=Overview=
A '''Tekton bundle''' is an OCI artifact that contains resources like [[Tekton_Task#Overview|tasks]]. The tasks published within a bundle can be referenced within a <code>taskRef</code> in a [[Tekton_TaskRun|task run]]:
A '''Tekton bundle''' is an OCI artifact that contains resources like [[Tekton_Task#Overview|tasks]]. The tasks published within a bundle can be referenced within a <code>taskRef</code> in a [[Tekton_TaskRun#bundle|task run]]:
<font size=-1>
<font size=-1>
  kind: TaskRun
  kind: TaskRun
Line 12: Line 11:
     bundle: docker.io/myrepo/mybundle[:''tag'']
     bundle: docker.io/myrepo/mybundle[:''tag'']
</font>
</font>
or in declaration of tasks in pipelines.
or in [[Tekton_Pipeline#pipeline_task_bundle|declaration of tasks in pipelines]].
 


<font color=darkkhaki>TO PROCESS:  
<font color=darkkhaki>TO PROCESS:  
Line 21: Line 19:
* <code>[[Tekton_Pipeline#pipeline_task_bundle|bundle]]</code>
* <code>[[Tekton_Pipeline#pipeline_task_bundle|bundle]]</code>
* <code>[[Tekton_TaskRun#bundle|bundle]]</code>
* <code>[[Tekton_TaskRun#bundle|bundle]]</code>
* https://tekton.dev/docs/pipelines/tekton-bundle-contracts/
</font>
</font>

Latest revision as of 03:11, 29 April 2022

Internal

Overview

A Tekton bundle is an OCI artifact that contains resources like tasks. The tasks published within a bundle can be referenced within a taskRef in a task run:

kind: TaskRun
spec:
  taskRef:
    name: some-task
    bundle: docker.io/myrepo/mybundle[:tag]

or in declaration of tasks in pipelines.

TO PROCESS: