blob: 47057e5fc59ff6a002f7a89bf5ef582c55456f74 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
David Vincze16a9dac2023-01-06 15:16:47 +01002# Copyright (c) 2020-2023, Arm Limited. All rights reserved.
Dean Birche4cbc7c2020-01-20 10:40:21 +00003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-nightly
10 description: 'Build that triggers nightly to build many configurations.'
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
Dean Birche4cbc7c2020-01-20 10:40:21 +000019 triggers:
Paul Sokolovsky4005d7e2023-04-14 14:07:33 +030020 - timed: 'H 16 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
David Hue9b0dd72022-11-17 11:12:26 +080024 default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_m_arotless \
25 nightly_profile_l nightly_cc_driver_psa nightly_fp nightly_psa_api \
Xinyu Zhangea289122022-11-21 17:56:38 +080026 nightly_ipc_backend nightly_nsce nightly_mmio nightly_an547 nightly_an552 \
Antonio de Angelisf00483b2023-05-02 18:01:00 +020027 nightly_corstone310 nightly_rss nightly_psoc64 \
Arthur She3d252762023-05-11 13:55:38 -070028 nightly_stm32l562e_dk nightly_lpcxpresso55s69 nightly_b_u585i_iot02a"
Dean Birche4cbc7c2020-01-20 10:40:21 +000029 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'
Dean Birche4cbc7c2020-01-20 10:40:21 +000034 - string:
35 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020036 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000037 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010038 name: 'CI_SCRIPTS_BRANCH'
39 default: 'master'
40 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000041 name: 'GERRIT_REFSPEC'
42 default: 'refs/heads/master'
43 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080044 Specify which TF-M version to use
45 refs/heads/<branch_name> : Pick up latest HEAD on branch
46 TAG_NAME : Pick up a tagged version
47 full commit hash : Pick up a specific commit
Dean Birche4cbc7c2020-01-20 10:40:21 +000048 - string:
49 name: 'GERRIT_BRANCH'
50 default: 'master'
51 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080052 TF-M branch.
Dean Birche4cbc7c2020-01-20 10:40:21 +000053 - string:
54 name: 'GERRIT_HOST'
55 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080056 No need to change.
Dean Birche4cbc7c2020-01-20 10:40:21 +000057 - string:
58 name: 'GERRIT_CHANGE_NUMBER'
59 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080060 No need to change.
Dean Birche4cbc7c2020-01-20 10:40:21 +000061 - string:
62 name: 'GERRIT_PATCHSET_REVISION'
63 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080064 No need to change.
Dean Birche4cbc7c2020-01-20 10:40:21 +000065 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080066 name: 'MBEDTLS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +080067 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +080068 description: |
69 Specify which MBEDTLS version to use
70 refs/heads/<branch_name> : Pick up latest HEAD on branch
71 TAG_NAME : Pick up a tagged version
72 full commit hash : Pick up a specific commit
Karl Zhang85c2d7a2020-08-20 11:17:58 +080073 - string:
74 name: 'MBEDTLS_URL'
75 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
76 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000077 name: 'LAVA_URL'
78 default: 'https://tf.validation.linaro.org'
79 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080080 name: 'CODE_COVERAGE_EN'
81 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010082 - string:
83 name: 'LAVA_CREDENTIALS'
84 default: 'LAVA_CREDENTIALS'
85 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +080086 - string:
87 name: 'EMAIL_NOTIFICATION'
Paul Sokolovskye67e4212023-03-21 15:57:39 +070088 default: 'tf-m-ci-notifications@lists.trustedfirmware.org, paul.sokolovsky@linaro.org'
Xinyu Zhang8926ad32023-02-15 14:43:38 +080089 description: |
90 Send email norification when test failed.
Hugo L'Hostisad586492021-01-06 11:53:30 +000091 - string:
92 name: 'SQUAD_CONFIGURATIONS'
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080093 default: 'enabled'
94 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050095 - string:
96 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080097 default: ''
Leonardo Sandoval4a024212021-09-17 14:05:27 -050098 description: |
99 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800100 refs/heads/<branch_name> : Pick up latest HEAD on branch
101 TAG_NAME : Pick up a tagged version
102 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500103 - string:
104 name: 'MCUBOOT_URL'
105 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
106 - string:
107 name: 'TFM_TESTS_URL'
108 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
109 - string:
110 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800111 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800112 description: |
113 Specify which tf-m-tests version to use
114 refs/heads/<branch_name> : Pick up latest HEAD on branch
115 TAG_NAME : Pick up a tagged version
116 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500117 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800118 name: 'TFM_EXTRAS_URL'
119 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
120 - string:
121 name: 'TFM_EXTRAS_REFSPEC'
122 default: ''
123 description: |
124 Specify which tf-m-extras version to use
125 refs/heads/<branch_name> : Pick up latest HEAD on branch
126 TAG_NAME : Pick up a tagged version
127 full commit hash : Pick up a specific commit
128 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500129 name: 'PSA_ARCH_TESTS_URL'
130 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
131 - string:
132 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800133 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800134 description: |
135 Specify which psa-arch-tests version to use
136 refs/heads/<branch_name> : Pick up latest HEAD on branch
137 TAG_NAME : Pick up a tagged version
138 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500139 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800140 name: 'QCBOR_URL'
141 default: 'https://github.com/laurencelundblade/QCBOR.git'
142 - string:
143 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800144 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800145 description: |
146 Specify which QCBOR version to use
147 refs/heads/<branch_name> : Pick up latest HEAD on branch
148 TAG_NAME : Pick up a tagged version
149 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800150 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500151 name: SHARE_FOLDER
152 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
153 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800154 wrappers:
155 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +0000156 pipeline-scm:
157 scm:
158 - git:
159 url: '$CI_SCRIPTS_REPO'
160 branches:
161 - '$CI_SCRIPTS_BRANCH'
162 credentials-id: GIT_SSH_KEY
163 wipe-workspace: false
164 script-path: jenkins/ci.jpl