Paul Sokolovsky | 64dc92f | 2024-03-17 17:02:24 +0700 | [diff] [blame] | 1 | - job: |
| 2 | name: tf-a-lts-release-docs |
| 3 | node: docker-amd64-tf-a-jammy |
| 4 | project-type: freestyle |
| 5 | concurrent: true |
| 6 | disabled: false |
| 7 | defaults: global |
Paul Sokolovsky | d9f65b5 | 2024-10-22 13:50:58 +0700 | [diff] [blame] | 8 | description: | |
Paul Sokolovsky | 64dc92f | 2024-03-17 17:02:24 +0700 | [diff] [blame] | 9 | Publish TF-A LTS docs for a release on ReadTheDocs site. |
| 10 | properties: |
| 11 | - build-discarder: |
| 12 | days-to-keep: 365 |
| 13 | num-to-keep: 50 |
| 14 | - authorization: |
| 15 | !include: authorization.yaml.inc |
| 16 | parameters: |
| 17 | - string: |
| 18 | name: GERRIT_HOST |
| 19 | default: 'review.trustedfirmware.org' |
| 20 | - string: |
| 21 | name: GERRIT_PROJECT |
| 22 | default: 'sandbox/pfalcon/trusted-firmware-a' |
| 23 | description: | |
| 24 | TF-A Git project |
| 25 | - string: |
| 26 | name: GERRIT_BRANCH |
| 27 | default: '' |
| 28 | description: | |
| 29 | Git branch (e.g. lts-v2.8) |
| 30 | - string: |
| 31 | name: GERRIT_REFNAME |
| 32 | default: '' |
| 33 | description: | |
| 34 | Git refname |
| 35 | - string: |
| 36 | name: RELEASE_TAG |
| 37 | default: '--latest' |
| 38 | description: | |
| 39 | Release git tag, e.g. 'lts-v2.8.10' |
| 40 | - bool: |
| 41 | name: SANDBOX_RUN |
| 42 | default: true |
| 43 | description: | |
| 44 | Run sandbox simulation of a release. Uncheck this only after |
| 45 | running simulation and checking that everything is correct! |
| 46 | wrappers: |
| 47 | - timestamps |
| 48 | - timeout: |
| 49 | timeout: 60 |
| 50 | fail: true |
| 51 | - credentials-binding: |
Paul Sokolovsky | 387b519 | 2024-03-18 14:13:38 +0700 | [diff] [blame] | 52 | - text: |
| 53 | credential-id: TF-A-RTD-API-TOKEN |
| 54 | variable: RTD_API_TOKEN |
| 55 | - text: |
| 56 | credential-id: Trusted_Firmware_ReadTheDocs_Token |
| 57 | variable: RTD_WEBHOOK_SECRET |
Paul Sokolovsky | 64dc92f | 2024-03-17 17:02:24 +0700 | [diff] [blame] | 58 | - text: |
| 59 | credential-id: TFA_SANDBOX_RTD_WEBHOOK_SECRET |
| 60 | variable: TFA_SANDBOX_RTD_WEBHOOK_SECRET |
| 61 | - text: |
| 62 | credential-id: PFALCON_RTD_API_TOKEN |
| 63 | variable: PFALCON_RTD_API_TOKEN |
| 64 | - text: |
| 65 | credential-id: PFALCON_RTD_WEBHOOK_SECRET |
| 66 | variable: PFALCON_RTD_WEBHOOK_SECRET |
| 67 | builders: |
| 68 | - shell: |
| 69 | !include-raw: scripts/tf-a-lts-docs-watcher.sh |