Skip to content

Instantly share code, notes, and snippets.

@pritidesai
Last active June 16, 2020 06:36
Show Gist options
  • Save pritidesai/32cb2f53fea23b743c378b86eb4cbecd to your computer and use it in GitHub Desktop.
Save pritidesai/32cb2f53fea23b743c378b86eb4cbecd to your computer and use it in GitHub Desktop.
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: pipelinerun-with-pipeline-with-task-to-echo-good-morning
spec:
metadata:
labels:
pr1: value1
pipelineSpec:
tasks:
- name: echo-good-morning
metadata:
labels:
custom1: value1
custom2: value2
custom3: value3
annotations:
acustom1: value1
acustom2: value2
taskSpec:
steps:
- name: echo
image: ubuntu
script: |
#!/usr/bin/env bash
echo "Good Morning!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment