Tekton Concepts: Difference between revisions
Jump to navigation
Jump to search
(→Task) |
|||
Line 4: | Line 4: | ||
=Tekton Domain Model= | =Tekton Domain Model= | ||
==Task== | ==Task== | ||
<syntaxhighlight lang='yaml'> | |||
apiVersion: tekton.dev/v1beta1 | |||
kind: Task | |||
metadata: | |||
name: hello | |||
spec: | |||
steps: | |||
- name: echo | |||
image: alpine | |||
script: | | |||
#!/bin/sh | |||
echo "Hello World" | |||
</syntaxhighlight> | |||
==TaskRun== | ==TaskRun== | ||
==Pipeline== | ==Pipeline== |
Revision as of 22:26, 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"