blob: 438b88b6042fc88ebf7a6d61056aa7802845252c [file] [log] [blame]
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +08001#-------------------------------------------------------------------------------
Summer Qin7632b812022-01-05 17:33:35 +08002# Copyright (c) 2021-2022, 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'
34 description: |
35 Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
36 - string:
37 name: 'CI_SCRIPTS_REPO'
38 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
39 - string:
40 name: 'CI_SCRIPTS_BRANCH'
41 default: 'master'
42 - string:
43 name: 'GERRIT_REFSPEC'
44 default: 'refs/heads/master'
45 description: |
46 For use when triggering with unmerged Gerrit changes.
47 - string:
48 name: 'GERRIT_BRANCH'
49 default: 'master'
50 description: |
51 For use when triggering with unmerged Gerrit changes.
52 - string:
53 name: 'GERRIT_HOST'
54 description: |
55 For use when triggering with unmerged Gerrit changes.
56 - string:
57 name: 'GERRIT_CHANGE_NUMBER'
58 description: |
59 For use when triggering with unmerged Gerrit changes.
60 - string:
61 name: 'GERRIT_PATCHSET_REVISION'
62 description: |
63 For use when triggering with unmerged Gerrit changes.
64 - string:
65 name: 'MBEDTLS_VERSION'
Antonio de Angelis20c04402022-07-16 00:01:05 +010066 default: 'mbedtls-3.2.1'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080067 - string:
68 name: 'MBEDTLS_URL'
69 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
70 - string:
71 name: 'LAVA_URL'
72 default: 'https://tf.validation.linaro.org'
73 - string:
74 name: 'CODE_COVERAGE_EN'
75 default: 'FALSE'
76 - string:
77 name: 'LAVA_CREDENTIALS'
78 default: 'LAVA_CREDENTIALS'
79 description: "Name of Jenkins credential for authentication with LAVA."
80 - string:
81 name: 'EMAIL_NOTIFICATION'
Xinyu Zhang15ff6722021-11-15 15:07:07 +080082 default: 'xinyu.zhang@arm.com'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080083 - string:
84 name: 'SQUAD_CONFIGURATIONS'
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080085 default: 'disabled'
86 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080087 - string:
88 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080089 default: 'v1.9.0'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080090 description: |
91 Specify which MCUboot version to use
92 refs/heads/master : Pick up latest master
93 refs/tags/<TAG_NAME> : Pick up a tagged version
94 - string:
95 name: 'MCUBOOT_URL'
96 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
97 - string:
Bence Balogh57445b72022-10-14 17:48:09 +020098 name: 'TFM_EXTRAS_URL'
99 default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git'
100 - string:
101 name: 'TFM_EXTRAS_REFSPEC'
102 default: 'refs/heads/master'
103 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800104 name: 'TFM_TESTS_URL'
105 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
106 - string:
107 name: 'TFM_TESTS_REFSPEC'
108 default: 'refs/heads/master'
109 - string:
110 name: 'PSA_ARCH_TESTS_URL'
111 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
112 - string:
113 name: 'PSA_ARCH_TESTS_VERSION'
Summer8858e3e2022-11-15 10:40:04 +0800114 default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800115 - string:
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800116 name: 'QCBOR_URL'
117 default: 'https://github.com/laurencelundblade/QCBOR.git'
118 - string:
119 name: 'QCBOR_VERSION'
120 default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff'
121 - string:
Bence Balogh57445b72022-10-14 17:48:09 +0200122 name: 'FREERTOS_KERNEL_URL'
123 default: 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git'
124 - string:
125 name: 'FREERTOS_KERNEL_REFSPEC'
126 default: 'refs/heads/main'
127 - string:
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +0800128 name: SHARE_FOLDER
129 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
130 description: 'Folder containing shared repositories for downstream pipeline jobs'
131 wrappers:
132 - timestamps
133 pipeline-scm:
134 scm:
135 - git:
136 url: '$CI_SCRIPTS_REPO'
137 branches:
138 - '$CI_SCRIPTS_BRANCH'
139 credentials-id: GIT_SSH_KEY
140 wipe-workspace: false
141 script-path: jenkins/ci.jpl