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: |
Paul Sokolovsky | 8258160 | 2024-03-20 09:53:17 +0700 | [diff] [blame] | 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 | --- |
Arthur She | 8c3dac2 | 2024-01-15 20:13:40 -0800 | [diff] [blame] | 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. |
Paul Sokolovsky | 8258160 | 2024-03-20 09:53:17 +0700 | [diff] [blame] | 17 | disabled: true |
Arthur She | 8c3dac2 | 2024-01-15 20:13:40 -0800 | [diff] [blame] | 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 |
Saheer Babu | fd52422 | 2025-01-21 23:42:41 +0000 | [diff] [blame] | 32 | branch-pattern: 'openci-migration-lts-v.*' |
Arthur She | 8c3dac2 | 2024-01-15 20:13:40 -0800 | [diff] [blame] | 33 | - branch-compare-type: REG_EXP |
Saheer Babu | fd52422 | 2025-01-21 23:42:41 +0000 | [diff] [blame] | 34 | branch-pattern: refs/tags/openci-migration-lts-v.* |
Arthur She | 8c3dac2 | 2024-01-15 20:13:40 -0800 | [diff] [blame] | 35 | project-compare-type: PLAIN |
Saheer Babu | fd52422 | 2025-01-21 23:42:41 +0000 | [diff] [blame] | 36 | project-pattern: 'next/TF-A/trusted-firmware-a' |
Arthur She | 8c3dac2 | 2024-01-15 20:13:40 -0800 | [diff] [blame] | 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 |