Tekton Bundle: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:


=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

Revision as of 03:05, 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: