blob: d212f80c384bc4b1864556ee8b71c367b51a9d2e [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
21 triggers:
22 - timed: "@midnight"
23 parameters:
24 - string:
25 name: 'GERRIT_URL'
26 description: 'Base address of gerrit host'
27 default: 'https://review.trustedfirmware.org'
28 - string:
29 name: 'GERRIT_REFSPEC'
30 description: >
31 Git branch or "refspec" (e.g. rc3,
32 refs/changes/79/91279/2) to work on.
33 default: 'master'
34 - string:
35 name: 'GERRIT_PROJECT'
36 description: >
37 Repository on gerrit server to test
38 against (e.g. iot-sw/tf-m/internal/tf-m
39 default: 'trusted-firmware-m'
40 - string:
41 name: 'REF_DEP_CHECKOUT_NAME'
42 description: >
43 Reference to the job to check out dependencies artifacts from
44 default: 'tf-m-dependencies-checkout'
45 - string:
46 name: 'DEPENDENCIES_ARCHIVE_NAME_ZIP'
47 description: 'Archive name of dependencies artifacts'
48 default: 'tfm_dependencies.zip'
49 - string:
50 name: 'GERRIT_SCRIPTS'
51 description: 'Helper scripts used in conjuction with Jenkins'
52 default: 'ci/tf-m-ci-scripts'
53 - string:
54 name: 'GERRIT_SCRIPTS_REFSP'
55 description: 'Branch or refspec to checkout'
56 default: 'master'
57 - text:
58 name: 'BUILD_PARALLEL_NO'
59 description: "Number of parallel configuration builds."
60 default: '12'
61 - text:
62 name: 'BUILD_THREAD_NO'
63 description: "Number of build threads per configuration build."
64 default: '6'
65 - text:
66 name: 'BUILD_CONFIG_JSON'
67 description: "Build configuration json formatted."
68 - text:
69 name: 'LAVA_TEST_CONFIG_JSON'
70 description: "Override LAVA Test configuration (json format)."
71 - string:
72 name: 'SUMMARY_FILE'
73 description: "Job output aggregrated summary file(Plain text)."
74 default: 'summary.json'
75 - string:
76 name: 'DEPENDENCIES_CONTENTS_FILE'
77 description: 'Artifact name for contents of archive.'
78 default: 'dependencies_checkout_contents.json'
79 - string:
80 name: 'DEPENDENCIES_MBEDTLS_TAG'
81 description: 'Selected version of mbedtls (from contents)'
82 default: '2.7.9'
83 - string:
84 name: 'DEPENDENCIES_MBED_CRYPTO_TAG'
85 description: 'Selected version of mbed-crypto (from contents)'
86 default: '1.1.0'
87 - string:
88 name: 'DEPENDENCIES_CMSIS_TAG'
89 description: 'Selected version of cmsis (from contents)'
90 default: '5.5.0'
91 - string:
92 name: 'DEPENDENCIES_FPV_TAG'
93 description: 'Selected version of fastmodel (from contents)'
94 default: ''
95 - string:
96 name: 'DEPENDENCIES_CHECKPATCH_TAG'
97 description: 'Selected version of checkpatch (from contents)'
98 default: '852d095'
99 - string:
100 name: 'FPGA_IMAGES_TAG_LIST'
101 description: >
102 FPGA image names (comma separated list) to be exposed to lava
103 default: 'mps2_an521_v3.0, mps2_an519_v3.0'
104 - string:
105 name: 'LAVA_URL'
106 default: 'https://validation.linaro.org'
107 description: 'URL of the LAVA instance.'
108 - string:
109 name: 'LAVA_CREDENTIAL_ID'
110 default: 'LAVA_TOKEN'
111 description: |
112 'ID of the Jenkins credential containing a LAVA auth token.'
113 - string:
114 name: 'MAINTAINER_EMAIL'
115 description: 'Person to be notified of failure ( empty = disable )'
116 default: ''
117 - choice:
118 name: 'FASTMODEL_TEST'
119 choices:
120 - Disable
121 - Enable
122 description: "Set to enable Fastmodel testing of artefacts"
123 - choice:
124 name: 'LAVA_TEST'
125 choices:
126 - Enable
127 - Disable
128 description: "Set to enable LAVA testing of artefacts"
129 - choice:
130 name: 'BUILD_DOCS'
131 choices:
132 - Enable
133 - Disable
134 description: "Set to enable Documentation building"
135 dsl:
136 !include-raw:
137 - ./pipelines/tf-m-build-test-review