- job: | |
name: arthur-tf-a-lts-patch-stack-watcher | |
node: master | |
project-type: freestyle | |
concurrent: false | |
description: | |
Triggers whenever a code change is merged into the lts-v2.8 branch | |
or a lts tag is created of the TF-A repository. Executes a webhook | |
to trigger the ReadTheDocs service to build a fresh copy of the | |
documentation for one or more branches. | |
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: false | |
- 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: arthur-scripts/arthur-tf-a-lts-patch-stack-watcher.sh | |
properties: | |
- build-discarder: | |
days-to-keep: 60 | |
num-to-keep: 120 | |
triggers: | |
- gerrit: | |
silent: true | |
server-name: 'review.trustedfirmware.org' | |
projects: | |
- branches: | |
- branch-compare-type: REG_EXP | |
branch-pattern: 'lts-v.*' | |
project-compare-type: PLAIN | |
project-pattern: 'sandbox/arthur' | |
trigger-on: | |
- comment-added-event: | |
approval-category: "Verified" | |
approval-value: 1 | |
- comment-added-event: | |
approval-category: "Code-Owner-Review" | |
approval-value: 1 | |
- comment-added-event: | |
approval-category: "Allow-CI" | |
approval-value: 1 | |
- comment-added-event: | |
approval-category: "Maintainer-Review" | |
approval-value: 1 | |
- patchset-created-event: | |
exclude-drafts: false | |
exclude-trivial-rebase: false | |
exclude-no-code-change: false | |
exclude-private: false | |
exclude-wip: false | |
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 |