blob: f2ad6b9d2ae3437aa72d0af7ec335cb0ca187500 [file] [log] [blame]
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +08001#-------------------------------------------------------------------------------
David Vincze16a9dac2023-01-06 15:16:47 +01002# Copyright (c) 2021-2023, Arm Limited. All rights reserved.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +08003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-extra-build
Xinyu Zhang15ff6722021-11-15 15:07:07 +080010 description: 'Build extra configurations nightly.'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080011 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 Zhang15ff6722021-11-15 15:07:07 +080019 triggers:
20 - timed: 'H 21 * * *'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
Jamie Fox55649c22022-09-09 14:32:01 +010024 default: "an524 an547 an552 corstone310 rss cypress_psoc64 \
Xinyu Zhange5115442022-10-26 14:49:58 +080025 corstone1000 stm_stm32l562e_dk \
Bence Balogh57445b72022-10-14 17:48:09 +020026 stm_nucleo_l552ze_q nxp_lpcxpresso55s69 \
27 example_vad example_dma350_trigger example_dma350_ns \
28 example_dma350_s"
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080029 description: |
30 Filter to a group of configurations as recognised by configs.py
31 - string:
32 name: 'CODE_REPO'
33 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080034 - string:
35 name: 'CI_SCRIPTS_REPO'
36 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
37 - string:
38 name: 'CI_SCRIPTS_BRANCH'
39 default: 'master'
40 - string:
41 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
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080048 - string:
49 name: 'GERRIT_BRANCH'
50 default: 'master'
51 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080052 TF-M branch.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080053 - string:
54 name: 'GERRIT_HOST'
55 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080056 No need to change.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080057 - string:
58 name: 'GERRIT_CHANGE_NUMBER'
59 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080060 No need to change.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080061 - string:
62 name: 'GERRIT_PATCHSET_REVISION'
63 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080064 No need to change.
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080065 - string:
66 name: 'MBEDTLS_VERSION'
Summer Qin8d6aae02023-01-20 11:15:51 +080067 default: 'mbedtls-3.3.0'
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
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080073 - string:
74 name: 'MBEDTLS_URL'
75 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
76 - string:
77 name: 'LAVA_URL'
78 default: 'https://tf.validation.linaro.org'
79 - string:
80 name: 'CODE_COVERAGE_EN'
81 default: 'FALSE'
82 - string:
83 name: 'LAVA_CREDENTIALS'
84 default: 'LAVA_CREDENTIALS'
85 description: "Name of Jenkins credential for authentication with LAVA."
86 - string:
87 name: 'EMAIL_NOTIFICATION'
Xinyu Zhang15ff6722021-11-15 15:07:07 +080088 default: 'xinyu.zhang@arm.com'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080089 - string:
90 name: 'SQUAD_CONFIGURATIONS'
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080091 default: 'disabled'
92 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080093 - string:
94 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080095 default: 'v1.9.0'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080096 description: |
97 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080098 refs/heads/<branch_name> : Pick up latest HEAD on branch
99 TAG_NAME : Pick up a tagged version
100 full commit hash : Pick up a specific commit
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800101 - string:
102 name: 'MCUBOOT_URL'
103 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
104 - string:
Bence Balogh57445b72022-10-14 17:48:09 +0200105 name: 'TFM_EXTRAS_URL'
106 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
107 - string:
108 name: 'TFM_EXTRAS_REFSPEC'
109 default: 'refs/heads/master'
110 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800111 name: 'TFM_TESTS_URL'
112 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
113 - string:
114 name: 'TFM_TESTS_REFSPEC'
115 default: 'refs/heads/master'
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800116 description: |
117 Specify which tf-m-tests 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
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800121 - string:
122 name: 'PSA_ARCH_TESTS_URL'
123 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
124 - string:
125 name: 'PSA_ARCH_TESTS_VERSION'
Summer8858e3e2022-11-15 10:40:04 +0800126 default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
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 Zhanga1d6aaf2021-11-15 15:03:05 +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'
David Vincze16a9dac2023-01-06 15:16:47 +0100137 default: '92d3f89030baff4af7be8396c563e6c8ef263622'
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:
Bence Balogh57445b72022-10-14 17:48:09 +0200144 name: 'FREERTOS_KERNEL_URL'
145 default: 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git'
146 - string:
147 name: 'FREERTOS_KERNEL_REFSPEC'
148 default: 'refs/heads/main'
149 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800150 name: SHARE_FOLDER
151 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
152 description: 'Folder containing shared repositories for downstream pipeline jobs'
153 wrappers:
154 - timestamps
155 pipeline-scm:
156 scm:
157 - git:
158 url: '$CI_SCRIPTS_REPO'
159 branches:
160 - '$CI_SCRIPTS_BRANCH'
161 credentials-id: GIT_SSH_KEY
162 wipe-workspace: false
163 script-path: jenkins/ci.jpl