Skip to content

Instantly share code, notes, and snippets.

@pritidesai
Created March 31, 2020 22:04
Show Gist options
  • Save pritidesai/1793897e47c71ae52077cc45a7d83e0f to your computer and use it in GitHub Desktop.
Save pritidesai/1793897e47c71ae52077cc45a7d83e0f to your computer and use it in GitHub Desktop.
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: test-pipeline
spec:
tasks:
- name: pre-work
taskRef:
Name: pre-work
- name: unit-test
taskRef:
Name: unit-test
runAfter: ["pre-work"]
- name: integration-test
taskRef:
Name: integration-test
runAfter: ["unit-test"]
finally:
- name: cleanup
taskRef:
Name: cleanup
- name: report-results
taskRef:
Name: report-results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment