Chris Kay | c1aa7ba | 2025-06-12 16:56:38 +0100 | [diff] [blame] | 1 | - job: |
| 2 | name: tf-a-lts-docs-watcher |
| 3 | node: master |
| 4 | project-type: freestyle |
| 5 | concurrent: false |
| 6 | description: |
| 7 | This job was superceded by tf-a-lts-release-docs as part of |
| 8 | larger-scale release automation efforts |
| 9 | (https://linaro.atlassian.net/browse/TFC-545). It is expected |
| 10 | to be removed after new setup is better tested (tentatively |
| 11 | by 2024-06-01). |
| 12 | --- |
| 13 | Triggers whenever a code change is merged into the lts branch |
| 14 | or a lts tag is created of the TF-A repository. Executes a webhook |
| 15 | to trigger the ReadTheDocs service to build a fresh copy of the |
| 16 | documentation for one or more branches. |
| 17 | disabled: true |
| 18 | builders: |
| 19 | - shell: |
| 20 | !include-raw: scripts/tf-a-lts-docs-watcher.sh |
| 21 | properties: |
| 22 | - build-discarder: |
| 23 | days-to-keep: 60 |
| 24 | num-to-keep: 10 |
| 25 | # triggers: |
| 26 | # - gerrit: |
| 27 | # silent: true |
| 28 | # server-name: 'review.trustedfirmware.org' |
| 29 | # projects: |
| 30 | # - branches: |
| 31 | # - branch-compare-type: REG_EXP |
| 32 | # branch-pattern: 'lts-v.*' |
| 33 | # - branch-compare-type: REG_EXP |
| 34 | # branch-pattern: refs/tags/lts-v.* |
| 35 | # project-compare-type: PLAIN |
| 36 | # project-pattern: 'TF-A/trusted-firmware-a' |
| 37 | # trigger-on: |
| 38 | # - ref-updated-event |
| 39 | wrappers: |
| 40 | - timestamps |
| 41 | - credentials-binding: |
| 42 | - text: |
| 43 | credential-id: TF-A-RTD-API-TOKEN |
| 44 | variable: RTD_API_TOKEN |
| 45 | - text: |
| 46 | credential-id: Trusted_Firmware_ReadTheDocs_Token |
| 47 | variable: RTD_WEBHOOK_SECRET |
| 48 | publishers: |
| 49 | - workspace-cleanup |