63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
apiVersion: triggers.tekton.dev/v1beta1
|
|
kind: TriggerBinding
|
|
metadata:
|
|
name: pipeline-symfonyapp-binding
|
|
spec:
|
|
params:
|
|
- name: secret
|
|
value: $(body.secret)
|
|
- name: ref
|
|
value: $(body.secret)
|
|
- name: before
|
|
value: $(body.before)
|
|
- name: after
|
|
value: $(body.after)
|
|
- name: compare_url
|
|
value: $(body.compare_url)
|
|
- name: repository.id
|
|
value: $(body.repository.id)
|
|
- name: repository.name
|
|
value: $(body.repository.name)
|
|
- name: repository.fullname
|
|
value: $(body.repository.full_name)
|
|
- name: repository.owner.id
|
|
value: $(body.repository.owner.id)
|
|
- name: repository_owner.username
|
|
value: $(body.repository.owner.username)
|
|
- name: repository_owner.full_name
|
|
value: $(body.repository.owner.full_name)
|
|
- name: repository.html_url
|
|
value: $(body.repository.html_url)
|
|
- name: repository.clone_url
|
|
value: $(body.repository.clone_url)
|
|
- name: repository.ssh_url
|
|
value: $(body.repository.ssh_url)
|
|
- name: repository.default_branch
|
|
value: $(body.repository.default_branch)
|
|
- name: pusher.id
|
|
value: $(body.pusher.id)
|
|
- name: pusher.username
|
|
value: $(body.pusher.username)
|
|
- name: pusher.full_name
|
|
value: $(body.pusher.full_name)
|
|
- name: sender.id
|
|
value: $(body.sender.id)
|
|
- name: sender.username
|
|
value: $(body.sender.username)
|
|
- name: sender.full_name
|
|
value: $(body.sender.full_name)
|
|
- name: commits.id
|
|
value: $(body.commits[0].id)
|
|
- name: commits.message
|
|
value: $(body.commits[0].message)
|
|
- name: commits.url
|
|
value: $(body.commits[0].url)
|
|
- name: commits.author.name
|
|
value: $(body.commits[0].author.name)
|
|
- name: commits.author.email
|
|
value: $(body.commits[0].author.email)
|
|
- name: commits.author.username
|
|
value: $(body.commits[0].author.username)
|
|
- name: commits.timestamp
|
|
value: $(body.commits[0].timestamp)
|