blob: 46ddfd9cfdf648ec09a8dbcef8bc0d1f20e74951 [file] [log] [blame]
Xinyu Zhangaae3f472022-01-25 10:24:52 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2022, Arm Limited. All rights reserved.
3#
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 \
Xinyu Zhangea289122022-11-21 17:56:38 +080024 nightly_ipc_backend nightly_nsce nightly_mmio nightly_an547 nightly_an552 \
Jamie Fox55649c22022-09-09 14:32:01 +010025 nightly_corstone310 nightly_corstone1000 nightly_rss nightly_psoc64 \
Xinyu Zhang82a366c2022-04-11 18:18:59 +080026 nightly_stm32l562e_dk nightly_lpcxpresso55s69"
Xinyu Zhangaae3f472022-01-25 10:24:52 +080027 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'
Antonio de Angelis20c04402022-07-16 00:01:05 +010064 default: 'mbedtls-3.2.1'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080065 - 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: 'SQUAD_CONFIGURATIONS'
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080080 default: 'disabled'
81 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080082 - string:
83 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080084 default: 'v1.9.0'
Xinyu Zhangaae3f472022-01-25 10:24:52 +080085 description: |
86 Specify which MCUboot version to use
87 refs/heads/master : Pick up latest master
88 refs/tags/<TAG_NAME> : Pick up a tagged version
89 - string:
90 name: 'MCUBOOT_URL'
91 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
92 - string:
93 name: 'TFM_TESTS_URL'
94 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
95 - string:
96 name: 'TFM_TESTS_REFSPEC'
97 default: 'refs/heads/master'
98 - string:
99 name: 'PSA_ARCH_TESTS_URL'
100 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
101 - string:
102 name: 'PSA_ARCH_TESTS_VERSION'
Summer8858e3e2022-11-15 10:40:04 +0800103 default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800104 - string:
Xinyu Zhangb06443a2022-11-23 17:50:21 +0800105 name: 'QCBOR_URL'
106 default: 'https://github.com/laurencelundblade/QCBOR.git'
107 - string:
108 name: 'QCBOR_VERSION'
109 default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff'
110 - string:
Xinyu Zhangaae3f472022-01-25 10:24:52 +0800111 name: SHARE_FOLDER
112 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
113 description: 'Folder containing shared repositories for downstream pipeline jobs'
114 wrappers:
115 - timestamps
116 pipeline-scm:
117 scm:
118 - git:
119 url: '$CI_SCRIPTS_REPO'
120 branches:
121 - '$CI_SCRIPTS_BRANCH'
122 credentials-id: GIT_SSH_KEY
123 wipe-workspace: false
124 script-path: jenkins/ci.jpl