Arthur She | 03139b6 | 2024-01-07 21:46:00 -0800 | [diff] [blame] | 1 | - job: |
| 2 | name: arthur-tf-a-docs-watcher |
Arthur She | ed03a3d | 2024-01-07 22:05:27 -0800 | [diff] [blame] | 3 | node: master |
Arthur She | 03139b6 | 2024-01-07 21:46:00 -0800 | [diff] [blame] | 4 | project-type: freestyle |
| 5 | concurrent: false |
| 6 | description: |
| 7 | Triggers whenever a code change is merged into the lts-v2.8 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: arthur-scripts/arthur-tf-a-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: PLAIN |
| 26 | branch-pattern: 'master' |
Arthur She | 03139b6 | 2024-01-07 21:46:00 -0800 | [diff] [blame] | 27 | - branch-compare-type: REG_EXP |
Arthur She | 41c3420 | 2024-01-15 15:34:20 -0800 | [diff] [blame] | 28 | branch-pattern: 'lts-v.*' |
| 29 | - branch-compare-type: REG_EXP |
| 30 | branch-pattern: refs/tags/lts-v.* |
Arthur She | 03139b6 | 2024-01-07 21:46:00 -0800 | [diff] [blame] | 31 | project-compare-type: PLAIN |
| 32 | project-pattern: 'sandbox/arthur' |
| 33 | trigger-on: |
| 34 | - ref-updated-event |
| 35 | wrappers: |
| 36 | - timestamps |
| 37 | - credentials-binding: |
| 38 | - text: |
Arthur She | 03139b6 | 2024-01-07 21:46:00 -0800 | [diff] [blame] | 39 | credential-id: ARTHUR_RTD_API_TOKEN |
| 40 | variable: ARTHUR_RTD_API_TOKEN |
| 41 | - text: |
| 42 | credential-id: ARTHUR_RTD_WEBHOOK_SECRET |
| 43 | variable: ARTHUR_RTD_WEBHOOK_SECRET |
| 44 | publishers: |
| 45 | - workspace-cleanup |