blob: 976d920fb858b7aec1adb335a402bd899dc68e9d [file] [log] [blame]
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +08001#-------------------------------------------------------------------------------
David Vinczefcb6bb22025-01-10 17:32:24 +00002# Copyright (c) 2021-2025, Arm Limited. All rights reserved.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +08003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-extra-build
Xinyu Zhang15ff6722021-11-15 15:07:07 +080010 description: 'Build extra configurations nightly.'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080011 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 Zhang15ff6722021-11-15 15:07:07 +080019 triggers:
Matthew Dalzell69b20c72024-07-11 10:36:42 +010020 - timed: 'H 3 * * *'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
Antonio de Angelis05d9ef52025-02-06 11:39:01 +000024 default: "an524 cs300_an547 cs300_an552 corstone310 rse_tc4 \
Anton Komlev74b79252024-02-12 15:09:24 +010025 cypress_psoc64 corstone1000 \
Matthew Dalzell545fdec2025-05-12 15:43:04 +010026 stm_nucleo_l552ze_q stm_stm32h573i_dk nxp_lpcxpresso55s69 \
27 nightly_all_plat"
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080028 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 Zhanga1d6aaf2021-11-15 15:03:05 +080033 - 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 Sokolovskyfbb0d132024-07-12 20:20:03 +030039 description: |
40 Branch of CI_SCRIPTS_REPO to use; also accepts Gerrit patch refspec like 'refs/changes/98/29798/1'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080041 - string:
42 name: 'GERRIT_REFSPEC'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080043 default: 'refs/heads/main'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080044 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080045 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 Zhanga1d6aaf2021-11-15 15:03:05 +080049 - string:
50 name: 'GERRIT_BRANCH'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080051 default: 'main'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080052 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080053 TF-M branch.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080054 - string:
55 name: 'GERRIT_HOST'
56 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080057 No need to change.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080058 - string:
59 name: 'GERRIT_CHANGE_NUMBER'
60 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080061 No need to change.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080062 - string:
63 name: 'GERRIT_PATCHSET_REVISION'
64 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080065 No need to change.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080066 - string:
67 name: 'MBEDTLS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +080068 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +080069 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 Zhanga1d6aaf2021-11-15 15:03:05 +080074 - 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 Dalzell839505e2024-05-21 15:20:30 +010089 default: 'matthew.dalzell@arm.com'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080090 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080091 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080092 default: ''
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080093 description: |
94 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080095 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 Zhanga1d6aaf2021-11-15 15:03:05 +080098 - string:
99 name: 'MCUBOOT_URL'
100 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
101 - string:
Bence Balogh57445b72022-10-14 17:48:09 +0200102 name: 'TFM_EXTRAS_URL'
103 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
104 - string:
105 name: 'TFM_EXTRAS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800106 default: ''
Bence Balogh57445b72022-10-14 17:48:09 +0200107 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800108 name: 'TFM_TESTS_URL'
109 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
110 - string:
111 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800112 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800113 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 Zhanga1d6aaf2021-11-15 15:03:05 +0800118 - 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 Zhang004f3422023-06-27 12:02:31 +0800123 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800124 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 Zhanga1d6aaf2021-11-15 15:03:05 +0800129 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800130 name: 'QCBOR_URL'
131 default: 'https://github.com/laurencelundblade/QCBOR.git'
132 - string:
133 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800134 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800135 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 Zhang79e1aa12022-11-23 17:50:21 +0800140 - string:
David Vinczefcb6bb22025-01-10 17:32:24 +0000141 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 Zhanga1d6aaf2021-11-15 15:03:05 +0800152 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 Sokolovsky60a13ac2024-07-05 11:52:04 +0300163 refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800164 credentials-id: GIT_SSH_KEY
165 wipe-workspace: false
166 script-path: jenkins/ci.jpl