blob: 89cfdfb5ea8b7dffa52a7f55f4a244cb4197b35b [file] [log] [blame]
Chris Kayc1aa7ba2025-06-12 16:56:38 +01001- job:
2 name: tf-a-lts-patch-stack-watcher
3 node: docker-amd64-tf-a-jammy
4 project-type: freestyle
5 concurrent: false
Chris Kaybb674402025-06-24 15:20:02 +01006 description: This job will trigger Allow-CI job whenever a new patch is created. It also monitors all patches, if submit requirement is met, it will merge the patch
Chris Kayc1aa7ba2025-06-12 16:56:38 +01007 disabled: false
8 parameters:
Chris Kaybb674402025-06-24 15:20:02 +01009 - bool:
10 name: ENABLE_PATCH_AUTO_SUBMISSION
11 description: |
12 Enable patch auto submission function
13 default: true
14 - bool:
15 name: ENABLE_AUTO_ALLOW_CI_JOB
16 description: |
17 Enable auto submit Allow-CI job
18 default: true
19 - string:
20 name: ALLOW_CI_JOB
21 description: |
22 To trigger Allow-CI+1 or Allow-CI+2 job when a new patch is created
23 default: Allow-CI=2
Chris Kayc1aa7ba2025-06-12 16:56:38 +010024 builders:
Chris Kaybb674402025-06-24 15:20:02 +010025 - shell: !include-raw: scripts/tf-a-lts-patch-stack-watcher.sh
Chris Kayc1aa7ba2025-06-12 16:56:38 +010026 properties:
Chris Kaybb674402025-06-24 15:20:02 +010027 - build-discarder:
28 days-to-keep: 60
29 num-to-keep: 120
Chris Kayc1aa7ba2025-06-12 16:56:38 +010030 wrappers:
Chris Kaybb674402025-06-24 15:20:02 +010031 - timestamps
32 - credentials-binding:
33 - ssh-user-private-key:
34 credential-id: TFA_CI_BOT_USER_SSH_KEY
35 key-file-variable: CI_BOT_KEY
36 username-variable: CI_BOT_USERNAME
37 passphrase-variable: ""
Chris Kayc1aa7ba2025-06-12 16:56:38 +010038 publishers:
Chris Kaybb674402025-06-24 15:20:02 +010039 - workspace-cleanup