blob: 52532ee176f7b650d380453777dc65fe520e9d9c [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
Hugo L'Hostisad586492021-01-06 11:53:30 +00002# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
Dean Birche4cbc7c2020-01-20 10:40:21 +00003#
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
Fathi Boudracbc85a52020-12-15 21:22:59 +010038 fboudra:
39 - job-read
40 - job-extended-read
41 - job-build
42 - job-cancel
Xinyu Zhang043d5aa2020-10-15 18:20:17 +080043 karl-zh:
44 - job-read
45 - job-extended-read
46 - job-build
47 - job-cancel
48 xinyu-tfm:
49 - job-read
50 - job-extended-read
51 - job-build
52 - job-cancel
Dean Birche4cbc7c2020-01-20 10:40:21 +000053 triggers:
Karl Zhang8c96a662020-10-10 10:43:56 +080054 - timed: 'H 21 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000055 parameters:
56 - string:
57 name: 'FILTER_GROUP'
Xinyu Zhang5d0a1722020-12-04 15:01:29 +080058 default: 'nightly_test nightly_profile nightly_psa_api nightly_ff nightly_otp'
Dean Birche4cbc7c2020-01-20 10:40:21 +000059 description: |
60 Filter to a group of configurations as recognised by configs.py
61 - string:
62 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020063 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
64 description: |
65 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 +000066 - string:
67 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020068 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000069 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010070 name: 'CI_SCRIPTS_BRANCH'
71 default: 'master'
72 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000073 name: 'GERRIT_REFSPEC'
74 default: 'refs/heads/master'
75 description: |
76 For use when triggering with unmerged Gerrit changes.
77 - string:
78 name: 'GERRIT_BRANCH'
79 default: 'master'
80 description: |
81 For use when triggering with unmerged Gerrit changes.
82 - string:
83 name: 'GERRIT_HOST'
84 description: |
85 For use when triggering with unmerged Gerrit changes.
86 - string:
87 name: 'GERRIT_CHANGE_NUMBER'
88 description: |
89 For use when triggering with unmerged Gerrit changes.
90 - string:
91 name: 'GERRIT_PATCHSET_REVISION'
92 description: |
93 For use when triggering with unmerged Gerrit changes.
94 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080095 name: 'MBEDTLS_VERSION'
Summer Qina400be82020-10-28 15:00:00 +080096 default: 'mbedtls-2.24.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080097 - string:
98 name: 'MBEDTLS_URL'
99 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
100 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +0000101 name: 'LAVA_URL'
102 default: 'https://tf.validation.linaro.org'
103 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +0800104 name: 'CODE_COVERAGE_EN'
105 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +0100106 - string:
107 name: 'LAVA_CREDENTIALS'
108 default: 'LAVA_CREDENTIALS'
109 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +0800110 - string:
111 name: 'EMAIL_NOTIFICATION'
Karl Zhang8e0d0462020-12-08 09:32:12 +0800112 default: 'tf-m-ci-notifications@lists.trustedfirmware.org'
Hugo L'Hostisad586492021-01-06 11:53:30 +0000113 - string:
114 name: 'SQUAD_CONFIGURATIONS'
115 default: 'Default,CoreIPC,CoreIPCTfmLevel2'
116 description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
Dean Birche4cbc7c2020-01-20 10:40:21 +0000117 pipeline-scm:
118 scm:
119 - git:
120 url: '$CI_SCRIPTS_REPO'
121 branches:
122 - '$CI_SCRIPTS_BRANCH'
123 credentials-id: GIT_SSH_KEY
124 wipe-workspace: false
125 script-path: jenkins/ci.jpl