Add task that runs on PR from onedev.

This commit is contained in:
jimmy committed 2023-01-12 20:38:56 -05:00
1 parent 7947a82b46
commit d521abeb57
3 files changed
+69 -8

No files matched your search

+5 -5
View File
@@ -21,8 +21,8 @@ metadata:
name: test-pipeline-binding
spec:
params:
- name: empty
value: empty
- name: pr-id
value: $(body.pr-id)
---
apiVersion: triggers.tekton.dev/v1beta1
kind: TriggerTemplate
@@ -30,7 +30,7 @@ metadata:
name: test-pipeline-template
spec:
params:
- name: should-fail
- name: pr-id
resourcetemplates:
- apiVersion: tekton.dev/v1beta1
kind: PipelineRun
@@ -40,8 +40,8 @@ spec:
pipelineRef:
name: test-pipeline
params:
- name: should-fail
value: "$(tt.params.should-fail)"
- name: pr-id
value: "$(tt.params.pr-id)"
workspaces:
- name: shared-data
volumeClaimTemplate: