blob: c4612899cd0fd90854251e589eb71d3a39a2725f [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
19 - authorization:
Fathi Boudradb891772021-03-02 14:12:48 +010020 !include: authorization.yaml.inc
Karl Zhang4bd626c2020-06-23 10:17:32 +080021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
Bence Baloghcb7cfc72022-03-31 14:55:53 +020024 default: 'tfm_test tfm_test2 tfm_profile tfm_profile_s tfm_test_otp tfm_nsce tfm_mmio tfm_fp psa_api psa_api_otp psa_ff psa_ff_otp tfm_psoc64 tfm_stm32l562e_dk tfm_lpcxpresso55s69 arm_an547 arm_an552 arm_corstone_polaris'
Karl Zhang4bd626c2020-06-23 10:17:32 +080025 description: |
26 Filter to a group of configurations as recognised by configs.py
27 - string:
28 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020029 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
30 description: |
31 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 +080032 - string:
33 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020034 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Karl Zhang4bd626c2020-06-23 10:17:32 +080035 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010036 name: 'CI_SCRIPTS_BRANCH'
37 default: 'master'
38 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080039 name: 'GERRIT_REFSPEC'
40 default: 'refs/heads/master'
41 description: |
Karl Zhang28fcb392020-06-28 16:43:59 +080042 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 +080043 - string:
44 name: 'GERRIT_BRANCH'
45 default: 'master'
46 description: |
47 For use when triggering with unmerged Gerrit changes.
48 - string:
49 name: 'GERRIT_HOST'
50 description: |
51 For use when triggering with unmerged Gerrit changes.
52 - string:
53 name: 'GERRIT_CHANGE_NUMBER'
54 description: |
55 For use when triggering with unmerged Gerrit changes.
56 - string:
57 name: 'GERRIT_PATCHSET_REVISION'
58 description: |
59 For use when triggering with unmerged Gerrit changes.
60 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080061 name: 'MBEDTLS_VERSION'
Summer Qin7632b812022-01-05 17:33:35 +080062 default: 'mbedtls-3.1.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080063 - string:
64 name: 'MBEDTLS_URL'
65 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
66 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080067 name: 'LAVA_URL'
68 default: 'https://tf.validation.linaro.org'
69 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080070 name: 'CODE_COVERAGE_EN'
71 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010072 - string:
73 name: 'LAVA_CREDENTIALS'
74 default: 'LAVA_CREDENTIALS'
75 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandoval4a024212021-09-17 14:05:27 -050076 - string:
77 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080078 default: 'v1.9.0'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050079 description: |
80 Specify which MCUboot version to use
81 refs/heads/master : Pick up latest master
82 refs/tags/<TAG_NAME> : Pick up a tagged version
83 - string:
84 name: 'MCUBOOT_URL'
85 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
86 - string:
87 name: 'TFM_TESTS_URL'
88 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
89 - string:
90 name: 'TFM_TESTS_REFSPEC'
91 default: 'refs/heads/master'
92 - string:
93 name: 'PSA_ARCH_TESTS_URL'
94 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
95 - string:
96 name: 'PSA_ARCH_TESTS_VERSION'
Xinyu Zhang049657b2021-11-11 13:51:19 +080097 default: 'v21.10_API1.3_ADAC_ALPHA-1'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050098
99 - string:
100 name: SHARE_FOLDER
101 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
102 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800103 wrappers:
104 - timestamps
Karl Zhang4bd626c2020-06-23 10:17:32 +0800105 pipeline-scm:
106 scm:
107 - git:
108 url: '$CI_SCRIPTS_REPO'
109 branches:
110 - '$CI_SCRIPTS_BRANCH'
111 credentials-id: GIT_SSH_KEY
112 wipe-workspace: false
113 script-path: jenkins/ci.jpl