Skip to content

Instantly share code, notes, and snippets.

@ahpook
Last active March 24, 2020 18:27
Show Gist options
  • Save ahpook/73415b1fabc08e1da488a88fd17aa7c7 to your computer and use it in GitHub Desktop.
Save ahpook/73415b1fabc08e1da488a88fd17aa7c7 to your computer and use it in GitHub Desktop.
Conditional pipelinerun - the actual run
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: condtional-pr
spec:
pipelineRef:
name: conditional-pipeline
serviceAccountName: 'default'
resources:
- name: source-repo
resourceRef:
name: pipeline-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment