blob: cd07b13656edeab7204a4c076474562b8c8586e0 [file] [log] [blame]
Galanakis, Minosb96c6d42019-06-20 10:41:28 +01001#-------------------------------------------------------------------------------
Galanakis, Minos7b321792020-01-09 11:01:02 +00002# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
Galanakis, Minosb96c6d42019-06-20 10:41:28 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-build-test-nightly
10 description: |
11 This job is triggered at midnight, builds all configurations and tests
12 them on MPS2 board.
13 project-type: pipeline
14 disabled: false
15 sandbox: true
16 concurrent: false
17 properties:
18 - build-discarder:
19 days-to-keep: 30
20 num-to-keep: 10
Riku Voipioe2beb0d2019-10-03 16:13:13 +030021 - authorization:
22 suihkulokki:
23 - job-read
24 - job-extended-read
25 - job-build
26 - job-cancel
Galanakis, Minosebf502a2019-10-07 10:42:10 +010027 minosgalanakis:
Riku Voipioe2beb0d2019-10-03 16:13:13 +030028 - job-read
29 - job-extended-read
30 - job-build
31 - job-cancel
32 bhcopeland:
33 - job-read
34 - job-extended-read
35 - job-build
36 - job-cancel
Galanakis, Minosb96c6d42019-06-20 10:41:28 +010037 triggers:
38 - timed: "@midnight"
39 parameters:
40 - string:
41 name: 'GERRIT_URL'
42 description: 'Base address of gerrit host'
43 default: 'https://review.trustedfirmware.org'
44 - string:
45 name: 'GERRIT_REFSPEC'
46 description: >
47 Git branch or "refspec" (e.g. rc3,
48 refs/changes/79/91279/2) to work on.
49 default: 'master'
50 - string:
51 name: 'GERRIT_PROJECT'
52 description: >
53 Repository on gerrit server to test
54 against (e.g. iot-sw/tf-m/internal/tf-m
55 default: 'trusted-firmware-m'
56 - string:
57 name: 'REF_DEP_CHECKOUT_NAME'
58 description: >
59 Reference to the job to check out dependencies artifacts from
60 default: 'tf-m-dependencies-checkout'
61 - string:
62 name: 'DEPENDENCIES_ARCHIVE_NAME_ZIP'
63 description: 'Archive name of dependencies artifacts'
64 default: 'tfm_dependencies.zip'
65 - string:
66 name: 'GERRIT_SCRIPTS'
67 description: 'Helper scripts used in conjuction with Jenkins'
68 default: 'ci/tf-m-ci-scripts'
69 - string:
70 name: 'GERRIT_SCRIPTS_REFSP'
71 description: 'Branch or refspec to checkout'
72 default: 'master'
73 - text:
74 name: 'BUILD_PARALLEL_NO'
75 description: "Number of parallel configuration builds."
76 default: '12'
77 - text:
78 name: 'BUILD_THREAD_NO'
79 description: "Number of build threads per configuration build."
80 default: '6'
81 - text:
82 name: 'BUILD_CONFIG_JSON'
83 description: "Build configuration json formatted."
84 - text:
85 name: 'LAVA_TEST_CONFIG_JSON'
86 description: "Override LAVA Test configuration (json format)."
87 - string:
88 name: 'SUMMARY_FILE'
89 description: "Job output aggregrated summary file(Plain text)."
90 default: 'summary.json'
91 - string:
92 name: 'DEPENDENCIES_CONTENTS_FILE'
93 description: 'Artifact name for contents of archive.'
94 default: 'dependencies_checkout_contents.json'
95 - string:
Galanakis, Minosb96c6d42019-06-20 10:41:28 +010096 name: 'DEPENDENCIES_MBED_CRYPTO_TAG'
97 description: 'Selected version of mbed-crypto (from contents)'
Minos Galanakis9a8076a2020-02-21 14:00:46 +000098 default: '3.0.1'
Galanakis, Minosb96c6d42019-06-20 10:41:28 +010099 - string:
100 name: 'DEPENDENCIES_CMSIS_TAG'
101 description: 'Selected version of cmsis (from contents)'
102 default: '5.5.0'
103 - string:
104 name: 'DEPENDENCIES_FPV_TAG'
105 description: 'Selected version of fastmodel (from contents)'
106 default: ''
107 - string:
108 name: 'DEPENDENCIES_CHECKPATCH_TAG'
109 description: 'Selected version of checkpatch (from contents)'
110 default: '852d095'
111 - string:
112 name: 'FPGA_IMAGES_TAG_LIST'
113 description: >
114 FPGA image names (comma separated list) to be exposed to lava
115 default: 'mps2_an521_v3.0, mps2_an519_v3.0'
116 - string:
117 name: 'LAVA_URL'
Benjamin Copeland326f28b2020-02-26 16:14:24 +0000118 default: 'https://tf.validation.linaro.org'
Galanakis, Minosb96c6d42019-06-20 10:41:28 +0100119 description: 'URL of the LAVA instance.'
120 - string:
121 name: 'LAVA_CREDENTIAL_ID'
122 default: 'LAVA_TOKEN'
123 description: |
124 'ID of the Jenkins credential containing a LAVA auth token.'
125 - string:
126 name: 'MAINTAINER_EMAIL'
127 description: 'Person to be notified of failure ( empty = disable )'
128 default: ''
129 - choice:
130 name: 'FASTMODEL_TEST'
131 choices:
132 - Disable
133 - Enable
134 description: "Set to enable Fastmodel testing of artefacts"
135 - choice:
136 name: 'LAVA_TEST'
137 choices:
Galanakis, Minosb96c6d42019-06-20 10:41:28 +0100138 - Disable
Galanakis, Minos7b321792020-01-09 11:01:02 +0000139 - Enable
Galanakis, Minosb96c6d42019-06-20 10:41:28 +0100140 description: "Set to enable LAVA testing of artefacts"
141 - choice:
142 name: 'BUILD_DOCS'
143 choices:
144 - Enable
145 - Disable
146 description: "Set to enable Documentation building"
147 dsl:
148 !include-raw:
149 - ./pipelines/tf-m-build-test-review