blob: f96275ee983d6079d782c30a1f1f3e036e1f8058 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
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-nightly
10 description: 'Build that triggers nightly to build many configurations.'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: true
15 properties:
16 - build-discarder:
17 days-to-keep: 15
18 num-to-keep: 45
19 - authorization:
20 suihkulokki:
21 - job-read
22 - job-extended-read
23 - job-build
24 - job-cancel
25 minosgalanakis:
26 - job-read
27 - job-extended-read
28 - job-build
29 - job-cancel
30 bhcopeland:
31 - job-read
32 - job-extended-read
33 - job-build
34 - job-cancel
35 triggers:
Karl Zhang6ef945e2020-06-11 08:24:54 +080036 - timed: 'H 21 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000037 parameters:
38 - string:
39 name: 'FILTER_GROUP'
Karl Zhang0c4ed912020-06-12 10:19:51 +080040 default: 'nightly_test_gnu nightly_profile_gnu nightly_psa_api_gnu nightly_ff_gnu nightly_otp_gnu'
Dean Birche4cbc7c2020-01-20 10:40:21 +000041 description: |
42 Filter to a group of configurations as recognised by configs.py
43 - string:
44 name: 'CODE_REPO'
Dean Birch1817bb62020-06-02 14:00:23 +010045 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000046 - string:
47 name: 'CI_SCRIPTS_REPO'
48 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
49 - string:
50 name: 'GERRIT_REFSPEC'
51 default: 'refs/heads/master'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_BRANCH'
56 default: 'master'
57 description: |
58 For use when triggering with unmerged Gerrit changes.
59 - string:
60 name: 'GERRIT_HOST'
61 description: |
62 For use when triggering with unmerged Gerrit changes.
63 - string:
64 name: 'GERRIT_CHANGE_NUMBER'
65 description: |
66 For use when triggering with unmerged Gerrit changes.
67 - string:
68 name: 'GERRIT_PATCHSET_REVISION'
69 description: |
70 For use when triggering with unmerged Gerrit changes.
71 - string:
72 name: 'MBEDCRYPTO_VERSION'
73 default: 'mbedcrypto-3.0.1'
74 - string:
75 name: 'MBEDCRYPTO_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080076 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
Dean Birche4cbc7c2020-01-20 10:40:21 +000077 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080078 name: 'MBEDTLS_VERSION'
79 default: 'mbedtls-2.23.0'
80 - string:
81 name: 'MBEDTLS_URL'
82 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
83 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000084 name: 'CMSIS_VERSION'
85 default: '5.5.0'
86 - string:
87 name: 'LAVA_URL'
88 default: 'https://tf.validation.linaro.org'
89 - string:
90 name: 'CI_SCRIPTS_BRANCH'
91 default: 'master'
Karl Zhang68a81b42020-07-24 18:38:08 +080092 - string:
93 name: 'CODE_COVERAGE_EN'
94 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010095 - string:
96 name: 'LAVA_CREDENTIALS'
97 default: 'LAVA_CREDENTIALS'
98 description: "Name of Jenkins credential for authentication with LAVA."
Dean Birche4cbc7c2020-01-20 10:40:21 +000099 pipeline-scm:
100 scm:
101 - git:
102 url: '$CI_SCRIPTS_REPO'
103 branches:
104 - '$CI_SCRIPTS_BRANCH'
105 credentials-id: GIT_SSH_KEY
106 wipe-workspace: false
107 script-path: jenkins/ci.jpl