mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-30 04:22:49 +00:00
webhooks via webgui config, want dees is veel te ingewikkeld via yamls
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
---
|
||||
apiVersion: tekton.dev/v1alpha1
|
||||
kind: TriggerBinding
|
||||
metadata:
|
||||
name: pipeline-binding
|
||||
name: github-trigger-binding
|
||||
namespace: tekton-pipeline-istio-project-1
|
||||
spec:
|
||||
params:
|
||||
- name: gitrevision
|
||||
value: $(body.head_commit.id)
|
||||
- name: gitrepositoryurl
|
||||
value: "https://github.com/$(body.repository.full_name)"
|
||||
- name: gitrevision
|
||||
value: $(body.pull_request.head.sha)
|
||||
- name: gitrepositoryurl
|
||||
value: $(body.pull_request.head.repo.clone_url)
|
||||
- name: prurl
|
||||
value: $(body.pull_request.html_url)
|
||||
- name: repo
|
||||
value: $(body.pull_request.base.repo.full_name)
|
||||
- name: source
|
||||
value: github
|
Reference in New Issue
Block a user