Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
David Vincze | fcb6bb2 | 2025-01-10 17:32:24 +0000 | [diff] [blame] | 2 | # Copyright (c) 2023-2025, Arm Limited. All rights reserved. |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 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 Dalzell | 69b20c7 | 2024-07-11 10:36:42 +0100 | [diff] [blame] | 20 | - timed: 'H 23 * * *' |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 21 | 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 Sokolovsky | fbb0d13 | 2024-07-12 20:20:03 +0300 | [diff] [blame] | 36 | description: | |
| 37 | Branch of CI_SCRIPTS_REPO to use; also accepts Gerrit patch refspec like 'refs/changes/98/29798/1' |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 38 | - 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: |
Matthew Dalzell | dca58c7 | 2025-05-16 17:39:01 +0100 | [diff] [blame] | 107 | name: 'TFM_EXTRAS_URL' |
| 108 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 109 | - string: |
| 110 | name: 'TFM_EXTRAS_REFSPEC' |
| 111 | default: '' |
| 112 | description: | |
| 113 | Specify which tf-m-extras 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 Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 118 | name: 'TFM_TOOLS_URL' |
| 119 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tools.git' |
| 120 | - string: |
| 121 | name: 'TFM_TOOLS_REFSPEC' |
| 122 | default: '' |
| 123 | description: | |
| 124 | Specify which tf-m-tools 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 Shen | dab9786 | 2023-10-18 17:42:39 +0800 | [diff] [blame] | 129 | name: 'PSA_ARCH_TESTS_URL' |
| 130 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 131 | - string: |
| 132 | name: 'PSA_ARCH_TESTS_VERSION' |
| 133 | default: '' |
| 134 | description: | |
| 135 | Specify which psa-arch-tests 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: |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 140 | name: 'QCBOR_URL' |
| 141 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 142 | - string: |
| 143 | name: 'QCBOR_VERSION' |
| 144 | default: '' |
| 145 | description: | |
| 146 | Specify which QCBOR version to use |
| 147 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 148 | TAG_NAME : Pick up a tagged version |
| 149 | full commit hash : Pick up a specific commit |
| 150 | - string: |
David Vincze | fcb6bb2 | 2025-01-10 17:32:24 +0000 | [diff] [blame] | 151 | name: 'T_COSE_URL' |
| 152 | default: 'https://github.com/laurencelundblade/t_cose.git' |
| 153 | - string: |
| 154 | name: 'T_COSE_VERSION' |
| 155 | default: '' |
| 156 | description: | |
| 157 | Specify which t_cose version to use |
| 158 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 159 | TAG_NAME : Pick up a tagged version |
| 160 | full commit hash : Pick up a specific commit |
| 161 | - string: |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 162 | name: SHARE_FOLDER |
| 163 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 164 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 165 | - string: |
| 166 | name: 'DEVICE_FILTER' |
| 167 | default: '--physical-board-only' |
| 168 | description: | |
| 169 | Parameter to lava_create_jobs.py to filter by device type (e.g. --fvp-only or --physical-board-only) |
Paul Sokolovsky | 9ac08a0 | 2024-03-31 00:33:02 +0700 | [diff] [blame] | 170 | - string: |
| 171 | name: USE_TUXSUITE_FVP |
| 172 | default: 1 |
| 173 | description: | |
| 174 | Whether to submit FVP tests via TuxSuite (instead of LAVA) |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 175 | wrappers: |
| 176 | - timestamps |
| 177 | pipeline-scm: |
| 178 | scm: |
| 179 | - git: |
| 180 | url: '$CI_SCRIPTS_REPO' |
| 181 | branches: |
| 182 | - '$CI_SCRIPTS_BRANCH' |
Paul Sokolovsky | 60a13ac | 2024-07-05 11:52:04 +0300 | [diff] [blame] | 183 | refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*' |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 184 | credentials-id: GIT_SSH_KEY |
| 185 | wipe-workspace: false |
| 186 | script-path: jenkins/ci.jpl |