blob: 381fe72330dbf645c03a55240247722b3d0918d8 [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 \
Jamie Foxb11bc452024-02-19 15:14:47 +000026 nightly_corstone1000 nightly_rse nightly_psoc64 \
Arthur Shec55cea22024-02-07 14:17:34 -080027 nightly_lpcxpresso55s69 nightly_b_u585i_iot02a nightly_stm32h573i_dk"
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'
Paul Sokolovskyfbb0d132024-07-12 20:20:03 +030039 description: |
40 Branch of CI_SCRIPTS_REPO to use; also accepts Gerrit patch refspec like 'refs/changes/98/29798/1'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080041 - string:
42 name: 'GERRIT_REFSPEC'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080043 default: 'refs/heads/main'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080044 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
Xinyu Zhangaae3f472022-01-25 10:24:52 +080049 - string:
50 name: 'GERRIT_BRANCH'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080051 default: 'main'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080052 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080053 TF-M branch.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080054 - string:
55 name: 'GERRIT_HOST'
56 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080057 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080058 - string:
59 name: 'GERRIT_CHANGE_NUMBER'
60 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080061 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080062 - string:
63 name: 'GERRIT_PATCHSET_REVISION'
64 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080065 No need to change.
Xinyu Zhangaae3f472022-01-25 10:24:52 +080066 - string:
67 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
Xinyu Zhangaae3f472022-01-25 10:24:52 +080074 - string:
75 name: 'MBEDTLS_URL'
76 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
77 - string:
78 name: 'LAVA_URL'
79 default: 'https://tf.validation.linaro.org'
80 - string:
81 name: 'CODE_COVERAGE_EN'
82 default: 'FALSE'
83 - string:
84 name: 'LAVA_CREDENTIALS'
85 default: 'LAVA_CREDENTIALS'
86 description: "Name of Jenkins credential for authentication with LAVA."
87 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +080088 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080089 default: ''
Xinyu Zhangaae3f472022-01-25 10:24:52 +080090 description: |
91 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080092 refs/heads/<branch_name> : Pick up latest HEAD on branch
93 TAG_NAME : Pick up a tagged version
94 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +080095 - string:
96 name: 'MCUBOOT_URL'
97 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
98 - string:
99 name: 'TFM_TESTS_URL'
100 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
101 - string:
102 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800103 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800104 description: |
105 Specify which tf-m-tests version to use
106 refs/heads/<branch_name> : Pick up latest HEAD on branch
107 TAG_NAME : Pick up a tagged version
108 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800109 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800110 name: 'TFM_EXTRAS_URL'
111 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
112 - string:
113 name: 'TFM_EXTRAS_REFSPEC'
114 default: ''
115 description: |
116 Specify which tf-m-extras version to use
117 refs/heads/<branch_name> : Pick up latest HEAD on branch
118 TAG_NAME : Pick up a tagged version
119 full commit hash : Pick up a specific commit
120 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800121 name: 'PSA_ARCH_TESTS_URL'
122 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
123 - string:
124 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800125 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800126 description: |
127 Specify which psa-arch-tests version to use
128 refs/heads/<branch_name> : Pick up latest HEAD on branch
129 TAG_NAME : Pick up a tagged version
130 full commit hash : Pick up a specific commit
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800131 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800132 name: 'QCBOR_URL'
133 default: 'https://github.com/laurencelundblade/QCBOR.git'
134 - string:
135 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800136 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800137 description: |
138 Specify which QCBOR version to use
139 refs/heads/<branch_name> : Pick up latest HEAD on branch
140 TAG_NAME : Pick up a tagged version
141 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800142 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800143 name: SHARE_FOLDER
144 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
145 description: 'Folder containing shared repositories for downstream pipeline jobs'
146 wrappers:
147 - timestamps
148 pipeline-scm:
149 scm:
150 - git:
151 url: '$CI_SCRIPTS_REPO'
152 branches:
153 - '$CI_SCRIPTS_BRANCH'
Paul Sokolovsky60a13ac2024-07-05 11:52:04 +0300154 refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800155 credentials-id: GIT_SSH_KEY
156 wipe-workspace: false
157 script-path: jenkins/ci.jpl