blob: b477c55e4d8013d89780da63250dfe7ad858401f [file] [log] [blame]
Xinyu Zhangaae3f472022-01-25 10:24:52 +08001#-------------------------------------------------------------------------------
David Vincze16a9dac2023-01-06 15:16:47 +01002# Copyright (c) 2022-2023, Arm Limited. All rights reserved.
Xinyu Zhangaae3f472022-01-25 10:24:52 +08003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-nightly-for-test
10 description: 'Build that covers all nightly configs for verification.'
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
Xinyu Zhangaae3f472022-01-25 10:24:52 +080019 parameters:
20 - string:
21 name: 'FILTER_GROUP'
David Hue9b0dd72022-11-17 11:12:26 +080022 default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_m_arotless \
23 nightly_profile_l nightly_cc_driver_psa nightly_fp nightly_psa_api \
Bence Balogh0da3dd92023-08-29 13:32:41 +020024 nightly_ipc_backend nightly_nsce nightly_mmio nightly_cs300_an547 \
25 nightly_cs300_an552 nightly_cs300_fvp nightly_corstone310 \
Xinyu Zhang7dd42d02023-10-31 16:36:34 +080026 nightly_corstone1000 nightly_psoc64 nightly_stm32l562e_dk \
Bence Balogh0da3dd92023-08-29 13:32:41 +020027 nightly_lpcxpresso55s69 nightly_b_u585i_iot02a"
Xinyu Zhangaae3f472022-01-25 10:24:52 +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 Zhangaae3f472022-01-25 10:24:52 +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'
39 - string:
40 name: 'GERRIT_REFSPEC'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080041 default: 'refs/heads/main'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080042 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080043 Specify which TF-M version to use
44 refs/heads/<branch_name> : Pick up latest HEAD on branch
45 TAG_NAME : Pick up a tagged version
46 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +080047 - string:
48 name: 'GERRIT_BRANCH'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080049 default: 'main'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080050 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080051 TF-M branch.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080052 - string:
53 name: 'GERRIT_HOST'
54 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080055 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080056 - string:
57 name: 'GERRIT_CHANGE_NUMBER'
58 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080059 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080060 - string:
61 name: 'GERRIT_PATCHSET_REVISION'
62 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080063 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080064 - string:
65 name: 'MBEDTLS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +080066 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +080067 description: |
68 Specify which MBEDTLS version to use
69 refs/heads/<branch_name> : Pick up latest HEAD on branch
70 TAG_NAME : Pick up a tagged version
71 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +080072 - string:
73 name: 'MBEDTLS_URL'
74 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
75 - string:
76 name: 'LAVA_URL'
77 default: 'https://tf.validation.linaro.org'
78 - string:
79 name: 'CODE_COVERAGE_EN'
80 default: 'FALSE'
81 - string:
82 name: 'LAVA_CREDENTIALS'
83 default: 'LAVA_CREDENTIALS'
84 description: "Name of Jenkins credential for authentication with LAVA."
85 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +080086 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080087 default: ''
Xinyu Zhangaae3f472022-01-25 10:24:52 +080088 description: |
89 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080090 refs/heads/<branch_name> : Pick up latest HEAD on branch
91 TAG_NAME : Pick up a tagged version
92 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +080093 - string:
94 name: 'MCUBOOT_URL'
95 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
96 - string:
97 name: 'TFM_TESTS_URL'
98 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
99 - string:
100 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800101 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800102 description: |
103 Specify which tf-m-tests version to use
104 refs/heads/<branch_name> : Pick up latest HEAD on branch
105 TAG_NAME : Pick up a tagged version
106 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800107 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800108 name: 'TFM_EXTRAS_URL'
109 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
110 - string:
111 name: 'TFM_EXTRAS_REFSPEC'
112 default: ''
113 description: |
114 Specify which tf-m-extras 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
118 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800119 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 Zhangaae3f472022-01-25 10:24:52 +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:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800141 name: SHARE_FOLDER
142 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
143 description: 'Folder containing shared repositories for downstream pipeline jobs'
144 wrappers:
145 - timestamps
146 pipeline-scm:
147 scm:
148 - git:
149 url: '$CI_SCRIPTS_REPO'
150 branches:
151 - '$CI_SCRIPTS_BRANCH'
152 credentials-id: GIT_SSH_KEY
153 wipe-workspace: false
154 script-path: jenkins/ci.jpl