From ac3d1cc6a7a725796ec40778330f2893f5d0ab42 Mon Sep 17 00:00:00 2001 From: icurfer Date: Mon, 4 Aug 2025 01:44:57 +0000 Subject: [PATCH] update --- hello-pipeline.yaml | 12 ++++++++++++ hello-pipelinerun.yaml | 10 ++++++++++ hello-task.yaml | 13 +++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 hello-pipeline.yaml create mode 100644 hello-pipelinerun.yaml create mode 100644 hello-task.yaml diff --git a/hello-pipeline.yaml b/hello-pipeline.yaml new file mode 100644 index 0000000..1642db8 --- /dev/null +++ b/hello-pipeline.yaml @@ -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 + diff --git a/hello-pipelinerun.yaml b/hello-pipelinerun.yaml new file mode 100644 index 0000000..16084f0 --- /dev/null +++ b/hello-pipelinerun.yaml @@ -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 + diff --git a/hello-task.yaml b/hello-task.yaml new file mode 100644 index 0000000..cc825dd --- /dev/null +++ b/hello-task.yaml @@ -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!" +