Last active
February 16, 2021 16:22
-
-
Save coyote240/43755cf8084865e8fa961b33e0946611 to your computer and use it in GitHub Desktop.
Test Pipeline Run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: tekton.dev/v1beta1 | |
kind: PipelineRun | |
metadata: | |
name: {{ .Release.Name }}-test-git-clone | |
annotations: | |
"helm.sh/hook": test | |
spec: | |
pipelineSpec: | |
tasks: | |
- name: clone | |
taskRef: | |
name: git-clone | |
params: | |
- name: url | |
value: "git@github.com:kelseyhightower/nocode.git" | |
workspaces: | |
- name: output | |
workspace: output | |
- name: check | |
runAfter: | |
- clone | |
taskSpec: | |
steps: | |
- name: check-code | |
image: busybox:stable | |
script: | | |
stat $(workspaces.output.path)/README.md | |
workspaces: | |
- name: shared-data | |
workspaces: | |
- name: shared-data | |
workspace: output | |
workspaces: | |
- name: output | |
workspaces: | |
- name: output | |
volumeClaimTemplate: | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 1Gi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment