Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
David Vincze | 16a9dac | 2023-01-06 15:16:47 +0100 | [diff] [blame] | 2 | # Copyright (c) 2021-2023, Arm Limited. All rights reserved. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-extra-build |
Xinyu Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 10 | description: 'Build extra configurations nightly.' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 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 Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 19 | triggers: |
| 20 | - timed: 'H 21 * * *' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 21 | parameters: |
| 22 | - string: |
| 23 | name: 'FILTER_GROUP' |
Jamie Fox | 55649c2 | 2022-09-09 14:32:01 +0100 | [diff] [blame] | 24 | default: "an524 an547 an552 corstone310 rss cypress_psoc64 \ |
Xinyu Zhang | e511544 | 2022-10-26 14:49:58 +0800 | [diff] [blame] | 25 | corstone1000 stm_stm32l562e_dk \ |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 26 | stm_nucleo_l552ze_q nxp_lpcxpresso55s69 \ |
| 27 | example_vad example_dma350_trigger example_dma350_ns \ |
| 28 | example_dma350_s" |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 29 | description: | |
| 30 | Filter to a group of configurations as recognised by configs.py |
| 31 | - string: |
| 32 | name: 'CODE_REPO' |
| 33 | default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 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: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 44 | Specify which TF-M version to use |
| 45 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 46 | TAG_NAME : Pick up a tagged version |
| 47 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 48 | - string: |
| 49 | name: 'GERRIT_BRANCH' |
| 50 | default: 'master' |
| 51 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 52 | TF-M branch. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 53 | - string: |
| 54 | name: 'GERRIT_HOST' |
| 55 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 56 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 57 | - string: |
| 58 | name: 'GERRIT_CHANGE_NUMBER' |
| 59 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 60 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 61 | - string: |
| 62 | name: 'GERRIT_PATCHSET_REVISION' |
| 63 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 64 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 65 | - string: |
| 66 | name: 'MBEDTLS_VERSION' |
Summer Qin | 8d6aae0 | 2023-01-20 11:15:51 +0800 | [diff] [blame] | 67 | default: 'mbedtls-3.3.0' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 68 | description: | |
| 69 | Specify which MBEDTLS version to use |
| 70 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 71 | TAG_NAME : Pick up a tagged version |
| 72 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 73 | - string: |
| 74 | name: 'MBEDTLS_URL' |
| 75 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 76 | - string: |
| 77 | name: 'LAVA_URL' |
| 78 | default: 'https://tf.validation.linaro.org' |
| 79 | - string: |
| 80 | name: 'CODE_COVERAGE_EN' |
| 81 | default: 'FALSE' |
| 82 | - string: |
| 83 | name: 'LAVA_CREDENTIALS' |
| 84 | default: 'LAVA_CREDENTIALS' |
| 85 | description: "Name of Jenkins credential for authentication with LAVA." |
| 86 | - string: |
| 87 | name: 'EMAIL_NOTIFICATION' |
Xinyu Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 88 | default: 'xinyu.zhang@arm.com' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 89 | - string: |
| 90 | name: 'SQUAD_CONFIGURATIONS' |
Xinyu Zhang | 1a4d110 | 2022-10-18 17:39:01 +0800 | [diff] [blame] | 91 | default: 'disabled' |
| 92 | description: 'Send metrics of reference configurations to a SQUAD Dashboard' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 93 | - string: |
| 94 | name: 'MCUBOOT_REFSPEC' |
Sherry Zhang | 10ffcca | 2022-03-03 11:38:23 +0800 | [diff] [blame] | 95 | default: 'v1.9.0' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 96 | description: | |
| 97 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 98 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 99 | TAG_NAME : Pick up a tagged version |
| 100 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 101 | - string: |
| 102 | name: 'MCUBOOT_URL' |
| 103 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 104 | - string: |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 105 | name: 'TFM_EXTRAS_URL' |
| 106 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 107 | - string: |
| 108 | name: 'TFM_EXTRAS_REFSPEC' |
| 109 | default: 'refs/heads/master' |
| 110 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 111 | name: 'TFM_TESTS_URL' |
| 112 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 113 | - string: |
| 114 | name: 'TFM_TESTS_REFSPEC' |
| 115 | default: 'refs/heads/master' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 116 | description: | |
| 117 | Specify which tf-m-tests version to use |
| 118 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 119 | TAG_NAME : Pick up a tagged version |
| 120 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 121 | - string: |
| 122 | name: 'PSA_ARCH_TESTS_URL' |
| 123 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 124 | - string: |
| 125 | name: 'PSA_ARCH_TESTS_VERSION' |
Summer | 8858e3e | 2022-11-15 10:40:04 +0800 | [diff] [blame] | 126 | default: 'cf8bd7191219df9bdef387abcd750f0709283f98' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 127 | description: | |
| 128 | Specify which psa-arch-tests version to use |
| 129 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 130 | TAG_NAME : Pick up a tagged version |
| 131 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 132 | - string: |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 133 | name: 'QCBOR_URL' |
| 134 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 135 | - string: |
| 136 | name: 'QCBOR_VERSION' |
David Vincze | 16a9dac | 2023-01-06 15:16:47 +0100 | [diff] [blame] | 137 | default: '92d3f89030baff4af7be8396c563e6c8ef263622' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame^] | 138 | description: | |
| 139 | Specify which QCBOR version to use |
| 140 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 141 | TAG_NAME : Pick up a tagged version |
| 142 | full commit hash : Pick up a specific commit |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 143 | - string: |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 144 | name: 'FREERTOS_KERNEL_URL' |
| 145 | default: 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git' |
| 146 | - string: |
| 147 | name: 'FREERTOS_KERNEL_REFSPEC' |
| 148 | default: 'refs/heads/main' |
| 149 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 150 | name: SHARE_FOLDER |
| 151 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 152 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 153 | wrappers: |
| 154 | - timestamps |
| 155 | pipeline-scm: |
| 156 | scm: |
| 157 | - git: |
| 158 | url: '$CI_SCRIPTS_REPO' |
| 159 | branches: |
| 160 | - '$CI_SCRIPTS_BRANCH' |
| 161 | credentials-id: GIT_SSH_KEY |
| 162 | wipe-workspace: false |
| 163 | script-path: jenkins/ci.jpl |