Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
David Vincze | fcb6bb2 | 2025-01-10 17:32:24 +0000 | [diff] [blame] | 2 | # Copyright (c) 2021-2025, Arm Limited. All rights reserved. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-extra-build |
Xinyu Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 10 | description: 'Build extra configurations nightly.' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
| 15 | properties: |
| 16 | - build-discarder: |
| 17 | days-to-keep: 15 |
| 18 | num-to-keep: 45 |
Xinyu Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 19 | triggers: |
Matthew Dalzell | 69b20c7 | 2024-07-11 10:36:42 +0100 | [diff] [blame] | 20 | - timed: 'H 3 * * *' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 21 | parameters: |
| 22 | - string: |
| 23 | name: 'FILTER_GROUP' |
Antonio de Angelis | 05d9ef5 | 2025-02-06 11:39:01 +0000 | [diff] [blame] | 24 | default: "an524 cs300_an547 cs300_an552 corstone310 rse_tc4 \ |
Anton Komlev | 74b7925 | 2024-02-12 15:09:24 +0100 | [diff] [blame] | 25 | cypress_psoc64 corstone1000 \ |
Matthew Dalzell | 545fdec | 2025-05-12 15:43:04 +0100 | [diff] [blame^] | 26 | stm_nucleo_l552ze_q stm_stm32h573i_dk nxp_lpcxpresso55s69 \ |
| 27 | nightly_all_plat" |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 28 | description: | |
| 29 | Filter to a group of configurations as recognised by configs.py |
| 30 | - string: |
| 31 | name: 'CODE_REPO' |
| 32 | default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 33 | - string: |
| 34 | name: 'CI_SCRIPTS_REPO' |
| 35 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 36 | - string: |
| 37 | name: 'CI_SCRIPTS_BRANCH' |
| 38 | default: 'master' |
Paul Sokolovsky | fbb0d13 | 2024-07-12 20:20:03 +0300 | [diff] [blame] | 39 | description: | |
| 40 | Branch of CI_SCRIPTS_REPO to use; also accepts Gerrit patch refspec like 'refs/changes/98/29798/1' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 41 | - string: |
| 42 | name: 'GERRIT_REFSPEC' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 43 | default: 'refs/heads/main' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 44 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 45 | Specify which TF-M version to use |
| 46 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 47 | TAG_NAME : Pick up a tagged version |
| 48 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 49 | - string: |
| 50 | name: 'GERRIT_BRANCH' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 51 | default: 'main' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 52 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 53 | TF-M branch. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 54 | - string: |
| 55 | name: 'GERRIT_HOST' |
| 56 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 57 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 58 | - string: |
| 59 | name: 'GERRIT_CHANGE_NUMBER' |
| 60 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 61 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 62 | - string: |
| 63 | name: 'GERRIT_PATCHSET_REVISION' |
| 64 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 65 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 66 | - string: |
| 67 | name: 'MBEDTLS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 68 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 69 | description: | |
| 70 | Specify which MBEDTLS version to use |
| 71 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 72 | TAG_NAME : Pick up a tagged version |
| 73 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 74 | - string: |
| 75 | name: 'MBEDTLS_URL' |
| 76 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 77 | - string: |
| 78 | name: 'LAVA_URL' |
| 79 | default: 'https://tf.validation.linaro.org' |
| 80 | - string: |
| 81 | name: 'CODE_COVERAGE_EN' |
| 82 | default: 'FALSE' |
| 83 | - string: |
| 84 | name: 'LAVA_CREDENTIALS' |
| 85 | default: 'LAVA_CREDENTIALS' |
| 86 | description: "Name of Jenkins credential for authentication with LAVA." |
| 87 | - string: |
| 88 | name: 'EMAIL_NOTIFICATION' |
Matthew Dalzell | 839505e | 2024-05-21 15:20:30 +0100 | [diff] [blame] | 89 | default: 'matthew.dalzell@arm.com' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 90 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 91 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 92 | default: '' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 93 | description: | |
| 94 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 95 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 96 | TAG_NAME : Pick up a tagged version |
| 97 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 98 | - string: |
| 99 | name: 'MCUBOOT_URL' |
| 100 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 101 | - string: |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 102 | name: 'TFM_EXTRAS_URL' |
| 103 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 104 | - string: |
| 105 | name: 'TFM_EXTRAS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 106 | default: '' |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 107 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 108 | name: 'TFM_TESTS_URL' |
| 109 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 110 | - string: |
| 111 | name: 'TFM_TESTS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 112 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 113 | description: | |
| 114 | Specify which tf-m-tests version to use |
| 115 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 116 | TAG_NAME : Pick up a tagged version |
| 117 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 118 | - string: |
| 119 | name: 'PSA_ARCH_TESTS_URL' |
| 120 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 121 | - string: |
| 122 | name: 'PSA_ARCH_TESTS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 123 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 124 | description: | |
| 125 | Specify which psa-arch-tests version to use |
| 126 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 127 | TAG_NAME : Pick up a tagged version |
| 128 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 129 | - string: |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 130 | name: 'QCBOR_URL' |
| 131 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 132 | - string: |
| 133 | name: 'QCBOR_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 134 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 135 | description: | |
| 136 | Specify which QCBOR version to use |
| 137 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 138 | TAG_NAME : Pick up a tagged version |
| 139 | full commit hash : Pick up a specific commit |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 140 | - string: |
David Vincze | fcb6bb2 | 2025-01-10 17:32:24 +0000 | [diff] [blame] | 141 | name: 'T_COSE_URL' |
| 142 | default: 'https://github.com/laurencelundblade/t_cose.git' |
| 143 | - string: |
| 144 | name: 'T_COSE_VERSION' |
| 145 | default: '' |
| 146 | description: | |
| 147 | Specify which t_cose version to use |
| 148 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 149 | TAG_NAME : Pick up a tagged version |
| 150 | full commit hash : Pick up a specific commit |
| 151 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 152 | name: SHARE_FOLDER |
| 153 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 154 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 155 | wrappers: |
| 156 | - timestamps |
| 157 | pipeline-scm: |
| 158 | scm: |
| 159 | - git: |
| 160 | url: '$CI_SCRIPTS_REPO' |
| 161 | branches: |
| 162 | - '$CI_SCRIPTS_BRANCH' |
Paul Sokolovsky | 60a13ac | 2024-07-05 11:52:04 +0300 | [diff] [blame] | 163 | refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 164 | credentials-id: GIT_SSH_KEY |
| 165 | wipe-workspace: false |
| 166 | script-path: jenkins/ci.jpl |