This commit is contained in:
2025-08-04 01:44:57 +00:00
parent 569f8d3631
commit ac3d1cc6a7
3 changed files with 35 additions and 0 deletions

12
hello-pipeline.yaml Normal file
View 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
View 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
View 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!"