blob: 22ec73e3cbccf2d6e861d50b06048faae26b7b3e [file] [log] [blame]
Karl Zhang4bd626c2020-06-23 10:17:32 +08001#-------------------------------------------------------------------------------
Summer Qin7632b812022-01-05 17:33:35 +08002# Copyright (c) 2020-2022, 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
15 properties:
16 - build-discarder:
17 days-to-keep: 25
18 num-to-keep: 3
Karl Zhang4bd626c2020-06-23 10:17:32 +080019 parameters:
20 - string:
21 name: 'FILTER_GROUP'
Xinyu Zhang82a366c2022-04-11 18:18:59 +080022 default: "release_test release_profile_s release_profile_m release_profile_l \
23 release_cc_driver_psa release_fp release_psa_api \
Xinyu Zhangccdb75e2022-04-19 18:05:05 +080024 release_nsce release_mmio release_an547 release_an552 \
Bence Balogh03a56432022-05-24 17:25:02 +020025 release_corstone310 release_psoc64 \
Xinyu Zhang82a366c2022-04-11 18:18:59 +080026 release_stm32l562e_dk release_lpcxpresso55s69"
Karl Zhang4bd626c2020-06-23 10:17:32 +080027 description: |
28 Filter to a group of configurations as recognised by configs.py
29 - string:
30 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020031 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
32 description: |
33 Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
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: |
49 For use when triggering with unmerged Gerrit changes.
50 - string:
51 name: 'GERRIT_HOST'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_CHANGE_NUMBER'
56 description: |
57 For use when triggering with unmerged Gerrit changes.
58 - string:
59 name: 'GERRIT_PATCHSET_REVISION'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080063 name: 'MBEDTLS_VERSION'
Antonio de Angelis20c04402022-07-16 00:01:05 +010064 default: 'mbedtls-3.2.1'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080065 - string:
66 name: 'MBEDTLS_URL'
67 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
68 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080069 name: 'LAVA_URL'
70 default: 'https://tf.validation.linaro.org'
71 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080072 name: 'CODE_COVERAGE_EN'
73 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010074 - string:
75 name: 'LAVA_CREDENTIALS'
76 default: 'LAVA_CREDENTIALS'
77 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050078 - string:
79 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080080 default: 'v1.9.0'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050081 description: |
82 Specify which MCUboot version to use
83 refs/heads/master : Pick up latest master
84 refs/tags/<TAG_NAME> : Pick up a tagged version
85 - string:
86 name: 'MCUBOOT_URL'
87 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
88 - string:
89 name: 'TFM_TESTS_URL'
90 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
91 - string:
92 name: 'TFM_TESTS_REFSPEC'
93 default: 'refs/heads/master'
94 - string:
95 name: 'PSA_ARCH_TESTS_URL'
96 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
97 - string:
98 name: 'PSA_ARCH_TESTS_VERSION'
Summer Qin9da600e2022-04-06 17:48:13 +080099 default: 'f7e8495dede62196a7fdd88470c58cf672525238'
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500100
101 - string:
102 name: SHARE_FOLDER
103 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
104 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800105 wrappers:
106 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800107 pipeline-scm:
108 scm:
109 - git:
110 url: '$CI_SCRIPTS_REPO'
111 branches:
112 - '$CI_SCRIPTS_BRANCH'
113 credentials-id: GIT_SSH_KEY
114 wipe-workspace: false
115 script-path: jenkins/ci.jpl