blob: 350ea32106265e2c96c3085b98779f7f780f88a9 [file] [log] [blame]
Arthur Shef974bc12024-02-04 22:28:10 -08001- job:
2 name: tf-a-lts-patch-stack-watcher
3 node: master
4 project-type: freestyle
5 concurrent: false
6 description:
7 This job will trigger Allow-CI job whenever a new patch is created.
8 It also monitors all patches, if submit requirement is met, it
9 will merge the patch
10 disabled: false
11 parameters:
12 - string:
13 name: ALLOW_CI_JOB
14 description: |
15 To trigger Allow-CI+1 or Allow-CI+2 job when a new patch is created
16 default: 'Allow-CI=2'
17 builders:
18 - shell:
19 !include-raw: scripts/tf-a-lts-patch-stack-watcher.sh
20 properties:
21 - build-discarder:
22 days-to-keep: 60
23 num-to-keep: 120
24 triggers:
25 - gerrit:
26 silent: true
27 server-name: 'review.trustedfirmware.org'
28 projects:
29 - branches:
30 - branch-compare-type: REG_EXP
31 branch-pattern: 'lts-v.*'
32 project-compare-type: PLAIN
33 project-pattern: 'TF-A/trusted-firmware-a'
34 trigger-on:
35 - comment-added-event:
36 approval-category: "Verified"
37 approval-value: 1
38 - comment-added-event:
39 approval-category: "Code-Owner-Review"
40 approval-value: 1
41 - comment-added-event:
42 approval-category: "Allow-CI"
43 approval-value: 1
44 - comment-added-event:
45 approval-category: "Maintainer-Review"
46 approval-value: 1
47 - patchset-created-event:
48 exclude-drafts: false
49 exclude-trivial-rebase: false
50 exclude-no-code-change: false
51 exclude-private: false
52 exclude-wip: false
53 wrappers:
54 - timestamps
55 - credentials-binding:
56 - ssh-user-private-key:
57 credential-id: TFA_CI_BOT_USER_SSH_KEY
58 key-file-variable: CI_BOT_KEY
59 username-variable: CI_BOT_USERNAME
60 passphrase-variable: ''
61 publishers:
62 - workspace-cleanup