blob: 2402e6239d0cd2afdfd6bfdff6a9aea078dda25e [file] [log] [blame]
Karl Zhang4bd626c2020-06-23 10:17:32 +08001#-------------------------------------------------------------------------------
Gergely Korcsák6235e902024-04-10 14:33:09 +02002# Copyright (c) 2020-2024, Arm Limited. All rights reserved.
Karl Zhang4bd626c2020-06-23 10:17:32 +08003#
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 Zhangb7074d52022-08-16 16:29:00 +080015 triggers:
16 - timed: 'H 0 8-14,22-28 * 0'
Karl Zhang4bd626c2020-06-23 10:17:32 +080017 properties:
18 - build-discarder:
Xinyu Zhangb7074d52022-08-16 16:29:00 +080019 days-to-keep: 30
Paul Sokolovsky67c26522024-04-29 12:36:28 +070020 num-to-keep: 20
Karl Zhang4bd626c2020-06-23 10:17:32 +080021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
David Hue9b0dd72022-11-17 11:12:26 +080024 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 Balogh0da3dd92023-08-29 13:32:41 +020026 release_ipc_backend release_nsce release_mmio release_cs300_an547 release_cs300_an552 \
Gergely Korcsák6235e902024-04-10 14:33:09 +020027 release_cs300_fvp release_corstone310 release_corstone315 release_rse release_psoc64 \
Arthur Shec55cea22024-02-07 14:17:34 -080028 release_lpcxpresso55s69 release_b_u585i_iot02a release_stm32h573i_dk"
Karl Zhang4bd626c2020-06-23 10:17:32 +080029 description: |
30 Filter to a group of configurations as recognised by configs.py
31 - string:
32 name: 'CODE_REPO'
Paul Sokolovsky58f12642024-04-25 22:57:09 +070033 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Karl Zhang4bd626c2020-06-23 10:17:32 +080034 - string:
35 name: 'CI_SCRIPTS_REPO'
Paul Sokolovsky58f12642024-04-25 22:57:09 +070036 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang4bd626c2020-06-23 10:17:32 +080037 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010038 name: 'CI_SCRIPTS_BRANCH'
Xinyu Zhange1569332023-11-29 10:46:46 +080039 default: 'master'
Fathi Boudraccaba542020-11-19 10:11:43 +010040 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080041 name: 'GERRIT_REFSPEC'
Xinyu Zhange1569332023-11-29 10:46:46 +080042 default: 'refs/heads/main'
Karl Zhang4bd626c2020-06-23 10:17:32 +080043 description: |
Xinyu Zhang8450cc92023-09-21 16:46:13 +080044 For use when triggering with specified tag or master 'refs/heads/main' or 'refs/tags/TF-Mv1.0'.
Karl Zhang4bd626c2020-06-23 10:17:32 +080045 - string:
46 name: 'GERRIT_BRANCH'
Xinyu Zhange1569332023-11-29 10:46:46 +080047 default: 'main'
Karl Zhang4bd626c2020-06-23 10:17:32 +080048 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080049 TF-M branch.
Karl Zhang4bd626c2020-06-23 10:17:32 +080050 - string:
51 name: 'GERRIT_HOST'
52 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080053 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080054 - string:
55 name: 'GERRIT_CHANGE_NUMBER'
56 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080057 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080058 - string:
59 name: 'GERRIT_PATCHSET_REVISION'
60 description: |
Xinyu Zhang8926ad32023-02-15 14:43:38 +080061 No need to change.
Karl Zhang4bd626c2020-06-23 10:17:32 +080062 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080063 name: 'MBEDTLS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +080064 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +080065 description: |
66 Specify which MBEDTLS version to use
67 refs/heads/<branch_name> : Pick up latest HEAD on branch
68 TAG_NAME : Pick up a tagged version
69 full commit hash : Pick up a specific commit
Karl Zhang85c2d7a2020-08-20 11:17:58 +080070 - string:
71 name: 'MBEDTLS_URL'
72 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
73 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080074 name: 'LAVA_URL'
75 default: 'https://tf.validation.linaro.org'
76 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080077 name: 'CODE_COVERAGE_EN'
78 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010079 - string:
80 name: 'LAVA_CREDENTIALS'
81 default: 'LAVA_CREDENTIALS'
82 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050083 - string:
Matthew Dalzell839505e2024-05-21 15:20:30 +010084 name: 'EMAIL_NOTIFICATION'
85 default: 'matthew.dalzell@arm.com, anton.komlev@arm.com, antonio.deangelis@arm.com'
86 description: |
87 Send email notification when test failed.
88 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -050089 name: 'MCUBOOT_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +080090 default: ''
Leonardo Sandoval4a024212021-09-17 14:05:27 -050091 description: |
92 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080093 refs/heads/<branch_name> : Pick up latest HEAD on branch
94 TAG_NAME : Pick up a tagged version
95 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -050096 - string:
97 name: 'MCUBOOT_URL'
98 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
99 - string:
100 name: 'TFM_TESTS_URL'
101 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
102 - string:
103 name: 'TFM_TESTS_REFSPEC'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800104 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800105 description: |
106 Specify which tf-m-tests version to use
107 refs/heads/<branch_name> : Pick up latest HEAD on branch
108 TAG_NAME : Pick up a tagged version
109 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500110 - string:
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800111 name: 'TFM_EXTRAS_URL'
Paul Sokolovsky1f7ce522024-04-26 18:25:28 +0700112 default: 'https://review.trustedfirmware.org/TF-M/tf-m-extras.git'
Xinyu Zhang9dd88422023-07-03 11:02:21 +0800113 - string:
114 name: 'TFM_EXTRAS_REFSPEC'
115 default: ''
116 description: |
117 Specify which tf-m-extras 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
121 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500122 name: 'PSA_ARCH_TESTS_URL'
123 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
124 - string:
125 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800126 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800127 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 Zhang79e1aa12022-11-23 17:50:21 +0800132 - string:
133 name: 'QCBOR_URL'
134 default: 'https://github.com/laurencelundblade/QCBOR.git'
135 - string:
136 name: 'QCBOR_VERSION'
Xinyu Zhang004f3422023-06-27 12:02:31 +0800137 default: ''
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800138 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
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500143 - string:
144 name: SHARE_FOLDER
145 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
146 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800147 wrappers:
148 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800149 pipeline-scm:
150 scm:
151 - git:
152 url: '$CI_SCRIPTS_REPO'
153 branches:
154 - '$CI_SCRIPTS_BRANCH'
155 credentials-id: GIT_SSH_KEY
156 wipe-workspace: false
157 script-path: jenkins/ci.jpl