Arthur She | 8c3dac2 | 2024-01-15 20:13:40 -0800 | [diff] [blame^] | 1 | - job: |
| 2 | name: tf-a-lts-docs-watcher |
| 3 | node: master |
| 4 | project-type: freestyle |
| 5 | concurrent: false |
| 6 | description: |
| 7 | Triggers whenever a code change is merged into the lts branch |
| 8 | or a lts tag is created of the TF-A repository. Executes a webhook |
| 9 | to trigger the ReadTheDocs service to build a fresh copy of the |
| 10 | documentation for one or more branches. |
| 11 | disabled: false |
| 12 | builders: |
| 13 | - shell: |
| 14 | !include-raw: scripts/tf-a-lts-docs-watcher.sh |
| 15 | properties: |
| 16 | - build-discarder: |
| 17 | days-to-keep: 60 |
| 18 | num-to-keep: 10 |
| 19 | triggers: |
| 20 | - gerrit: |
| 21 | silent: true |
| 22 | server-name: 'review.trustedfirmware.org' |
| 23 | projects: |
| 24 | - branches: |
| 25 | - branch-compare-type: REG_EXP |
| 26 | branch-pattern: 'lts-v.*' |
| 27 | - branch-compare-type: REG_EXP |
| 28 | branch-pattern: refs/tags/lts-v.* |
| 29 | project-compare-type: PLAIN |
| 30 | project-pattern: 'TF-A/trusted-firmware-a' |
| 31 | trigger-on: |
| 32 | - ref-updated-event |
| 33 | wrappers: |
| 34 | - timestamps |
| 35 | - credentials-binding: |
| 36 | - text: |
| 37 | credential-id: TF-A-RTD-API-TOKEN |
| 38 | variable: RTD_API_TOKEN |
| 39 | - text: |
| 40 | credential-id: Trusted_Firmware_ReadTheDocs_Token |
| 41 | variable: RTD_WEBHOOK_SECRET |
| 42 | publishers: |
| 43 | - workspace-cleanup |