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]] | ||
* [[Tekton_Operations#Display_Execution_Log_of_a_TaskRun|Display execution log of a taskrun]] | |||
==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