blob: c8542bd987cc1e4e63090ffd74544d0642846198 [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:
Riku Voipiod4ea5342020-09-04 16:00:02 +030020 anonymous:
21 - job-read
22 - job-extended-read
Dean Birche4cbc7c2020-01-20 10:40:21 +000023 suihkulokki:
24 - job-read
25 - job-extended-read
26 - job-build
27 - job-cancel
28 minosgalanakis:
29 - job-read
30 - job-extended-read
31 - job-build
32 - job-cancel
33 bhcopeland:
34 - job-read
35 - job-extended-read
36 - job-build
37 - job-cancel
Xinyu Zhang043d5aa2020-10-15 18:20:17 +080038 karl-zh:
39 - job-read
40 - job-extended-read
41 - job-build
42 - job-cancel
43 xinyu-tfm:
44 - job-read
45 - job-extended-read
46 - job-build
47 - job-cancel
Dean Birche4cbc7c2020-01-20 10:40:21 +000048 triggers:
Karl Zhang8c96a662020-10-10 10:43:56 +080049 - timed: 'H 21 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000050 parameters:
51 - string:
52 name: 'FILTER_GROUP'
Xinyu Zhang5d0a1722020-12-04 15:01:29 +080053 default: 'nightly_test nightly_profile nightly_psa_api nightly_ff nightly_otp'
Dean Birche4cbc7c2020-01-20 10:40:21 +000054 description: |
55 Filter to a group of configurations as recognised by configs.py
56 - string:
57 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020058 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
59 description: |
60 Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
Dean Birche4cbc7c2020-01-20 10:40:21 +000061 - string:
62 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020063 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000064 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010065 name: 'CI_SCRIPTS_BRANCH'
66 default: 'master'
67 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000068 name: 'GERRIT_REFSPEC'
69 default: 'refs/heads/master'
70 description: |
71 For use when triggering with unmerged Gerrit changes.
72 - string:
73 name: 'GERRIT_BRANCH'
74 default: 'master'
75 description: |
76 For use when triggering with unmerged Gerrit changes.
77 - string:
78 name: 'GERRIT_HOST'
79 description: |
80 For use when triggering with unmerged Gerrit changes.
81 - string:
82 name: 'GERRIT_CHANGE_NUMBER'
83 description: |
84 For use when triggering with unmerged Gerrit changes.
85 - string:
86 name: 'GERRIT_PATCHSET_REVISION'
87 description: |
88 For use when triggering with unmerged Gerrit changes.
89 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080090 name: 'MBEDTLS_VERSION'
Summer Qina400be82020-10-28 15:00:00 +080091 default: 'mbedtls-2.24.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080092 - string:
93 name: 'MBEDTLS_URL'
94 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
95 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000096 name: 'LAVA_URL'
97 default: 'https://tf.validation.linaro.org'
98 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080099 name: 'CODE_COVERAGE_EN'
100 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +0100101 - string:
102 name: 'LAVA_CREDENTIALS'
103 default: 'LAVA_CREDENTIALS'
104 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +0800105 - string:
106 name: 'EMAIL_NOTIFICATION'
107 default: 'CE-OSS-Firmware-TF-M@arm.com'
Dean Birche4cbc7c2020-01-20 10:40:21 +0000108 pipeline-scm:
109 scm:
110 - git:
111 url: '$CI_SCRIPTS_REPO'
112 branches:
113 - '$CI_SCRIPTS_BRANCH'
114 credentials-id: GIT_SSH_KEY
115 wipe-workspace: false
116 script-path: jenkins/ci.jpl