This commit is contained in:
2020-03-12 13:27:04 +01:00
parent 49ca01e818
commit 8a4d0c15bf
4 changed files with 74 additions and 26 deletions

21
manifests/test.yaml Normal file
View File

@@ -0,0 +1,21 @@
apiVersion: tekton.dev/v1alpha1
kind: EventListener
metadata:
name: github-event-listener
#namespace: stage-tekton-pipeline
spec:
serviceAccountName: service-acc
triggers:
- name: github-trigger
interceptors:
- github:
secretRef:
secretName: webhook-secret
secretKey: secret
eventTypes:
- pull_request
- push
bindings:
name: github-trigger-binding
template:
name: github-trigger-template