blob: 84aee33771d0fc37443461b423cacfac3c021c44 [file] [log] [blame]
Karl Zhang4bd626c2020-06-23 10:17:32 +08001#-------------------------------------------------------------------------------
David Vincze16a9dac2023-01-06 15:16:47 +01002# Copyright (c) 2020-2023, 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:
16 - timed: 'H 0 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
Karl Zhang4bd626c2020-06-23 10:17:32 +080020 num-to-keep: 3
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 \
27 release_cs300_fvp release_corstone310 release_rss release_psoc64 \
Arthur She3d252762023-05-11 13:55:38 -070028 release_stm32l562e_dk release_lpcxpresso55s69 release_b_u585i_iot02a"
Karl Zhang4bd626c2020-06-23 10:17:32 +080029 description: |
30 Filter to a group of configurations as recognised by configs.py
31 - string:
32 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020033 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
Karl Zhang4bd626c2020-06-23 10:17:32 +080034 - string:
35 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020036 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang4bd626c2020-06-23 10:17:32 +080037 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010038 name: 'CI_SCRIPTS_BRANCH'
39 default: 'master'
40 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080041 name: 'GERRIT_REFSPEC'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080042 default: 'refs/heads/main'
Karl Zhang4bd626c2020-06-23 10:17:32 +080043 description: |
Xinyu Zhang8450cc92023-09-21 16:46:13 +080044 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 +080045 - string:
46 name: 'GERRIT_BRANCH'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080047 default: 'main'
Karl Zhang4bd626c2020-06-23 10:17:32 +080048 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080049 TF-M branch.
Karl Zhang4bd626c2020-06-23 10:17:32 +080050 - string:
51 name: 'GERRIT_HOST'
52 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080053 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080054 - string:
55 name: 'GERRIT_CHANGE_NUMBER'
56 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080057 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080058 - string:
59 name: 'GERRIT_PATCHSET_REVISION'
60 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080061 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080062 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080063 name: 'MBEDTLS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +080064 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +080065 description: |
66 Specify which MBEDTLS version to use
67 refs/heads/<branch_name> : Pick up latest HEAD on branch
68 TAG_NAME : Pick up a tagged version
69 full commit hash : Pick up a specific commit
Karl Zhang85c2d7a2020-08-20 11:17:58 +080070 - string:
71 name: 'MBEDTLS_URL'
72 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
73 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080074 name: 'LAVA_URL'
75 default: 'https://tf.validation.linaro.org'
76 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080077 name: 'CODE_COVERAGE_EN'
78 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010079 - string:
80 name: 'LAVA_CREDENTIALS'
81 default: 'LAVA_CREDENTIALS'
82 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050083 - string:
84 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080085 default: ''
Leonardo Sandoval4a024212021-09-17 14:05:27 -050086 description: |
87 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080088 refs/heads/<branch_name> : Pick up latest HEAD on branch
89 TAG_NAME : Pick up a tagged version
90 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -050091 - string:
92 name: 'MCUBOOT_URL'
93 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
94 - string:
95 name: 'TFM_TESTS_URL'
96 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
97 - string:
98 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080099 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800100 description: |
101 Specify which tf-m-tests version to use
102 refs/heads/<branch_name> : Pick up latest HEAD on branch
103 TAG_NAME : Pick up a tagged version
104 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500105 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800106 name: 'TFM_EXTRAS_URL'
107 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
108 - string:
109 name: 'TFM_EXTRAS_REFSPEC'
110 default: ''
111 description: |
112 Specify which tf-m-extras version to use
113 refs/heads/<branch_name> : Pick up latest HEAD on branch
114 TAG_NAME : Pick up a tagged version
115 full commit hash : Pick up a specific commit
116 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500117 name: 'PSA_ARCH_TESTS_URL'
118 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
119 - string:
120 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800121 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800122 description: |
123 Specify which psa-arch-tests version to use
124 refs/heads/<branch_name> : Pick up latest HEAD on branch
125 TAG_NAME : Pick up a tagged version
126 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800127 - string:
128 name: 'QCBOR_URL'
129 default: 'https://github.com/laurencelundblade/QCBOR.git'
130 - string:
131 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800132 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800133 description: |
134 Specify which QCBOR version to use
135 refs/heads/<branch_name> : Pick up latest HEAD on branch
136 TAG_NAME : Pick up a tagged version
137 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500138 - string:
139 name: SHARE_FOLDER
140 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
141 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800142 wrappers:
143 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800144 pipeline-scm:
145 scm:
146 - git:
147 url: '$CI_SCRIPTS_REPO'
148 branches:
149 - '$CI_SCRIPTS_BRANCH'
150 credentials-id: GIT_SSH_KEY
151 wipe-workspace: false
152 script-path: jenkins/ci.jpl