blob: 04a4113140fe7599436be1c4b2eb3fd15a806c4c [file] [log] [blame]
Karl Zhang4bd626c2020-06-23 10:17:32 +08001#-------------------------------------------------------------------------------
David Vinczefcb6bb22025-01-10 17:32:24 +00002# Copyright (c) 2020-2025, Arm Limited. All rights reserved.
Karl Zhang4bd626c2020-06-23 10:17:32 +08003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-release
10 description: 'Build that triggers manually to build many configurations for release.'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: true
Xinyu Zhangb7074d52022-08-16 16:29:00 +080015 triggers:
Matthew Dalzell69b20c72024-07-11 10:36:42 +010016 - timed: 'H 7 8-14,22-28 * 0'
Karl Zhang4bd626c2020-06-23 10:17:32 +080017 properties:
18 - build-discarder:
Xinyu Zhangb7074d52022-08-16 16:29:00 +080019 days-to-keep: 30
Paul Sokolovsky67c26522024-04-29 12:36:28 +070020 num-to-keep: 20
Karl Zhang4bd626c2020-06-23 10:17:32 +080021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
David Hue9b0dd72022-11-17 11:12:26 +080024 default: "release_test release_profile_s release_profile_m release_profile_m_arotless \
25 release_profile_l release_cc_driver_psa release_fp release_psa_api \
Bence Balogh0da3dd92023-08-29 13:32:41 +020026 release_ipc_backend release_nsce release_mmio release_cs300_an547 release_cs300_an552 \
Gergely Korcsák77799202024-08-05 07:47:37 +020027 release_cs300_fvp release_corstone310 release_corstone315 release_corstone320 \
Antonio de Angelis05d9ef52025-02-06 11:39:01 +000028 release_rse_tc4 release_psoc64 \
Arthur Shec55cea22024-02-07 14:17:34 -080029 release_lpcxpresso55s69 release_b_u585i_iot02a release_stm32h573i_dk"
Karl Zhang4bd626c2020-06-23 10:17:32 +080030 description: |
31 Filter to a group of configurations as recognised by configs.py
32 - string:
33 name: 'CODE_REPO'
Paul Sokolovsky58f12642024-04-25 22:57:09 +070034 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Karl Zhang4bd626c2020-06-23 10:17:32 +080035 - string:
36 name: 'CI_SCRIPTS_REPO'
Paul Sokolovsky58f12642024-04-25 22:57:09 +070037 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang4bd626c2020-06-23 10:17:32 +080038 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010039 name: 'CI_SCRIPTS_BRANCH'
Xinyu Zhange1569332023-11-29 10:46:46 +080040 default: 'master'
Fathi Boudraccaba542020-11-19 10:11:43 +010041 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080042 name: 'GERRIT_REFSPEC'
Xinyu Zhange1569332023-11-29 10:46:46 +080043 default: 'refs/heads/main'
Karl Zhang4bd626c2020-06-23 10:17:32 +080044 description: |
Xinyu Zhang8450cc92023-09-21 16:46:13 +080045 For use when triggering with specified tag or master 'refs/heads/main' or 'refs/tags/TF-Mv1.0'.
Karl Zhang4bd626c2020-06-23 10:17:32 +080046 - string:
47 name: 'GERRIT_BRANCH'
Xinyu Zhange1569332023-11-29 10:46:46 +080048 default: 'main'
Karl Zhang4bd626c2020-06-23 10:17:32 +080049 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080050 TF-M branch.
Karl Zhang4bd626c2020-06-23 10:17:32 +080051 - string:
52 name: 'GERRIT_HOST'
53 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080054 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080055 - string:
56 name: 'GERRIT_CHANGE_NUMBER'
57 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080058 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080059 - string:
60 name: 'GERRIT_PATCHSET_REVISION'
61 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080062 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080063 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080064 name: 'MBEDTLS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +080065 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +080066 description: |
67 Specify which MBEDTLS version to use
68 refs/heads/<branch_name> : Pick up latest HEAD on branch
69 TAG_NAME : Pick up a tagged version
70 full commit hash : Pick up a specific commit
Karl Zhang85c2d7a2020-08-20 11:17:58 +080071 - string:
72 name: 'MBEDTLS_URL'
73 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
74 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080075 name: 'LAVA_URL'
76 default: 'https://tf.validation.linaro.org'
77 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080078 name: 'CODE_COVERAGE_EN'
79 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010080 - string:
81 name: 'LAVA_CREDENTIALS'
82 default: 'LAVA_CREDENTIALS'
83 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050084 - string:
Matthew Dalzell839505e2024-05-21 15:20:30 +010085 name: 'EMAIL_NOTIFICATION'
86 default: 'matthew.dalzell@arm.com, anton.komlev@arm.com, antonio.deangelis@arm.com'
87 description: |
88 Send email notification when test failed.
89 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050090 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080091 default: ''
Leonardo Sandoval4a024212021-09-17 14:05:27 -050092 description: |
93 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080094 refs/heads/<branch_name> : Pick up latest HEAD on branch
95 TAG_NAME : Pick up a tagged version
96 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -050097 - string:
98 name: 'MCUBOOT_URL'
99 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
100 - string:
101 name: 'TFM_TESTS_URL'
102 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
103 - string:
104 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800105 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800106 description: |
107 Specify which tf-m-tests version to use
108 refs/heads/<branch_name> : Pick up latest HEAD on branch
109 TAG_NAME : Pick up a tagged version
110 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500111 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800112 name: 'TFM_EXTRAS_URL'
Paul Sokolovsky1f7ce522024-04-26 18:25:28 +0700113 default: 'https://review.trustedfirmware.org/TF-M/tf-m-extras.git'
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800114 - string:
115 name: 'TFM_EXTRAS_REFSPEC'
116 default: ''
117 description: |
118 Specify which tf-m-extras version to use
119 refs/heads/<branch_name> : Pick up latest HEAD on branch
120 TAG_NAME : Pick up a tagged version
121 full commit hash : Pick up a specific commit
122 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500123 name: 'PSA_ARCH_TESTS_URL'
124 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
125 - string:
126 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800127 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800128 description: |
129 Specify which psa-arch-tests version to use
130 refs/heads/<branch_name> : Pick up latest HEAD on branch
131 TAG_NAME : Pick up a tagged version
132 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800133 - string:
134 name: 'QCBOR_URL'
135 default: 'https://github.com/laurencelundblade/QCBOR.git'
136 - string:
137 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800138 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800139 description: |
140 Specify which QCBOR version to use
141 refs/heads/<branch_name> : Pick up latest HEAD on branch
142 TAG_NAME : Pick up a tagged version
143 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500144 - string:
David Vinczefcb6bb22025-01-10 17:32:24 +0000145 name: 'T_COSE_URL'
146 default: 'https://github.com/laurencelundblade/t_cose.git'
147 - string:
148 name: 'T_COSE_VERSION'
149 default: ''
150 description: |
151 Specify which t_cose version to use
152 refs/heads/<branch_name> : Pick up latest HEAD on branch
153 TAG_NAME : Pick up a tagged version
154 full commit hash : Pick up a specific commit
155 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500156 name: SHARE_FOLDER
157 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
158 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800159 wrappers:
160 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800161 pipeline-scm:
162 scm:
163 - git:
164 url: '$CI_SCRIPTS_REPO'
165 branches:
166 - '$CI_SCRIPTS_BRANCH'
Paul Sokolovsky60a13ac2024-07-05 11:52:04 +0300167 refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
Karl Zhang4bd626c2020-06-23 10:17:32 +0800168 credentials-id: GIT_SSH_KEY
169 wipe-workspace: false
170 script-path: jenkins/ci.jpl