blob: a6c7afe43dbd2d88184766bfdc428e2d2d795345 [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
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'
Xinyu Zhang82a366c2022-04-11 18:18:59 +080024 default: "release_test release_profile_s release_profile_m release_profile_l \
25 release_cc_driver_psa release_fp release_psa_api \
Xinyu Zhangccdb75e2022-04-19 18:05:05 +080026 release_nsce release_mmio release_an547 release_an552 \
Bence Balogh03a56432022-05-24 17:25:02 +020027 release_corstone310 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'
34 description: |
35 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 +080036 - string:
37 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020038 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang4bd626c2020-06-23 10:17:32 +080039 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010040 name: 'CI_SCRIPTS_BRANCH'
41 default: 'master'
42 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080043 name: 'GERRIT_REFSPEC'
44 default: 'refs/heads/master'
45 description: |
Karl Zhang28fcb392020-06-28 16:43:59 +080046 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 +080047 - string:
48 name: 'GERRIT_BRANCH'
49 default: 'master'
50 description: |
51 For use when triggering with unmerged Gerrit changes.
52 - string:
53 name: 'GERRIT_HOST'
54 description: |
55 For use when triggering with unmerged Gerrit changes.
56 - string:
57 name: 'GERRIT_CHANGE_NUMBER'
58 description: |
59 For use when triggering with unmerged Gerrit changes.
60 - string:
61 name: 'GERRIT_PATCHSET_REVISION'
62 description: |
63 For use when triggering with unmerged Gerrit changes.
64 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080065 name: 'MBEDTLS_VERSION'
Antonio de Angelis20c04402022-07-16 00:01:05 +010066 default: 'mbedtls-3.2.1'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080067 - string:
68 name: 'MBEDTLS_URL'
69 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
70 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080071 name: 'LAVA_URL'
72 default: 'https://tf.validation.linaro.org'
73 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080074 name: 'CODE_COVERAGE_EN'
75 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010076 - string:
77 name: 'LAVA_CREDENTIALS'
78 default: 'LAVA_CREDENTIALS'
79 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050080 - string:
81 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080082 default: 'v1.9.0'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050083 description: |
84 Specify which MCUboot version to use
85 refs/heads/master : Pick up latest master
86 refs/tags/<TAG_NAME> : Pick up a tagged version
87 - string:
88 name: 'MCUBOOT_URL'
89 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
90 - string:
91 name: 'TFM_TESTS_URL'
92 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
93 - string:
94 name: 'TFM_TESTS_REFSPEC'
95 default: 'refs/heads/master'
96 - string:
97 name: 'PSA_ARCH_TESTS_URL'
98 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
99 - string:
100 name: 'PSA_ARCH_TESTS_VERSION'
Summer Qin9da600e2022-04-06 17:48:13 +0800101 default: 'f7e8495dede62196a7fdd88470c58cf672525238'
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500102
103 - string:
104 name: SHARE_FOLDER
105 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
106 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800107 wrappers:
108 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800109 pipeline-scm:
110 scm:
111 - git:
112 url: '$CI_SCRIPTS_REPO'
113 branches:
114 - '$CI_SCRIPTS_BRANCH'
115 credentials-id: GIT_SSH_KEY
116 wipe-workspace: false
117 script-path: jenkins/ci.jpl