blob: be910809c17c1253ca53c29b8d9d90a3a258ad3c [file] [log] [blame]
Karl Zhang4bd626c2020-06-23 10:17:32 +08001#-------------------------------------------------------------------------------
David Vincze16a9dac2023-01-06 15:16:47 +01002# Copyright (c) 2020-2023, 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
Karl Zhang4bd626c2020-06-23 10:17:32 +080020 num-to-keep: 3
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 \
Xinyu Zhangea289122022-11-21 17:56:38 +080026 release_ipc_backend release_nsce release_mmio release_an547 release_an552 \
Jamie Fox55649c22022-09-09 14:32:01 +010027 release_corstone310 release_rss release_psoc64 \
Xinyu Zhang82a366c2022-04-11 18:18:59 +080028 release_stm32l562e_dk release_lpcxpresso55s69"
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'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020033 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
Karl Zhang4bd626c2020-06-23 10:17:32 +080034 - string:
35 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020036 default: 'https://git.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'
39 default: 'master'
40 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080041 name: 'GERRIT_REFSPEC'
42 default: 'refs/heads/master'
43 description: |
Karl Zhang28fcb392020-06-28 16:43:59 +080044 For use when triggering with specified tag or master 'refs/heads/master' or 'refs/tags/TF-Mv1.0'.
Karl Zhang4bd626c2020-06-23 10:17:32 +080045 - string:
46 name: 'GERRIT_BRANCH'
47 default: 'master'
48 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'
Summer Qin58ac6092023-04-01 17:32:08 +080064 default: 'mbedtls-3.4.0'
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:
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080080 name: 'SQUAD_CONFIGURATIONS'
81 default: 'disabled'
82 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
83 - string:
Dean Birchc4d4d672020-08-12 10:38:58 +010084 name: 'LAVA_CREDENTIALS'
85 default: 'LAVA_CREDENTIALS'
86 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050087 - string:
88 name: 'MCUBOOT_REFSPEC'
Sherry Zhange46514c2023-02-28 14:01:27 +080089 default: '9e8eddcecba931f99297765779f8b130d808a9a3'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050090 description: |
91 Specify which MCUboot version to use
Xinyu Zhang8926ad32023-02-15 14:43:38 +080092 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
Leonardo Sandoval4a024212021-09-17 14:05:27 -050095 - string:
96 name: 'MCUBOOT_URL'
97 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
98 - string:
99 name: 'TFM_TESTS_URL'
100 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
101 - string:
102 name: 'TFM_TESTS_REFSPEC'
103 default: 'refs/heads/master'
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800104 description: |
105 Specify which tf-m-tests version to use
106 refs/heads/<branch_name> : Pick up latest HEAD on branch
107 TAG_NAME : Pick up a tagged version
108 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500109 - string:
110 name: 'PSA_ARCH_TESTS_URL'
111 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
112 - string:
113 name: 'PSA_ARCH_TESTS_VERSION'
Summer8858e3e2022-11-15 10:40:04 +0800114 default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800115 description: |
116 Specify which psa-arch-tests version to use
117 refs/heads/<branch_name> : Pick up latest HEAD on branch
118 TAG_NAME : Pick up a tagged version
119 full commit hash : Pick up a specific commit
Xinyu Zhang79e1aa12022-11-23 17:50:21 +0800120 - string:
121 name: 'QCBOR_URL'
122 default: 'https://github.com/laurencelundblade/QCBOR.git'
123 - string:
124 name: 'QCBOR_VERSION'
David Vincze16a9dac2023-01-06 15:16:47 +0100125 default: '92d3f89030baff4af7be8396c563e6c8ef263622'
Xinyu Zhang8926ad32023-02-15 14:43:38 +0800126 description: |
127 Specify which QCBOR version to use
128 refs/heads/<branch_name> : Pick up latest HEAD on branch
129 TAG_NAME : Pick up a tagged version
130 full commit hash : Pick up a specific commit
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500131 - string:
132 name: SHARE_FOLDER
133 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
134 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800135 wrappers:
136 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800137 pipeline-scm:
138 scm:
139 - git:
140 url: '$CI_SCRIPTS_REPO'
141 branches:
142 - '$CI_SCRIPTS_BRANCH'
143 credentials-id: GIT_SSH_KEY
144 wipe-workspace: false
145 script-path: jenkins/ci.jpl