blob: 9c440d699920efdfe6ca22189de5dd92e07fde51 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
Summer Qin7632b812022-01-05 17:33:35 +08002# Copyright (c) 2020-2022, 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 Zhang82a366c2022-04-11 18:18:59 +080026 default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_l \
27 nightly_cc_driver_psa nightly_fp nightly_psa_api nightly_otp \
28 nightly_nsce nightly_mmio nightly_an547 nightly_an552 \
29 nightly_polaris nightly_corstone1000 nightly_psoc64 \
30 nightly_stm32l562e_dk nightly_lpcxpresso55s69"
Dean Birche4cbc7c2020-01-20 10:40:21 +000031 description: |
32 Filter to a group of configurations as recognised by configs.py
33 - string:
34 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020035 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
36 description: |
37 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 +000038 - string:
39 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020040 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000041 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010042 name: 'CI_SCRIPTS_BRANCH'
43 default: 'master'
44 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000045 name: 'GERRIT_REFSPEC'
46 default: 'refs/heads/master'
47 description: |
48 For use when triggering with unmerged Gerrit changes.
49 - string:
50 name: 'GERRIT_BRANCH'
51 default: 'master'
52 description: |
53 For use when triggering with unmerged Gerrit changes.
54 - string:
55 name: 'GERRIT_HOST'
56 description: |
57 For use when triggering with unmerged Gerrit changes.
58 - string:
59 name: 'GERRIT_CHANGE_NUMBER'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
63 name: 'GERRIT_PATCHSET_REVISION'
64 description: |
65 For use when triggering with unmerged Gerrit changes.
66 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080067 name: 'MBEDTLS_VERSION'
Summer Qin7632b812022-01-05 17:33:35 +080068 default: 'mbedtls-3.1.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080069 - string:
70 name: 'MBEDTLS_URL'
71 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
72 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000073 name: 'LAVA_URL'
74 default: 'https://tf.validation.linaro.org'
75 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080076 name: 'CODE_COVERAGE_EN'
77 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010078 - string:
79 name: 'LAVA_CREDENTIALS'
80 default: 'LAVA_CREDENTIALS'
81 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +080082 - string:
83 name: 'EMAIL_NOTIFICATION'
Karl Zhang8e0d0462020-12-08 09:32:12 +080084 default: 'tf-m-ci-notifications@lists.trustedfirmware.org'
Hugo L'Hostisad586492021-01-06 11:53:30 +000085 - string:
86 name: 'SQUAD_CONFIGURATIONS'
Hugo L'Hostisd19be682021-05-04 11:55:03 +010087 default: 'DefaultProfileS,MinSizeProfileS,DefaultProfileM,DefaultProfileL'
Hugo L'Hostisad586492021-01-06 11:53:30 +000088 description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050089 - string:
90 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080091 default: 'v1.9.0'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050092 description: |
93 Specify which MCUboot version to use
94 refs/heads/master : Pick up latest master
95 refs/tags/<TAG_NAME> : Pick up a tagged version
96 - string:
97 name: 'MCUBOOT_URL'
98 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
99 - string:
100 name: 'TFM_TESTS_URL'
101 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
102 - string:
103 name: 'TFM_TESTS_REFSPEC'
104 default: 'refs/heads/master'
105 - string:
106 name: 'PSA_ARCH_TESTS_URL'
107 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
108 - string:
109 name: 'PSA_ARCH_TESTS_VERSION'
Summer Qin9da600e2022-04-06 17:48:13 +0800110 default: 'f7e8495dede62196a7fdd88470c58cf672525238'
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500111 - string:
112 name: SHARE_FOLDER
113 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
114 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800115 wrappers:
116 - timestamps
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