Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Bence Balogh | 17e47c2 | 2024-03-13 08:48:01 +0100 | [diff] [blame^] | 2 | # Copyright (c) 2021-2024, 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 | b11bc45 | 2024-02-19 15:14:47 +0000 | [diff] [blame] | 24 | default: "an524 cs300_an547 cs300_an552 corstone310 rse \ |
Anton Komlev | 74b7925 | 2024-02-12 15:09:24 +0100 | [diff] [blame] | 25 | cypress_psoc64 corstone1000 \ |
Bence Balogh | 17e47c2 | 2024-03-13 08:48:01 +0100 | [diff] [blame^] | 26 | stm_nucleo_l552ze_q stm_stm32h573i_dk nxp_lpcxpresso55s69" |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 27 | 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' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 32 | - string: |
| 33 | name: 'CI_SCRIPTS_REPO' |
| 34 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 35 | - string: |
| 36 | name: 'CI_SCRIPTS_BRANCH' |
| 37 | default: 'master' |
| 38 | - string: |
| 39 | name: 'GERRIT_REFSPEC' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 40 | default: 'refs/heads/main' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 41 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 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 |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 46 | - string: |
| 47 | name: 'GERRIT_BRANCH' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 48 | default: 'main' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 49 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 50 | TF-M branch. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 51 | - string: |
| 52 | name: 'GERRIT_HOST' |
| 53 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 54 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 55 | - string: |
| 56 | name: 'GERRIT_CHANGE_NUMBER' |
| 57 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 58 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 59 | - string: |
| 60 | name: 'GERRIT_PATCHSET_REVISION' |
| 61 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 62 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 63 | - string: |
| 64 | name: 'MBEDTLS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 65 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 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 |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 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: 'EMAIL_NOTIFICATION' |
Matthew Dalzell | 839505e | 2024-05-21 15:20:30 +0100 | [diff] [blame] | 86 | default: 'matthew.dalzell@arm.com' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 87 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 88 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 89 | default: '' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 90 | description: | |
| 91 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 92 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 93 | TAG_NAME : Pick up a tagged version |
| 94 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 95 | - string: |
| 96 | name: 'MCUBOOT_URL' |
| 97 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 98 | - string: |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 99 | name: 'TFM_EXTRAS_URL' |
| 100 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 101 | - string: |
| 102 | name: 'TFM_EXTRAS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 103 | default: '' |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 104 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 105 | name: 'TFM_TESTS_URL' |
| 106 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 107 | - string: |
| 108 | name: 'TFM_TESTS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 109 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 110 | description: | |
| 111 | Specify which tf-m-tests 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 |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 115 | - string: |
| 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' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 120 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 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 |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 126 | - string: |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 127 | name: 'QCBOR_URL' |
| 128 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 129 | - string: |
| 130 | name: 'QCBOR_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 131 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 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 |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 137 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 138 | name: SHARE_FOLDER |
| 139 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 140 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 141 | wrappers: |
| 142 | - timestamps |
| 143 | pipeline-scm: |
| 144 | scm: |
| 145 | - git: |
| 146 | url: '$CI_SCRIPTS_REPO' |
| 147 | branches: |
| 148 | - '$CI_SCRIPTS_BRANCH' |
| 149 | credentials-id: GIT_SSH_KEY |
| 150 | wipe-workspace: false |
| 151 | script-path: jenkins/ci.jpl |