Files
stage-infra/Tekton/triggers/gitlab-trigger-binding.yaml

18 lines
436 B
YAML

---
apiVersion: tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: gitlab-trigger-binding
namespace: tekton-pipeline-1
spec:
params:
- name: gitrevision
value: "$(body.project.default_branch)"
- name: gitrepositoryurl
value: "$(body.project.http_url)"
- name: gitreponame
value: $(body.project.name)
- name: gitrepofullname
value: $(body.project.fullname)
- name: sha
value: $(body.project.sha)