blob: c49929b263fd1c6f52aaeaacdcf23eb792f9af64 [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
Dean Birche4cbc7c2020-01-20 10:40:21 +000019 triggers:
Karl Zhang8c96a662020-10-10 10:43:56 +080020 - timed: 'H 21 * * *'
Dean Birche4cbc7c2020-01-20 10:40:21 +000021 parameters:
22 - string:
23 name: 'FILTER_GROUP'
David Hue9b0dd72022-11-17 11:12:26 +080024 default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_m_arotless \
25 nightly_profile_l nightly_cc_driver_psa nightly_fp nightly_psa_api \
Xinyu Zhangea289122022-11-21 17:56:38 +080026 nightly_ipc_backend nightly_nsce nightly_mmio nightly_an547 nightly_an552 \
Jamie Fox55649c22022-09-09 14:32:01 +010027 nightly_corstone310 nightly_corstone1000 nightly_rss nightly_psoc64 \
Xinyu Zhang82a366c2022-04-11 18:18:59 +080028 nightly_stm32l562e_dk nightly_lpcxpresso55s69"
Dean Birche4cbc7c2020-01-20 10:40:21 +000029 description: |
30 Filter to a group of configurations as recognised by configs.py
31 - string:
32 name: 'CODE_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020033 default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
34 description: |
35 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 +000036 - string:
37 name: 'CI_SCRIPTS_REPO'
Riku Voipioa0e48ac2020-12-04 11:29:34 +020038 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000039 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010040 name: 'CI_SCRIPTS_BRANCH'
41 default: 'master'
42 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000043 name: 'GERRIT_REFSPEC'
44 default: 'refs/heads/master'
45 description: |
46 For use when triggering with unmerged Gerrit changes.
47 - string:
48 name: 'GERRIT_BRANCH'
49 default: 'master'
50 description: |
51 For use when triggering with unmerged Gerrit changes.
52 - string:
53 name: 'GERRIT_HOST'
54 description: |
55 For use when triggering with unmerged Gerrit changes.
56 - string:
57 name: 'GERRIT_CHANGE_NUMBER'
58 description: |
59 For use when triggering with unmerged Gerrit changes.
60 - string:
61 name: 'GERRIT_PATCHSET_REVISION'
62 description: |
63 For use when triggering with unmerged Gerrit changes.
64 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080065 name: 'MBEDTLS_VERSION'
Antonio de Angelis20c04402022-07-16 00:01:05 +010066 default: 'mbedtls-3.2.1'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080067 - string:
68 name: 'MBEDTLS_URL'
69 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
70 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000071 name: 'LAVA_URL'
72 default: 'https://tf.validation.linaro.org'
73 - string:
Karl Zhang68a81b42020-07-24 18:38:08 +080074 name: 'CODE_COVERAGE_EN'
75 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +010076 - string:
77 name: 'LAVA_CREDENTIALS'
78 default: 'LAVA_CREDENTIALS'
79 description: "Name of Jenkins credential for authentication with LAVA."
Karl Zhangdebc2ab2020-09-18 14:28:30 +080080 - string:
81 name: 'EMAIL_NOTIFICATION'
Karl Zhang8e0d0462020-12-08 09:32:12 +080082 default: 'tf-m-ci-notifications@lists.trustedfirmware.org'
Hugo L'Hostisad586492021-01-06 11:53:30 +000083 - string:
84 name: 'SQUAD_CONFIGURATIONS'
Xinyu Zhang1a4d1102022-10-18 17:39:01 +080085 default: 'enabled'
86 description: 'Send metrics of reference configurations to a SQUAD Dashboard'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050087 - string:
88 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080089 default: 'v1.9.0'
Leonardo Sandoval4a024212021-09-17 14:05:27 -050090 description: |
91 Specify which MCUboot version to use
92 refs/heads/master : Pick up latest master
93 refs/tags/<TAG_NAME> : Pick up a tagged version
94 - string:
95 name: 'MCUBOOT_URL'
96 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
97 - string:
98 name: 'TFM_TESTS_URL'
99 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
100 - string:
101 name: 'TFM_TESTS_REFSPEC'
102 default: 'refs/heads/master'
103 - string:
104 name: 'PSA_ARCH_TESTS_URL'
105 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
106 - string:
107 name: 'PSA_ARCH_TESTS_VERSION'
Summer8858e3e2022-11-15 10:40:04 +0800108 default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500109 - string:
Xinyu Zhangb06443a2022-11-23 17:50:21 +0800110 name: 'QCBOR_URL'
111 default: 'https://github.com/laurencelundblade/QCBOR.git'
112 - string:
113 name: 'QCBOR_VERSION'
114 default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff'
115 - string:
Leonardo Sandoval4a024212021-09-17 14:05:27 -0500116 name: SHARE_FOLDER
117 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
118 description: 'Folder containing shared repositories for downstream pipeline jobs'
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800119 wrappers:
120 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +0000121 pipeline-scm:
122 scm:
123 - git:
124 url: '$CI_SCRIPTS_REPO'
125 branches:
126 - '$CI_SCRIPTS_BRANCH'
127 credentials-id: GIT_SSH_KEY
128 wipe-workspace: false
129 script-path: jenkins/ci.jpl