Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
David Vincze | fcb6bb2 | 2025-01-10 17:32:24 +0000 | [diff] [blame] | 2 | # Copyright (c) 2020-2025, Arm Limited. All rights reserved. |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-release |
| 10 | description: 'Build that triggers manually to build many configurations for release.' |
| 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
Xinyu Zhang | b7074d5 | 2022-08-16 16:29:00 +0800 | [diff] [blame] | 15 | triggers: |
Matthew Dalzell | 69b20c7 | 2024-07-11 10:36:42 +0100 | [diff] [blame] | 16 | - timed: 'H 7 8-14,22-28 * 0' |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 17 | properties: |
| 18 | - build-discarder: |
Xinyu Zhang | b7074d5 | 2022-08-16 16:29:00 +0800 | [diff] [blame] | 19 | days-to-keep: 30 |
Paul Sokolovsky | 67c2652 | 2024-04-29 12:36:28 +0700 | [diff] [blame] | 20 | num-to-keep: 20 |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 21 | parameters: |
| 22 | - string: |
| 23 | name: 'FILTER_GROUP' |
David Hu | e9b0dd7 | 2022-11-17 11:12:26 +0800 | [diff] [blame] | 24 | default: "release_test release_profile_s release_profile_m release_profile_m_arotless \ |
| 25 | release_profile_l release_cc_driver_psa release_fp release_psa_api \ |
Bence Balogh | 0da3dd9 | 2023-08-29 13:32:41 +0200 | [diff] [blame] | 26 | release_ipc_backend release_nsce release_mmio release_cs300_an547 release_cs300_an552 \ |
Gergely Korcsák | 7779920 | 2024-08-05 07:47:37 +0200 | [diff] [blame] | 27 | release_cs300_fvp release_corstone310 release_corstone315 release_corstone320 \ |
Antonio de Angelis | 05d9ef5 | 2025-02-06 11:39:01 +0000 | [diff] [blame] | 28 | release_rse_tc4 release_psoc64 \ |
Arthur She | c55cea2 | 2024-02-07 14:17:34 -0800 | [diff] [blame] | 29 | release_lpcxpresso55s69 release_b_u585i_iot02a release_stm32h573i_dk" |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 30 | description: | |
| 31 | Filter to a group of configurations as recognised by configs.py |
| 32 | - string: |
| 33 | name: 'CODE_REPO' |
Paul Sokolovsky | 58f1264 | 2024-04-25 22:57:09 +0700 | [diff] [blame] | 34 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 35 | - string: |
| 36 | name: 'CI_SCRIPTS_REPO' |
Paul Sokolovsky | 58f1264 | 2024-04-25 22:57:09 +0700 | [diff] [blame] | 37 | default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts' |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 38 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 39 | name: 'CI_SCRIPTS_BRANCH' |
Xinyu Zhang | e156933 | 2023-11-29 10:46:46 +0800 | [diff] [blame] | 40 | default: 'master' |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 41 | - string: |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 42 | name: 'GERRIT_REFSPEC' |
Xinyu Zhang | e156933 | 2023-11-29 10:46:46 +0800 | [diff] [blame] | 43 | default: 'refs/heads/main' |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 44 | description: | |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 45 | For use when triggering with specified tag or master 'refs/heads/main' or 'refs/tags/TF-Mv1.0'. |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 46 | - string: |
| 47 | name: 'GERRIT_BRANCH' |
Xinyu Zhang | e156933 | 2023-11-29 10:46:46 +0800 | [diff] [blame] | 48 | default: 'main' |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 49 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 50 | TF-M branch. |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +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. |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +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. |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +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. |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 63 | - string: |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 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 |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 71 | - string: |
| 72 | name: 'MBEDTLS_URL' |
| 73 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 74 | - string: |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 75 | name: 'LAVA_URL' |
| 76 | default: 'https://tf.validation.linaro.org' |
| 77 | - string: |
Karl Zhang | 68a81b4 | 2020-07-24 18:38:08 +0800 | [diff] [blame] | 78 | name: 'CODE_COVERAGE_EN' |
| 79 | default: 'FALSE' |
Dean Birch | c4d4d67 | 2020-08-12 10:38:58 +0100 | [diff] [blame] | 80 | - string: |
| 81 | name: 'LAVA_CREDENTIALS' |
| 82 | default: 'LAVA_CREDENTIALS' |
| 83 | description: "Name of Jenkins credential for authentication with LAVA." |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 84 | - string: |
Matthew Dalzell | 839505e | 2024-05-21 15:20:30 +0100 | [diff] [blame] | 85 | name: 'EMAIL_NOTIFICATION' |
| 86 | default: 'matthew.dalzell@arm.com, anton.komlev@arm.com, antonio.deangelis@arm.com' |
| 87 | description: | |
| 88 | Send email notification when test failed. |
| 89 | - string: |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 90 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 91 | default: '' |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 92 | description: | |
| 93 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 94 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 95 | TAG_NAME : Pick up a tagged version |
| 96 | full commit hash : Pick up a specific commit |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 97 | - string: |
| 98 | name: 'MCUBOOT_URL' |
| 99 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 100 | - string: |
| 101 | name: 'TFM_TESTS_URL' |
| 102 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 103 | - string: |
| 104 | name: 'TFM_TESTS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 105 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 106 | description: | |
| 107 | Specify which tf-m-tests version to use |
| 108 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 109 | TAG_NAME : Pick up a tagged version |
| 110 | full commit hash : Pick up a specific commit |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 111 | - string: |
Xinyu Zhang | 9dd8842 | 2023-07-03 11:02:21 +0800 | [diff] [blame] | 112 | name: 'TFM_EXTRAS_URL' |
Paul Sokolovsky | 1f7ce52 | 2024-04-26 18:25:28 +0700 | [diff] [blame] | 113 | default: 'https://review.trustedfirmware.org/TF-M/tf-m-extras.git' |
Xinyu Zhang | 9dd8842 | 2023-07-03 11:02:21 +0800 | [diff] [blame] | 114 | - string: |
| 115 | name: 'TFM_EXTRAS_REFSPEC' |
| 116 | default: '' |
| 117 | description: | |
| 118 | Specify which tf-m-extras version to use |
| 119 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 120 | TAG_NAME : Pick up a tagged version |
| 121 | full commit hash : Pick up a specific commit |
| 122 | - string: |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 123 | name: 'PSA_ARCH_TESTS_URL' |
| 124 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 125 | - string: |
| 126 | name: 'PSA_ARCH_TESTS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 127 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 128 | description: | |
| 129 | Specify which psa-arch-tests version to use |
| 130 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 131 | TAG_NAME : Pick up a tagged version |
| 132 | full commit hash : Pick up a specific commit |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 133 | - string: |
| 134 | name: 'QCBOR_URL' |
| 135 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 136 | - string: |
| 137 | name: 'QCBOR_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 138 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 139 | description: | |
| 140 | Specify which QCBOR version to use |
| 141 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 142 | TAG_NAME : Pick up a tagged version |
| 143 | full commit hash : Pick up a specific commit |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 144 | - string: |
David Vincze | fcb6bb2 | 2025-01-10 17:32:24 +0000 | [diff] [blame] | 145 | name: 'T_COSE_URL' |
| 146 | default: 'https://github.com/laurencelundblade/t_cose.git' |
| 147 | - string: |
| 148 | name: 'T_COSE_VERSION' |
| 149 | default: '' |
| 150 | description: | |
| 151 | Specify which t_cose version to use |
| 152 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 153 | TAG_NAME : Pick up a tagged version |
| 154 | full commit hash : Pick up a specific commit |
| 155 | - string: |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 156 | name: SHARE_FOLDER |
| 157 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 158 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
Xinyu Zhang | 59f7fee | 2021-05-21 14:04:11 +0800 | [diff] [blame] | 159 | wrappers: |
| 160 | - timestamps |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 161 | pipeline-scm: |
| 162 | scm: |
| 163 | - git: |
| 164 | url: '$CI_SCRIPTS_REPO' |
| 165 | branches: |
| 166 | - '$CI_SCRIPTS_BRANCH' |
Paul Sokolovsky | 60a13ac | 2024-07-05 11:52:04 +0300 | [diff] [blame] | 167 | refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/remotes/origin/refs/changes/*' |
Karl Zhang | 4bd626c | 2020-06-23 10:17:32 +0800 | [diff] [blame] | 168 | credentials-id: GIT_SSH_KEY |
| 169 | wipe-workspace: false |
| 170 | script-path: jenkins/ci.jpl |