blob: 78b35c5c051b8b73c0d771fb454a5c86181eaca4 [file] [log] [blame]
Dean Birchf6ebab32020-08-11 12:53:30 +01001#-------------------------------------------------------------------------------
Summer Qin7632b812022-01-05 17:33:35 +08002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Dean Birchf6ebab32020-08-11 12:53:30 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-infra-health
10 description: 'This job is a reference job for validating tf-m infrastructure.'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: true
Benjamin Copeland51ed3712020-08-26 10:33:58 +010015 triggers:
Benjamin Copeland312e4692020-11-09 10:13:24 +000016 - timed: 'H */12 * * *'
Dean Birchf6ebab32020-08-11 12:53:30 +010017 properties:
18 - build-discarder:
Fathi Boudra52888c22020-11-10 21:34:35 +010019 days-to-keep: 15
20 num-to-keep: 45
Dean Birchf6ebab32020-08-11 12:53:30 +010021 - throttle:
22 max-total: 5
23 option: project
24 parameters:
25 - string:
26 name: 'FILTER_GROUP'
Xinyu Zhangccdb75e2022-04-19 18:05:05 +080027 default: 'pp_test pp_psoc64'
Dean Birchf6ebab32020-08-11 12:53:30 +010028 description: |
29 Filter to a group of configurations as recognised by configs.py
30 - string:
31 name: 'CODE_REPO'
32 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
33 - string:
34 name: 'CI_SCRIPTS_REPO'
Riku Voipio02c86792021-09-02 13:42:14 +030035 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birchf6ebab32020-08-11 12:53:30 +010036 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010037 name: 'CI_SCRIPTS_BRANCH'
38 default: 'master'
39 - string:
Dean Birchf6ebab32020-08-11 12:53:30 +010040 name: 'GERRIT_REFSPEC'
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050041 default: 'refs/heads/master'
Dean Birchf6ebab32020-08-11 12:53:30 +010042 description: |
43 For use when triggering with unmerged Gerrit changes.
44 - string:
45 name: 'GERRIT_BRANCH'
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050046 default: 'master'
Dean Birchf6ebab32020-08-11 12:53:30 +010047 description: |
48 For use when triggering with unmerged Gerrit changes.
49 - string:
50 name: 'GERRIT_HOST'
51 description: |
52 For use when triggering with unmerged Gerrit changes.
53 - string:
54 name: 'GERRIT_CHANGE_NUMBER'
55 description: |
56 For use when triggering with unmerged Gerrit changes.
57 - string:
58 name: 'GERRIT_PATCHSET_REVISION'
59 description: |
60 For use when triggering with unmerged Gerrit changes.
61 - string:
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050062 name: 'MCUBOOT_REFSPEC'
Sherry Zhang10ffcca2022-03-03 11:38:23 +080063 default: 'v1.9.0'
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050064 description: |
65 Specify which MCUboot version to use
66 refs/heads/master : Pick up latest master
67 refs/tags/<TAG_NAME> : Pick up a tagged version
68 - string:
69 name: 'MCUBOOT_URL'
70 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
71 - string:
72 name: 'TFM_TESTS_URL'
73 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
74 - string:
Xinyu Zhange2e88712020-11-03 15:24:07 +080075 name: 'TFM_TESTS_REFSPEC'
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050076 default: 'refs/heads/master'
Xinyu Zhange2e88712020-11-03 15:24:07 +080077 description: |
78 For use when triggering with unmerged Gerrit changes for TF-M Test, ex: refs/changes/99/170399/3.
79 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080080 name: 'MBEDTLS_VERSION'
Antonio de Angelis20c04402022-07-16 00:01:05 +010081 default: 'mbedtls-3.2.1'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080082 - string:
83 name: 'MBEDTLS_URL'
84 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
85 - string:
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050086 name: 'PSA_ARCH_TESTS_URL'
87 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
88 - string:
89 name: 'PSA_ARCH_TESTS_VERSION'
Summer8858e3e2022-11-15 10:40:04 +080090 default: 'cf8bd7191219df9bdef387abcd750f0709283f98'
Leonardo Sandovale7323ce2021-10-05 14:03:33 -050091 - string:
Xinyu Zhangb06443a2022-11-23 17:50:21 +080092 name: 'QCBOR_URL'
93 default: 'https://github.com/laurencelundblade/QCBOR.git'
94 - string:
95 name: 'QCBOR_VERSION'
96 default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff'
97 - string:
Dean Birchf6ebab32020-08-11 12:53:30 +010098 name: 'LAVA_URL'
99 default: 'https://tf.validation.linaro.org'
100 - string:
Dean Birchf6ebab32020-08-11 12:53:30 +0100101 name: 'CODE_COVERAGE_EN'
102 default: 'FALSE'
Dean Birchc4d4d672020-08-12 10:38:58 +0100103 - string:
104 name: 'LAVA_CREDENTIALS'
105 default: 'LAVA_CREDENTIALS'
106 description: "Name of Jenkins credential for authentication with LAVA."
Leonardo Sandovale7323ce2021-10-05 14:03:33 -0500107 - string:
108 name: SHARE_FOLDER
109 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
110 description: 'Folder containing shared repositories for downstream pipeline jobs'
Dean Birchf6ebab32020-08-11 12:53:30 +0100111 pipeline-scm:
112 scm:
113 - git:
114 url: '$CI_SCRIPTS_REPO'
115 branches:
116 - '$CI_SCRIPTS_BRANCH'
117 credentials-id: GIT_SSH_KEY
118 wipe-workspace: false
Leonardo Sandovale7323ce2021-10-05 14:03:33 -0500119 script-path: jenkins/ci.jpl