Tekton Concepts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 21: | Line 21: | ||
===Task Operations=== | ===Task Operations=== | ||
* [[Tekton_Operations#List_Tasks|List tasks]] | * [[Tekton_Operations#List_Tasks|List tasks]] | ||
==TaskRun== | ==TaskRun== |
Revision as of 22:33, 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