update
This commit is contained in:
12
hello-pipeline.yaml
Normal file
12
hello-pipeline.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# hello-pipeline.yaml
|
||||||
|
apiVersion: tekton.dev/v1
|
||||||
|
kind: Pipeline
|
||||||
|
metadata:
|
||||||
|
name: hello-pipeline
|
||||||
|
namespace: tekton-demo
|
||||||
|
spec:
|
||||||
|
tasks:
|
||||||
|
- name: run-hello
|
||||||
|
taskRef:
|
||||||
|
name: hello-task
|
||||||
|
|
10
hello-pipelinerun.yaml
Normal file
10
hello-pipelinerun.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# hello-pipelinerun.yaml
|
||||||
|
apiVersion: tekton.dev/v1
|
||||||
|
kind: PipelineRun
|
||||||
|
metadata:
|
||||||
|
name: hello-pipelinerun
|
||||||
|
namespace: tekton-demo
|
||||||
|
spec:
|
||||||
|
pipelineRef:
|
||||||
|
name: hello-pipeline
|
||||||
|
|
13
hello-task.yaml
Normal file
13
hello-task.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: tekton.dev/v1
|
||||||
|
kind: Task
|
||||||
|
metadata:
|
||||||
|
name: hello-task
|
||||||
|
namespace: tekton-demo
|
||||||
|
spec:
|
||||||
|
steps:
|
||||||
|
- name: echo-hello
|
||||||
|
image: ubuntu:20.04
|
||||||
|
script: |
|
||||||
|
#!/bin/bash
|
||||||
|
echo "✅ Hello from Tekton Task!"
|
||||||
|
|
Reference in New Issue
Block a user