Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Xinyu Zhang | 59f7fee | 2021-05-21 14:04:11 +0800 | [diff] [blame^] | 2 | # Copyright (c) 2020-2021, Arm Limited. All rights reserved. |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-build-docs-nightly |
| 10 | description: 'Builds documentation from repo by nightly' |
| 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
| 15 | properties: |
Riku Voipio | d4ea534 | 2020-09-04 16:00:02 +0300 | [diff] [blame] | 16 | - authorization: |
| 17 | anonymous: |
| 18 | - job-read |
| 19 | - job-extended-read |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 20 | - build-discarder: |
| 21 | days-to-keep: 15 |
| 22 | num-to-keep: 45 |
| 23 | triggers: |
| 24 | - timed: 'H 21 * * *' |
| 25 | parameters: |
| 26 | - string: |
| 27 | name: 'GERRIT_REFSPEC' |
| 28 | default: 'refs/heads/master' |
| 29 | description: | |
| 30 | For use when triggering with unmerged Gerrit changes. |
| 31 | - string: |
| 32 | name: 'GERRIT_BRANCH' |
| 33 | default: 'master' |
| 34 | description: | |
| 35 | For use when triggering with unmerged Gerrit changes. |
| 36 | - string: |
| 37 | name: 'GERRIT_HOST' |
| 38 | default: '' |
| 39 | description: | |
| 40 | For use when triggering with unmerged Gerrit changes. |
| 41 | - string: |
| 42 | name: 'GERRIT_PATCHSET_REVISION' |
| 43 | default: '' |
| 44 | description: | |
| 45 | For use when triggering with unmerged Gerrit changes. |
| 46 | - string: |
| 47 | name: 'GERRIT_CHANGE_NUMBER' |
| 48 | default: '' |
| 49 | description: | |
| 50 | For use when triggering with unmerged Gerrit changes. |
| 51 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 52 | name: 'CODE_REPO' |
| 53 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
| 54 | - string: |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 55 | name: 'CI_SCRIPTS_REPO' |
| 56 | default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 57 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 58 | name: 'CI_SCRIPTS_BRANCH' |
| 59 | default: 'master' |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 60 | - string: |
Tamas Ban | 29d6e44 | 2020-09-16 13:42:51 +0100 | [diff] [blame] | 61 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 65857a3 | 2021-03-17 10:50:50 +0800 | [diff] [blame] | 62 | default: 'v1.7.2' |
Tamas Ban | 424f8ce | 2020-10-06 12:06:04 +0100 | [diff] [blame] | 63 | description: | |
| 64 | Specify which MCUboot version to use |
| 65 | refs/heads/master : Pick up latest master |
| 66 | refs/tags/<TAG_NAME> : Pick up a tagged version |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 67 | - string: |
| 68 | name: 'MCUBOOT_URL' |
| 69 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 70 | - string: |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 71 | name: 'MBEDTLS_VERSION' |
Xinyu Zhang | fcd85da | 2021-05-17 11:00:07 +0800 | [diff] [blame] | 72 | default: 'mbedtls-2.26.0' |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 73 | - string: |
| 74 | name: 'MBEDTLS_URL' |
| 75 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 76 | - string: |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 77 | name: 'TFM_TESTS_URL' |
| 78 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 79 | - string: |
| 80 | name: 'TFM_TESTS_REFSPEC' |
| 81 | default: 'refs/heads/master' |
Xinyu Zhang | 59f7fee | 2021-05-21 14:04:11 +0800 | [diff] [blame^] | 82 | wrappers: |
| 83 | - timestamps |
Karl Zhang | 9379cb7 | 2020-08-14 10:16:57 +0800 | [diff] [blame] | 84 | pipeline-scm: |
| 85 | scm: |
| 86 | - git: |
| 87 | url: '$CI_SCRIPTS_REPO' |
| 88 | branches: |
| 89 | - '$CI_SCRIPTS_BRANCH' |
| 90 | credentials-id: GIT_SSH_KEY |
| 91 | wipe-workspace: false |
| 92 | script-path: jenkins/build-docs.jpl |