blob: 1e0d95244b88214db4b057222cb53074adfce902 [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 \
Xinyu Zhangea289122022-11-21 17:56:38 +080024 nightly_ipc_backend nightly_nsce nightly_mmio nightly_an547 nightly_an552 \
Antonio de Angelisf00483b2023-05-02 18:01:00 +020025 nightly_corstone310 nightly_rss nightly_psoc64 \
Arthur She3d252762023-05-11 13:55:38 -070026 nightly_stm32l562e_dk nightly_lpcxpresso55s69 nightly_b_u585i_iot02a"
Xinyu Zhangaae3f472022-01-25 10:24:52 +080027 description: |
28 Filter to a group of configurations as recognised by configs.py
29 - string:
30 name: 'CODE_REPO'
31 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080032 - string:
33 name: 'CI_SCRIPTS_REPO'
34 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
35 - string:
36 name: 'CI_SCRIPTS_BRANCH'
37 default: 'master'
38 - string:
39 name: 'GERRIT_REFSPEC'
40 default: 'refs/heads/master'
41 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080042 Specify which TF-M version to use
43 refs/heads/<branch_name> : Pick up latest HEAD on branch
44 TAG_NAME : Pick up a tagged version
45 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +080046 - string:
47 name: 'GERRIT_BRANCH'
48 default: 'master'
49 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080050 TF-M branch.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080051 - string:
52 name: 'GERRIT_HOST'
53 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080054 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080055 - string:
56 name: 'GERRIT_CHANGE_NUMBER'
57 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080058 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080059 - string:
60 name: 'GERRIT_PATCHSET_REVISION'
61 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080062 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080063 - string:
64 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
Xinyu Zhangaae3f472022-01-25 10:24:52 +080071 - string:
72 name: 'MBEDTLS_URL'
73 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
74 - string:
75 name: 'LAVA_URL'
76 default: 'https://tf.validation.linaro.org'
77 - string:
78 name: 'CODE_COVERAGE_EN'
79 default: 'FALSE'
80 - string:
81 name: 'LAVA_CREDENTIALS'
82 default: 'LAVA_CREDENTIALS'
83 description: "Name of Jenkins credential for authentication with LAVA."
84 - string:
85 name: 'SQUAD_CONFIGURATIONS'
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080086 default: 'disabled'
87 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080088 - string:
89 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080090 default: ''
Xinyu Zhangaae3f472022-01-25 10:24:52 +080091 description: |
92 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080093 refs/heads/<branch_name> : Pick up latest HEAD on branch
94 TAG_NAME : Pick up a tagged version
95 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +080096 - string:
97 name: 'MCUBOOT_URL'
98 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
99 - string:
100 name: 'TFM_TESTS_URL'
101 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
102 - string:
103 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800104 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800105 description: |
106 Specify which tf-m-tests version to use
107 refs/heads/<branch_name> : Pick up latest HEAD on branch
108 TAG_NAME : Pick up a tagged version
109 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800110 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800111 name: 'TFM_EXTRAS_URL'
112 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
113 - string:
114 name: 'TFM_EXTRAS_REFSPEC'
115 default: ''
116 description: |
117 Specify which tf-m-extras version to use
118 refs/heads/<branch_name> : Pick up latest HEAD on branch
119 TAG_NAME : Pick up a tagged version
120 full commit hash : Pick up a specific commit
121 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800122 name: 'PSA_ARCH_TESTS_URL'
123 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
124 - string:
125 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800126 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800127 description: |
128 Specify which psa-arch-tests version to use
129 refs/heads/<branch_name> : Pick up latest HEAD on branch
130 TAG_NAME : Pick up a tagged version
131 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800132 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800133 name: 'QCBOR_URL'
134 default: 'https://github.com/laurencelundblade/QCBOR.git'
135 - string:
136 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800137 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800138 description: |
139 Specify which QCBOR version to use
140 refs/heads/<branch_name> : Pick up latest HEAD on branch
141 TAG_NAME : Pick up a tagged version
142 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800143 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800144 name: SHARE_FOLDER
145 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
146 description: 'Folder containing shared repositories for downstream pipeline jobs'
147 wrappers:
148 - timestamps
149 pipeline-scm:
150 scm:
151 - git:
152 url: '$CI_SCRIPTS_REPO'
153 branches:
154 - '$CI_SCRIPTS_BRANCH'
155 credentials-id: GIT_SSH_KEY
156 wipe-workspace: false
157 script-path: jenkins/ci.jpl