blob: 853ee5e871c7923f7d71f51870910ff775a1d274 [file] [log] [blame]
Karl Zhang4bd626c2020-06-23 10:17:32 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
3#
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:
20 karl-zh:
21 - job-read
22 - job-extended-read
23 - job-build
24 - job-cancel
25 suihkulokki:
26 - job-read
27 - job-extended-read
28 - job-build
29 - job-cancel
30 minosgalanakis:
31 - job-read
32 - job-extended-read
33 - job-build
34 - job-cancel
35 bhcopeland:
36 - job-read
37 - job-extended-read
38 - job-build
39 - job-cancel
40 parameters:
41 - string:
42 name: 'FILTER_GROUP'
43 default: 'tfm_test tfm_test2 tfm_profile tfm_test_otp psa_api psa_api_otp psa_ff psa_ff_otp tfm_psoc64'
44 description: |
45 Filter to a group of configurations as recognised by configs.py
46 - string:
47 name: 'CODE_REPO'
48 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
49 - string:
50 name: 'CI_SCRIPTS_REPO'
51 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
52 - string:
53 name: 'GERRIT_REFSPEC'
54 default: 'refs/heads/master'
55 description: |
Karl Zhang28fcb392020-06-28 16:43:59 +080056 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 +080057 - string:
58 name: 'GERRIT_BRANCH'
59 default: 'master'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
63 name: 'GERRIT_HOST'
64 description: |
65 For use when triggering with unmerged Gerrit changes.
66 - string:
67 name: 'GERRIT_CHANGE_NUMBER'
68 description: |
69 For use when triggering with unmerged Gerrit changes.
70 - string:
71 name: 'GERRIT_PATCHSET_REVISION'
72 description: |
73 For use when triggering with unmerged Gerrit changes.
74 - string:
75 name: 'MBEDCRYPTO_VERSION'
76 default: 'mbedcrypto-3.0.1'
77 - string:
78 name: 'MBEDCRYPTO_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080079 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
Karl Zhang4bd626c2020-06-23 10:17:32 +080080 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080081 name: 'MBEDTLS_VERSION'
82 default: 'mbedtls-2.23.0'
83 - string:
84 name: 'MBEDTLS_URL'
85 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
86 - string:
Karl Zhang4bd626c2020-06-23 10:17:32 +080087 name: 'CMSIS_VERSION'
88 default: '5.5.0'
89 - string:
90 name: 'LAVA_URL'
91 default: 'https://tf.validation.linaro.org'
92 - string:
93 name: 'CI_SCRIPTS_BRANCH'
94 default: 'master'
Karl Zhang68a81b42020-07-24 18:38:08 +080095 - string:
96 name: 'CODE_COVERAGE_EN'
97 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010098 - string:
99 name: 'LAVA_CREDENTIALS'
100 default: 'LAVA_CREDENTIALS'
101 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhang4bd626c2020-06-23 10:17:32 +0800102 pipeline-scm:
103 scm:
104 - git:
105 url: '$CI_SCRIPTS_REPO'
106 branches:
107 - '$CI_SCRIPTS_BRANCH'
108 credentials-id: GIT_SSH_KEY
109 wipe-workspace: false
110 script-path: jenkins/ci.jpl