blob: 434a5746a1e51221df525ddeed117de255d17e4a [file] [log] [blame]
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2021, Arm Limited. All rights reserved.
3#
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
19 - authorization:
20 !include: authorization.yaml.inc
Xinyu Zhang15ff6722021-11-15 15:07:07 +080021 triggers:
22 - timed: 'H 21 * * *'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080023 parameters:
24 - string:
25 name: 'FILTER_GROUP'
26 default: 'arm_corstone1000 cypress_psoc64 laird_bl5340 nordic_nrf5340dk nordic_nrf9160dk nxp_lpcxpresso55s69 stm_b_u585i_iot02a stm_nucleo_l552ze_q stm_stm32l562e_dk'
27 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'
32 description: |
33 Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
34 - 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: |
44 For use when triggering with unmerged Gerrit changes.
45 - string:
46 name: 'GERRIT_BRANCH'
47 default: 'master'
48 description: |
49 For use when triggering with unmerged Gerrit changes.
50 - string:
51 name: 'GERRIT_HOST'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_CHANGE_NUMBER'
56 description: |
57 For use when triggering with unmerged Gerrit changes.
58 - string:
59 name: 'GERRIT_PATCHSET_REVISION'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
63 name: 'MBEDTLS_VERSION'
64 default: 'mbedtls-3.0.0'
65 - string:
66 name: 'MBEDTLS_URL'
67 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
68 - string:
69 name: 'LAVA_URL'
70 default: 'https://tf.validation.linaro.org'
71 - string:
72 name: 'CODE_COVERAGE_EN'
73 default: 'FALSE'
74 - string:
75 name: 'LAVA_CREDENTIALS'
76 default: 'LAVA_CREDENTIALS'
77 description: "Name of Jenkins credential for authentication with LAVA."
78 - string:
79 name: 'EMAIL_NOTIFICATION'
Xinyu Zhang15ff6722021-11-15 15:07:07 +080080 default: 'xinyu.zhang@arm.com'
Xinyu Zhanga1d6aaf2021-11-15 15:03:05 +080081 - string:
82 name: 'SQUAD_CONFIGURATIONS'
83 default: ''
84 description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
85 - string:
86 name: 'MCUBOOT_REFSPEC'
87 default: 'v1.8.0'
88 description: |
89 Specify which MCUboot version to use
90 refs/heads/master : Pick up latest master
91 refs/tags/<TAG_NAME> : Pick up a tagged version
92 - string:
93 name: 'MCUBOOT_URL'
94 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
95 - string:
96 name: 'TFM_TESTS_URL'
97 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
98 - string:
99 name: 'TFM_TESTS_REFSPEC'
100 default: 'refs/heads/master'
101 - string:
102 name: 'PSA_ARCH_TESTS_URL'
103 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
104 - string:
105 name: 'PSA_ARCH_TESTS_VERSION'
106 default: 'v21.10_API1.3_ADAC_ALPHA-1'
107 - string:
108 name: SHARE_FOLDER
109 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
110 description: 'Folder containing shared repositories for downstream pipeline jobs'
111 wrappers:
112 - timestamps
113 pipeline-scm:
114 scm:
115 - git:
116 url: '$CI_SCRIPTS_REPO'
117 branches:
118 - '$CI_SCRIPTS_BRANCH'
119 credentials-id: GIT_SSH_KEY
120 wipe-workspace: false
121 script-path: jenkins/ci.jpl