Skip to content

Commit

Permalink
feat(apps/prod/tekton/configs/triggers): add building trigger for tif…
Browse files Browse the repository at this point in the history
…lash failpoint edition

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Feb 17, 2025
1 parent d35a288 commit f2c0c9d
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,36 @@ spec:
- { name: builder-resources-cpu, value: "16" }
template:
ref: build-component
---
apiVersion: triggers.tekton.dev/v1beta1
kind: Trigger
metadata:
name: git-push-pingcap-tiflash-failpoint
labels:
type: github-branch-push
github-owner: pingcap
github-repo: tiflash
profile: failpoint
spec:
interceptors:
- name: filter on repo owner and name and branches
ref: { name: cel }
params:
- name: filter
value: >-
body.repository.owner.login == 'pingcap'
&&
body.repository.name == 'tiflash'
&&
body.ref.matches('^refs/heads/(master|release-[6-9][.][0-9]+)$')
bindings:
- ref: github-branch-push
- { name: component, value: $(body.repository.name) }
- { name: os, value: linux }
- { name: profile, value: failpoint }
- { name: timeout, value: 2h }
- { name: source-ws-size, value: 100Gi }
- { name: builder-resources-memory, value: 64Gi }
- { name: builder-resources-cpu, value: "16" }
template:
ref: build-component

0 comments on commit f2c0c9d

Please sign in to comment.