blob: 12043b35f4829bbcdeb73b545c4b3d14542ac7cf [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:
Fathi Boudradb891772021-03-02 14:12:48 +010020 !include: authorization.yaml.inc
Dean Birche4cbc7c2020-01-20 10:40:21 +000021 triggers:
Karl Zhang8c96a662020-10-10 10:43:56 +080022 - timed: 'H 21 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000023 parameters:
24 - string:
25 name: 'FILTER_GROUP'
Xinyu Zhangc19d8192021-06-29 11:41:40 +080026 default: 'nightly_test nightly_profile nightly_psa_api nightly_ff nightly_otp nightly_stm32l562e_dk'
Dean Birche4cbc7c2020-01-20 10:40:21 +000027 description: |
28 Filter to a group of configurations as recognised by configs.py
29 - string:
30 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020031 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
32 description: |
33 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 +000034 - string:
35 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020036 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000037 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010038 name: 'CI_SCRIPTS_BRANCH'
39 default: 'master'
40 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000041 name: 'GERRIT_REFSPEC'
42 default: 'refs/heads/master'
43 description: |
44 For use when triggering with unmerged Gerrit changes.
45 - string:
46 name: 'GERRIT_BRANCH'
47 default: 'master'
48 description: |
49 For use when triggering with unmerged Gerrit changes.
50 - string:
51 name: 'GERRIT_HOST'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_CHANGE_NUMBER'
56 description: |
57 For use when triggering with unmerged Gerrit changes.
58 - string:
59 name: 'GERRIT_PATCHSET_REVISION'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080063 name: 'MBEDTLS_VERSION'
Xinyu Zhangdbcdf652021-07-12 15:00:46 +080064 default: 'mbedtls-3.0.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080065 - string:
66 name: 'MBEDTLS_URL'
67 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
68 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000069 name: 'LAVA_URL'
70 default: 'https://tf.validation.linaro.org'
71 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080072 name: 'CODE_COVERAGE_EN'
73 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010074 - string:
75 name: 'LAVA_CREDENTIALS'
76 default: 'LAVA_CREDENTIALS'
77 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +080078 - string:
79 name: 'EMAIL_NOTIFICATION'
Karl Zhang8e0d0462020-12-08 09:32:12 +080080 default: 'tf-m-ci-notifications@lists.trustedfirmware.org'
Hugo L'Hostisad586492021-01-06 11:53:30 +000081 - string:
82 name: 'SQUAD_CONFIGURATIONS'
Hugo L'Hostisd19be682021-05-04 11:55:03 +010083 default: 'DefaultProfileS,MinSizeProfileS,DefaultProfileM,DefaultProfileL'
Hugo L'Hostisad586492021-01-06 11:53:30 +000084 description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +080085 wrappers:
86 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +000087 pipeline-scm:
88 scm:
89 - git:
90 url: '$CI_SCRIPTS_REPO'
91 branches:
92 - '$CI_SCRIPTS_BRANCH'
93 credentials-id: GIT_SSH_KEY
94 wipe-workspace: false
95 script-path: jenkins/ci.jpl