Tekton Concepts: Difference between revisions
Jump to navigation
Jump to search
(→Task) |
|||
Line 19: | Line 19: | ||
echo "Hello World" | echo "Hello World" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Task Operations=== | |||
* [[Tekton_Operations#List_Tasks|List tasks]] | |||
==TaskRun== | ==TaskRun== |
Revision as of 22:30, 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