Tekton Concepts: Difference between revisions
Jump to navigation
Jump to search
(→Task) |
|||
Line 32: | Line 32: | ||
name: hello | name: hello | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===TaskRun Operations=== | |||
* [[Tekton_Operations#List_TaskRuns|List taskruns]] | |||
==Pipeline== | ==Pipeline== |
Revision as of 22:31, 27 April 2022
Internal
Overview
Tekton Domain Model
Task
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: hello
spec:
steps:
- name: echo
image: alpine
script: |
#!/bin/sh
echo "Hello World"
Task Operations
TaskRun
apiVersion: tekton.dev/v1beta1
kind: TaskRun
metadata:
name: hello-task-run
spec:
taskRef:
name: hello