blob: 89cfdfb5ea8b7dffa52a7f55f4a244cb4197b35b [file] [log] [blame]
- job:
name: tf-a-lts-patch-stack-watcher
node: docker-amd64-tf-a-jammy
project-type: freestyle
concurrent: false
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
disabled: false
parameters:
- bool:
name: ENABLE_PATCH_AUTO_SUBMISSION
description: |
Enable patch auto submission function
default: true
- bool:
name: ENABLE_AUTO_ALLOW_CI_JOB
description: |
Enable auto submit Allow-CI job
default: true
- string:
name: ALLOW_CI_JOB
description: |
To trigger Allow-CI+1 or Allow-CI+2 job when a new patch is created
default: Allow-CI=2
builders:
- shell: !include-raw: scripts/tf-a-lts-patch-stack-watcher.sh
properties:
- build-discarder:
days-to-keep: 60
num-to-keep: 120
wrappers:
- timestamps
- credentials-binding:
- ssh-user-private-key:
credential-id: TFA_CI_BOT_USER_SSH_KEY
key-file-variable: CI_BOT_KEY
username-variable: CI_BOT_USERNAME
passphrase-variable: ""
publishers:
- workspace-cleanup