Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 2 | # Copyright (c) 2020-2022, Arm Limited. All rights reserved. |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-build-docs |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 10 | description: 'Builds documentation' |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
| 15 | properties: |
Fathi Boudra | c6c56ea | 2020-11-05 11:58:08 +0100 | [diff] [blame] | 16 | - build-discarder: |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 17 | days-to-keep: 15 |
Fathi Boudra | c6c56ea | 2020-11-05 11:58:08 +0100 | [diff] [blame] | 18 | num-to-keep: 45 |
| 19 | - copyartifact: |
| 20 | projects: "tf-m-build-and-test" |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 21 | parameters: |
| 22 | - string: |
| 23 | name: 'GERRIT_REFSPEC' |
Xinyu Zhang | 2643743 | 2023-09-25 11:50:23 +0800 | [diff] [blame] | 24 | default: 'refs/heads/main' |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 25 | description: | |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 26 | Specify which TF-M version to use |
| 27 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 28 | TAG_NAME : Pick up a tagged version |
| 29 | full commit hash : Pick up a specific commit |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 30 | - string: |
| 31 | name: 'GERRIT_BRANCH' |
Xinyu Zhang | 2643743 | 2023-09-25 11:50:23 +0800 | [diff] [blame] | 32 | default: 'main' |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 33 | description: | |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 34 | TF-M branch. |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 35 | - string: |
| 36 | name: 'GERRIT_HOST' |
| 37 | default: '' |
| 38 | description: | |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 39 | No need to change. |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 40 | - string: |
| 41 | name: 'GERRIT_PATCHSET_REVISION' |
| 42 | default: '' |
| 43 | description: | |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 44 | No need to change. |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 45 | - string: |
| 46 | name: 'GERRIT_CHANGE_NUMBER' |
| 47 | default: '' |
| 48 | description: | |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 49 | No need to change. |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 50 | - string: |
Fathi Boudra | b674f1c | 2020-11-06 21:37:44 +0100 | [diff] [blame] | 51 | name: 'CODE_REPO' |
| 52 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
| 53 | - string: |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 54 | name: 'CI_SCRIPTS_REPO' |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 55 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 56 | - string: |
Fathi Boudra | b674f1c | 2020-11-06 21:37:44 +0100 | [diff] [blame] | 57 | name: 'CI_SCRIPTS_BRANCH' |
Xinyu Zhang | d0c4e91 | 2022-01-20 15:50:23 +0800 | [diff] [blame] | 58 | default: 'master' |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 59 | - string: |
Leonardo Sandoval | 3208aea | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 60 | name: SHARE_FOLDER |
Xinyu Zhang | ed109d9 | 2023-10-24 10:52:50 +0800 | [diff] [blame] | 61 | default: '/srv/shared/staging/${JOB_NAME}/${BUILD_NUMBER}' |
Leonardo Sandoval | 3208aea | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 62 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
Xinyu Zhang | 33881cc | 2021-05-21 14:04:11 +0800 | [diff] [blame] | 63 | wrappers: |
| 64 | - timestamps |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 65 | pipeline-scm: |
| 66 | scm: |
| 67 | - git: |
| 68 | url: '$CI_SCRIPTS_REPO' |
| 69 | branches: |
| 70 | - '$CI_SCRIPTS_BRANCH' |
Paul Sokolovsky | 27c0d1d | 2024-07-11 15:10:47 +0300 | [diff] [blame] | 71 | refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*' |
Benjamin Copeland | 8341417 | 2020-07-28 11:58:16 +0100 | [diff] [blame] | 72 | credentials-id: GIT_SSH_KEY |
| 73 | wipe-workspace: false |
| 74 | script-path: jenkins/build-docs.jpl |