Theodore Grey | 9880284 | 2022-03-29 12:46:03 +0200 | [diff] [blame] | 1 | - job: |
| 2 | name: tf-a-tftf-docs-watcher |
Paul Sokolovsky | 85b282b | 2023-08-05 07:20:17 +0300 | [diff] [blame] | 3 | node: docker-amd64-tf-a-jammy |
Theodore Grey | 9880284 | 2022-03-29 12:46:03 +0200 | [diff] [blame] | 4 | project-type: freestyle |
| 5 | concurrent: false |
| 6 | description: |
| 7 | Triggers whenever a code change is merged into the master branch of the |
| 8 | TF-A-Tests repository. Executes a webhook to trigger the ReadTheDocs |
| 9 | service to build a fresh copy of the documentation for one or more |
| 10 | branches. |
| 11 | disabled: false |
| 12 | builders: |
| 13 | - shell: |- |
| 14 | #!/bin/bash -e |
| 15 | echo "Notifying ReadTheDocs of changes on: $RTD_BRANCHES" |
| 16 | curl -X POST -d "branches=$RTD_BRANCHES" -d "token=$RTD_TOKEN" https://readthedocs.org/api/v2/webhook/trustedfirmware-a-tests/104345/ |
| 17 | properties: |
| 18 | - build-discarder: |
| 19 | days-to-keep: 7 |
| 20 | num-to-keep: 10 |
| 21 | triggers: |
| 22 | - gerrit: |
| 23 | silent: true |
| 24 | server-name: 'review.trustedfirmware.org' |
| 25 | projects: |
| 26 | - branches: |
| 27 | - branch-compare-type: PLAIN |
Saheer Babu | fd52422 | 2025-01-21 23:42:41 +0000 | [diff] [blame] | 28 | branch-pattern: openci-migration |
Theodore Grey | 9880284 | 2022-03-29 12:46:03 +0200 | [diff] [blame] | 29 | project-compare-type: PLAIN |
Saheer Babu | fd52422 | 2025-01-21 23:42:41 +0000 | [diff] [blame] | 30 | project-pattern: 'next/TF-A/tf-a-tests' |
Theodore Grey | 9880284 | 2022-03-29 12:46:03 +0200 | [diff] [blame] | 31 | trigger-on: |
| 32 | - ref-updated-event |
| 33 | wrappers: |
| 34 | - timestamps |
| 35 | - credentials-binding: |
| 36 | - text: |
| 37 | credential-id: Trusted_Firmware_Tests_ReadTheDocs_Token |
| 38 | variable: RTD_TOKEN |
| 39 | parameters: |
| 40 | - string: |
| 41 | name: RTD_BRANCHES |
| 42 | default: master |
| 43 | description: | |
| 44 | The branch, or branches, to rebuild the documentation for. |
| 45 | publishers: |
| 46 | - workspace-cleanup |