blob: d5842c10769bd53a57058c0cd0fa30a212f14217 [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 \
Bence Balogh0da3dd92023-08-29 13:32:41 +020026 nightly_ipc_backend nightly_nsce nightly_mmio nightly_cs300_an547 \
27 nightly_cs300_an552 nightly_cs300_fvp nightly_corstone310 \
Xinyu Zhang7dd42d02023-10-31 16:36:34 +080028 nightly_corstone1000 nightly_psoc64 nightly_stm32l562e_dk \
Bence Balogh0da3dd92023-08-29 13:32:41 +020029 nightly_lpcxpresso55s69 nightly_b_u585i_iot02a"
Dean Birche4cbc7c2020-01-20 10:40:21 +000030 description: |
31 Filter to a group of configurations as recognised by configs.py
32 - string:
33 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020034 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000035 - string:
36 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020037 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000038 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010039 name: 'CI_SCRIPTS_BRANCH'
40 default: 'master'
41 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000042 name: 'GERRIT_REFSPEC'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080043 default: 'refs/heads/main'
Dean Birche4cbc7c2020-01-20 10:40:21 +000044 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
Dean Birche4cbc7c2020-01-20 10:40:21 +000049 - string:
50 name: 'GERRIT_BRANCH'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080051 default: 'main'
Dean Birche4cbc7c2020-01-20 10:40:21 +000052 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080053 TF-M branch.
Dean Birche4cbc7c2020-01-20 10:40:21 +000054 - string:
55 name: 'GERRIT_HOST'
56 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080057 No need to change.
Dean Birche4cbc7c2020-01-20 10:40:21 +000058 - string:
59 name: 'GERRIT_CHANGE_NUMBER'
60 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080061 No need to change.
Dean Birche4cbc7c2020-01-20 10:40:21 +000062 - string:
63 name: 'GERRIT_PATCHSET_REVISION'
64 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080065 No need to change.
Dean Birche4cbc7c2020-01-20 10:40:21 +000066 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080067 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
Karl Zhang85c2d7a2020-08-20 11:17:58 +080074 - string:
75 name: 'MBEDTLS_URL'
76 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
77 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000078 name: 'LAVA_URL'
79 default: 'https://tf.validation.linaro.org'
80 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080081 name: 'CODE_COVERAGE_EN'
82 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010083 - string:
84 name: 'LAVA_CREDENTIALS'
85 default: 'LAVA_CREDENTIALS'
86 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +080087 - string:
88 name: 'EMAIL_NOTIFICATION'
Paul Sokolovskye67e4212023-03-21 15:57:39 +070089 default: 'tf-m-ci-notifications@lists.trustedfirmware.org, paul.sokolovsky@linaro.org'
Xinyu Zhang8926ad32023-02-15 14:43:38 +080090 description: |
91 Send email norification when test failed.
Hugo L'Hostisad586492021-01-06 11:53:30 +000092 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050093 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080094 default: ''
Leonardo Sandoval4a024212021-09-17 14:05:27 -050095 description: |
96 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080097 refs/heads/<branch_name> : Pick up latest HEAD on branch
98 TAG_NAME : Pick up a tagged version
99 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500100 - string:
101 name: 'MCUBOOT_URL'
102 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
103 - string:
104 name: 'TFM_TESTS_URL'
105 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
106 - string:
107 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800108 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800109 description: |
110 Specify which tf-m-tests version to use
111 refs/heads/<branch_name> : Pick up latest HEAD on branch
112 TAG_NAME : Pick up a tagged version
113 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500114 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800115 name: 'TFM_EXTRAS_URL'
116 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
117 - string:
118 name: 'TFM_EXTRAS_REFSPEC'
119 default: ''
120 description: |
121 Specify which tf-m-extras version to use
122 refs/heads/<branch_name> : Pick up latest HEAD on branch
123 TAG_NAME : Pick up a tagged version
124 full commit hash : Pick up a specific commit
125 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500126 name: 'PSA_ARCH_TESTS_URL'
127 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
128 - string:
129 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800130 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800131 description: |
132 Specify which psa-arch-tests version to use
133 refs/heads/<branch_name> : Pick up latest HEAD on branch
134 TAG_NAME : Pick up a tagged version
135 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500136 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800137 name: 'QCBOR_URL'
138 default: 'https://github.com/laurencelundblade/QCBOR.git'
139 - string:
140 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800141 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800142 description: |
143 Specify which QCBOR version to use
144 refs/heads/<branch_name> : Pick up latest HEAD on branch
145 TAG_NAME : Pick up a tagged version
146 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800147 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500148 name: SHARE_FOLDER
149 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
150 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800151 wrappers:
152 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +0000153 pipeline-scm:
154 scm:
155 - git:
156 url: '$CI_SCRIPTS_REPO'
157 branches:
158 - '$CI_SCRIPTS_BRANCH'
159 credentials-id: GIT_SSH_KEY
160 wipe-workspace: false
161 script-path: jenkins/ci.jpl