blob: 51294582fff432b4563ba356d014ba642879f08c [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 Foxb11bc452024-02-19 15:14:47 +000024 default: "an524 cs300_an547 cs300_an552 corstone310 rse \
Anton Komlev74b79252024-02-12 15:09:24 +010025 cypress_psoc64 corstone1000 \
Arthur Shec55cea22024-02-07 14:17:34 -080026 stm_nucleo_l552ze_q stm_stm32h573i_dk nxp_lpcxpresso55s69 \
Xinyu Zhang7b6eb6f2023-11-21 18:34:37 +080027 example_vad example_dma350_trigger \
Bence Balogh890f1be2023-08-07 15:31:30 +020028 example_dma350_s example_dma350_ns"
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'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080042 default: 'refs/heads/main'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080043 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'
Xinyu Zhang8450cc92023-09-21 16:46:13 +080050 default: 'main'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080051 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'
Xinyu Zhang004f3422023-06-27 12:02:31 +080067 default: ''
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:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080090 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080091 default: ''
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080092 description: |
93 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080094 refs/heads/<branch_name> : Pick up latest HEAD on branch
95 TAG_NAME : Pick up a tagged version
96 full commit hash : Pick up a specific commit
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080097 - string:
98 name: 'MCUBOOT_URL'
99 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
100 - string:
Bence Balogh57445b72022-10-14 17:48:09 +0200101 name: 'TFM_EXTRAS_URL'
102 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
103 - string:
104 name: 'TFM_EXTRAS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800105 default: ''
Bence Balogh57445b72022-10-14 17:48:09 +0200106 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800107 name: 'TFM_TESTS_URL'
108 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
109 - string:
110 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800111 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800112 description: |
113 Specify which tf-m-tests version to use
114 refs/heads/<branch_name> : Pick up latest HEAD on branch
115 TAG_NAME : Pick up a tagged version
116 full commit hash : Pick up a specific commit
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800117 - string:
118 name: 'PSA_ARCH_TESTS_URL'
119 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
120 - string:
121 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800122 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800123 description: |
124 Specify which psa-arch-tests version to use
125 refs/heads/<branch_name> : Pick up latest HEAD on branch
126 TAG_NAME : Pick up a tagged version
127 full commit hash : Pick up a specific commit
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800128 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800129 name: 'QCBOR_URL'
130 default: 'https://github.com/laurencelundblade/QCBOR.git'
131 - string:
132 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800133 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800134 description: |
135 Specify which QCBOR version to use
136 refs/heads/<branch_name> : Pick up latest HEAD on branch
137 TAG_NAME : Pick up a tagged version
138 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800139 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800140 name: SHARE_FOLDER
141 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
142 description: 'Folder containing shared repositories for downstream pipeline jobs'
143 wrappers:
144 - timestamps
145 pipeline-scm:
146 scm:
147 - git:
148 url: '$CI_SCRIPTS_REPO'
149 branches:
150 - '$CI_SCRIPTS_BRANCH'
151 credentials-id: GIT_SSH_KEY
152 wipe-workspace: false
153 script-path: jenkins/ci.jpl