blob: bf5147a1335d1458e81daf86f2afc82d4003e61c [file] [log] [blame]
Galanakis, Minosb96c6d42019-06-20 10:41:28 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2019, Arm Limited. All rights reserved.
3#
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:
96 name: 'DEPENDENCIES_MBEDTLS_TAG'
97 description: 'Selected version of mbedtls (from contents)'
98 default: '2.7.9'
99 - string:
100 name: 'DEPENDENCIES_MBED_CRYPTO_TAG'
101 description: 'Selected version of mbed-crypto (from contents)'
102 default: '1.1.0'
103 - string:
104 name: 'DEPENDENCIES_CMSIS_TAG'
105 description: 'Selected version of cmsis (from contents)'
106 default: '5.5.0'
107 - string:
108 name: 'DEPENDENCIES_FPV_TAG'
109 description: 'Selected version of fastmodel (from contents)'
110 default: ''
111 - string:
112 name: 'DEPENDENCIES_CHECKPATCH_TAG'
113 description: 'Selected version of checkpatch (from contents)'
114 default: '852d095'
115 - string:
116 name: 'FPGA_IMAGES_TAG_LIST'
117 description: >
118 FPGA image names (comma separated list) to be exposed to lava
119 default: 'mps2_an521_v3.0, mps2_an519_v3.0'
120 - string:
121 name: 'LAVA_URL'
122 default: 'https://validation.linaro.org'
123 description: 'URL of the LAVA instance.'
124 - string:
125 name: 'LAVA_CREDENTIAL_ID'
126 default: 'LAVA_TOKEN'
127 description: |
128 'ID of the Jenkins credential containing a LAVA auth token.'
129 - string:
130 name: 'MAINTAINER_EMAIL'
131 description: 'Person to be notified of failure ( empty = disable )'
132 default: ''
133 - choice:
134 name: 'FASTMODEL_TEST'
135 choices:
136 - Disable
137 - Enable
138 description: "Set to enable Fastmodel testing of artefacts"
139 - choice:
140 name: 'LAVA_TEST'
141 choices:
142 - Enable
143 - Disable
144 description: "Set to enable LAVA testing of artefacts"
145 - choice:
146 name: 'BUILD_DOCS'
147 choices:
148 - Enable
149 - Disable
150 description: "Set to enable Documentation building"
151 dsl:
152 !include-raw:
153 - ./pipelines/tf-m-build-test-review