Add custom multibranch pipeline runner.
This commit is contained in:
1 parent
fb84fe1324
commit
3ed31d4bcd
4 files changed
+76
-9
No files matched your search
@@ -23,8 +23,8 @@ metadata:
|
||||
namespace: j7s-ci
|
||||
spec:
|
||||
params:
|
||||
- name: pr-id
|
||||
value: $(body.pr-id)
|
||||
- name: hash
|
||||
value: $(body.hash)
|
||||
---
|
||||
apiVersion: triggers.tekton.dev/v1beta1
|
||||
kind: TriggerTemplate
|
||||
@@ -33,7 +33,7 @@ metadata:
|
||||
namespace: j7s-ci
|
||||
spec:
|
||||
params:
|
||||
- name: pr-id
|
||||
- name: hash
|
||||
resourcetemplates:
|
||||
- apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
@@ -41,10 +41,10 @@ spec:
|
||||
generateName: test-pipeline-
|
||||
spec:
|
||||
pipelineRef:
|
||||
name: test-pipeline
|
||||
name: test-report-pipeline
|
||||
params:
|
||||
- name: pr-id
|
||||
value: "$(tt.params.pr-id)"
|
||||
- name: hash
|
||||
value: "$(tt.params.hash)"
|
||||
workspaces:
|
||||
- name: shared-data
|
||||
volumeClaimTemplate:
|
||||
|
||||
Reference in new issue
Block a user