Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 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: |
| 20 | - timed: 'H 16 * * *' |
| 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' |
| 36 | - string: |
| 37 | name: 'GERRIT_REFSPEC' |
| 38 | default: 'refs/heads/main' |
| 39 | description: | |
| 40 | Specify which TF-M version to use |
| 41 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 42 | TAG_NAME : Pick up a tagged version |
| 43 | full commit hash : Pick up a specific commit |
| 44 | - string: |
| 45 | name: 'GERRIT_BRANCH' |
| 46 | default: 'main' |
| 47 | description: | |
| 48 | TF-M branch. |
| 49 | - string: |
| 50 | name: 'GERRIT_HOST' |
| 51 | description: | |
| 52 | No need to change. |
| 53 | - string: |
| 54 | name: 'GERRIT_CHANGE_NUMBER' |
| 55 | description: | |
| 56 | No need to change. |
| 57 | - string: |
| 58 | name: 'GERRIT_PATCHSET_REVISION' |
| 59 | description: | |
| 60 | No need to change. |
| 61 | - string: |
| 62 | name: 'MBEDTLS_VERSION' |
| 63 | default: '' |
| 64 | description: | |
| 65 | Specify which MBEDTLS version to use |
| 66 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 67 | TAG_NAME : Pick up a tagged version |
| 68 | full commit hash : Pick up a specific commit |
| 69 | - string: |
| 70 | name: 'MBEDTLS_URL' |
| 71 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 72 | - string: |
| 73 | name: 'LAVA_URL' |
| 74 | default: 'https://tf.validation.linaro.org' |
| 75 | - string: |
| 76 | name: 'CODE_COVERAGE_EN' |
| 77 | default: 'FALSE' |
| 78 | - string: |
| 79 | name: 'LAVA_CREDENTIALS' |
| 80 | default: 'LAVA_CREDENTIALS' |
| 81 | description: "Name of Jenkins credential for authentication with LAVA." |
| 82 | - string: |
| 83 | name: 'MCUBOOT_REFSPEC' |
| 84 | default: '' |
| 85 | description: | |
| 86 | Specify which MCUboot version to use |
| 87 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 88 | TAG_NAME : Pick up a tagged version |
| 89 | full commit hash : Pick up a specific commit |
| 90 | - string: |
| 91 | name: 'MCUBOOT_URL' |
| 92 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 93 | - string: |
| 94 | name: 'TFM_TESTS_URL' |
| 95 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 96 | - string: |
| 97 | name: 'TFM_TESTS_REFSPEC' |
| 98 | default: '' |
| 99 | description: | |
| 100 | Specify which tf-m-tests version to use |
| 101 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 102 | TAG_NAME : Pick up a tagged version |
| 103 | full commit hash : Pick up a specific commit |
| 104 | - string: |
| 105 | name: 'TFM_TOOLS_URL' |
| 106 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tools.git' |
| 107 | - string: |
| 108 | name: 'TFM_TOOLS_REFSPEC' |
| 109 | default: '' |
| 110 | description: | |
| 111 | Specify which tf-m-tools version to use |
| 112 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 113 | TAG_NAME : Pick up a tagged version |
| 114 | full commit hash : Pick up a specific commit |
| 115 | - string: |
Jianliang Shen | dab9786 | 2023-10-18 17:42:39 +0800 | [diff] [blame] | 116 | name: 'PSA_ARCH_TESTS_URL' |
| 117 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 118 | - string: |
| 119 | name: 'PSA_ARCH_TESTS_VERSION' |
| 120 | default: '' |
| 121 | description: | |
| 122 | Specify which psa-arch-tests version to use |
| 123 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 124 | TAG_NAME : Pick up a tagged version |
| 125 | full commit hash : Pick up a specific commit |
| 126 | - string: |
Jianliang Shen | 60dd3bd | 2023-10-16 13:44:06 +0800 | [diff] [blame] | 127 | name: 'QCBOR_URL' |
| 128 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 129 | - string: |
| 130 | name: 'QCBOR_VERSION' |
| 131 | default: '' |
| 132 | description: | |
| 133 | Specify which QCBOR version to use |
| 134 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 135 | TAG_NAME : Pick up a tagged version |
| 136 | full commit hash : Pick up a specific commit |
| 137 | - string: |
| 138 | name: SHARE_FOLDER |
| 139 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 140 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 141 | - string: |
| 142 | name: 'DEVICE_FILTER' |
| 143 | default: '--physical-board-only' |
| 144 | description: | |
| 145 | Parameter to lava_create_jobs.py to filter by device type (e.g. --fvp-only or --physical-board-only) |
| 146 | wrappers: |
| 147 | - timestamps |
| 148 | pipeline-scm: |
| 149 | scm: |
| 150 | - git: |
| 151 | url: '$CI_SCRIPTS_REPO' |
| 152 | branches: |
| 153 | - '$CI_SCRIPTS_BRANCH' |
| 154 | credentials-id: GIT_SSH_KEY |
| 155 | wipe-workspace: false |
| 156 | script-path: jenkins/ci.jpl |