blob: 4160ff8fb3e3823daa0cfe8ee21f7fef2b3ce73b [file] [log] [blame]
Jianliang Shen60dd3bd2023-10-16 13:44:06 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2023, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-nightly-performance
10 description: 'TF-M Profiling and Memory Footprint'
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
19 triggers:
Matthew Dalzell69b20c72024-07-11 10:36:42 +010020 - timed: 'H 23 * * *'
Jianliang Shen60dd3bd2023-10-16 13:44:06 +080021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
24 default: "profiling mem_footprint"
25 description: |
26 Filter to a group of configurations as recognised by configs.py
27 - string:
28 name: 'CODE_REPO'
29 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
30 - string:
31 name: 'CI_SCRIPTS_REPO'
32 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
33 - string:
34 name: 'CI_SCRIPTS_BRANCH'
35 default: 'master'
Paul Sokolovskyfbb0d132024-07-12 20:20:03 +030036 description: |
37 Branch of CI_SCRIPTS_REPO to use; also accepts Gerrit patch refspec like 'refs/changes/98/29798/1'
Jianliang Shen60dd3bd2023-10-16 13:44:06 +080038 - string:
39 name: 'GERRIT_REFSPEC'
40 default: 'refs/heads/main'
41 description: |
42 Specify which TF-M version to use
43 refs/heads/<branch_name> : Pick up latest HEAD on branch
44 TAG_NAME : Pick up a tagged version
45 full commit hash : Pick up a specific commit
46 - string:
47 name: 'GERRIT_BRANCH'
48 default: 'main'
49 description: |
50 TF-M branch.
51 - string:
52 name: 'GERRIT_HOST'
53 description: |
54 No need to change.
55 - string:
56 name: 'GERRIT_CHANGE_NUMBER'
57 description: |
58 No need to change.
59 - string:
60 name: 'GERRIT_PATCHSET_REVISION'
61 description: |
62 No need to change.
63 - string:
64 name: 'MBEDTLS_VERSION'
65 default: ''
66 description: |
67 Specify which MBEDTLS version to use
68 refs/heads/<branch_name> : Pick up latest HEAD on branch
69 TAG_NAME : Pick up a tagged version
70 full commit hash : Pick up a specific commit
71 - string:
72 name: 'MBEDTLS_URL'
73 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
74 - string:
75 name: 'LAVA_URL'
76 default: 'https://tf.validation.linaro.org'
77 - string:
78 name: 'CODE_COVERAGE_EN'
79 default: 'FALSE'
80 - string:
81 name: 'LAVA_CREDENTIALS'
82 default: 'LAVA_CREDENTIALS'
83 description: "Name of Jenkins credential for authentication with LAVA."
84 - string:
85 name: 'MCUBOOT_REFSPEC'
86 default: ''
87 description: |
88 Specify which MCUboot version to use
89 refs/heads/<branch_name> : Pick up latest HEAD on branch
90 TAG_NAME : Pick up a tagged version
91 full commit hash : Pick up a specific commit
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: ''
101 description: |
102 Specify which tf-m-tests version to use
103 refs/heads/<branch_name> : Pick up latest HEAD on branch
104 TAG_NAME : Pick up a tagged version
105 full commit hash : Pick up a specific commit
106 - string:
107 name: 'TFM_TOOLS_URL'
108 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tools.git'
109 - string:
110 name: 'TFM_TOOLS_REFSPEC'
111 default: ''
112 description: |
113 Specify which tf-m-tools 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
117 - string:
Jianliang Shendab97862023-10-18 17:42:39 +0800118 name: 'PSA_ARCH_TESTS_URL'
119 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
120 - string:
121 name: 'PSA_ARCH_TESTS_VERSION'
122 default: ''
123 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
128 - string:
Jianliang Shen60dd3bd2023-10-16 13:44:06 +0800129 name: 'QCBOR_URL'
130 default: 'https://github.com/laurencelundblade/QCBOR.git'
131 - string:
132 name: 'QCBOR_VERSION'
133 default: ''
134 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
139 - string:
140 name: SHARE_FOLDER
141 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
142 description: 'Folder containing shared repositories for downstream pipeline jobs'
143 - string:
144 name: 'DEVICE_FILTER'
145 default: '--physical-board-only'
146 description: |
147 Parameter to lava_create_jobs.py to filter by device type (e.g. --fvp-only or --physical-board-only)
Paul Sokolovsky9ac08a02024-03-31 00:33:02 +0700148 - string:
149 name: USE_TUXSUITE_FVP
150 default: 1
151 description: |
152 Whether to submit FVP tests via TuxSuite (instead of LAVA)
Jianliang Shen60dd3bd2023-10-16 13:44:06 +0800153 wrappers:
154 - timestamps
155 pipeline-scm:
156 scm:
157 - git:
158 url: '$CI_SCRIPTS_REPO'
159 branches:
160 - '$CI_SCRIPTS_BRANCH'
Paul Sokolovsky60a13ac2024-07-05 11:52:04 +0300161 refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*'
Jianliang Shen60dd3bd2023-10-16 13:44:06 +0800162 credentials-id: GIT_SSH_KEY
163 wipe-workspace: false
164 script-path: jenkins/ci.jpl