Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pritidesai/421bce8e9617dfc27c72b2b8075efea1 to your computer and use it in GitHub Desktop.
Save pritidesai/421bce8e9617dfc27c72b2b8075efea1 to your computer and use it in GitHub Desktop.
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: task-echo-good-morning
spec:
steps:
- name: echo
image: ubuntu
script: |
#!/usr/bin/env bash
echo "Good Morning!"
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: pipeline-with-pipeline-with-task-to-echo-good-morning
spec:
tasks:
- name: echo-good-morning
taskRef:
name: task-echo-good-mornin
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: pipelinerun-with-pipeline-with-task-to-echo-good-morning
spec:
pipelineRef:
name: pipeline-without-taskspec-to-echo-good-morning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment