52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
|
apiVersion: triggers.tekton.dev/v1beta1
|
||
|
kind: TriggerTemplate
|
||
|
metadata:
|
||
|
name: symfonycheck-template
|
||
|
spec:
|
||
|
params:
|
||
|
- name: url
|
||
|
- name: revision
|
||
|
- name: apiurl
|
||
|
- name: requestid
|
||
|
resourcetemplates:
|
||
|
- apiVersion: tekton.dev/v1beta1
|
||
|
kind: PipelineRun
|
||
|
metadata:
|
||
|
generateName: symfonycheck-run-
|
||
|
namespace: tekton
|
||
|
spec:
|
||
|
serviceAccountName: build-bot
|
||
|
pipelineRef:
|
||
|
name: symfonycheck
|
||
|
podTemplate:
|
||
|
securityContext:
|
||
|
fsGroup: 65532
|
||
|
workspaces:
|
||
|
- name: shared-data
|
||
|
volumeClaimTemplate:
|
||
|
spec:
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: 1Gi
|
||
|
- name: config
|
||
|
configmap:
|
||
|
name: config-phpcsfixer
|
||
|
- name: docker-credentials
|
||
|
secret:
|
||
|
secretName: regcred
|
||
|
params:
|
||
|
- name: url
|
||
|
value: $(tt.params.url)
|
||
|
- name: revision
|
||
|
value: $(tt.params.revision)
|
||
|
- name: apiurl
|
||
|
value: $(tt.params.apiurl)
|
||
|
- name: requesttype
|
||
|
value: "pullrequest"
|
||
|
- name: requestid
|
||
|
value: $(tt.params.requestid)
|
||
|
- name: access_token
|
||
|
value: 69f6d1db6cf1e47dc7958ac20a31e76abf1582ee
|