Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Summer Qin | 7632b81 | 2022-01-05 17:33:35 +0800 | [diff] [blame] | 2 | # Copyright (c) 2020-2022, Arm Limited. All rights reserved. |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 3 | # |
| 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 Copeland | 51ed371 | 2020-08-26 10:33:58 +0100 | [diff] [blame] | 15 | triggers: |
Benjamin Copeland | 312e469 | 2020-11-09 10:13:24 +0000 | [diff] [blame] | 16 | - timed: 'H */12 * * *' |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 17 | properties: |
| 18 | - build-discarder: |
Fathi Boudra | 52888c2 | 2020-11-10 21:34:35 +0100 | [diff] [blame] | 19 | days-to-keep: 15 |
| 20 | num-to-keep: 45 |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 21 | - throttle: |
| 22 | max-total: 5 |
| 23 | option: project |
| 24 | parameters: |
| 25 | - string: |
| 26 | name: 'FILTER_GROUP' |
Xinyu Zhang | ccdb75e | 2022-04-19 18:05:05 +0800 | [diff] [blame] | 27 | default: 'pp_test pp_psoc64' |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 28 | 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 Voipio | 02c8679 | 2021-09-02 13:42:14 +0300 | [diff] [blame] | 35 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 36 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 37 | name: 'CI_SCRIPTS_BRANCH' |
| 38 | default: 'master' |
| 39 | - string: |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 40 | name: 'GERRIT_REFSPEC' |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 41 | default: 'refs/heads/master' |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 42 | description: | |
| 43 | For use when triggering with unmerged Gerrit changes. |
| 44 | - string: |
| 45 | name: 'GERRIT_BRANCH' |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 46 | default: 'master' |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 47 | 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 Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 62 | name: 'MCUBOOT_REFSPEC' |
Sherry Zhang | 10ffcca | 2022-03-03 11:38:23 +0800 | [diff] [blame] | 63 | default: 'v1.9.0' |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 64 | 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 Zhang | e2e8871 | 2020-11-03 15:24:07 +0800 | [diff] [blame] | 75 | name: 'TFM_TESTS_REFSPEC' |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 76 | default: 'refs/heads/master' |
Xinyu Zhang | e2e8871 | 2020-11-03 15:24:07 +0800 | [diff] [blame] | 77 | description: | |
| 78 | For use when triggering with unmerged Gerrit changes for TF-M Test, ex: refs/changes/99/170399/3. |
| 79 | - string: |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 80 | name: 'MBEDTLS_VERSION' |
Antonio de Angelis | 20c0440 | 2022-07-16 00:01:05 +0100 | [diff] [blame] | 81 | default: 'mbedtls-3.2.1' |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 82 | - string: |
| 83 | name: 'MBEDTLS_URL' |
| 84 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 85 | - string: |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 86 | name: 'PSA_ARCH_TESTS_URL' |
| 87 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 88 | - string: |
| 89 | name: 'PSA_ARCH_TESTS_VERSION' |
Summer | 8858e3e | 2022-11-15 10:40:04 +0800 | [diff] [blame] | 90 | default: 'cf8bd7191219df9bdef387abcd750f0709283f98' |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 91 | - string: |
Xinyu Zhang | b06443a | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 92 | name: 'QCBOR_URL' |
| 93 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 94 | - string: |
| 95 | name: 'QCBOR_VERSION' |
| 96 | default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff' |
| 97 | - string: |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 98 | name: 'LAVA_URL' |
| 99 | default: 'https://tf.validation.linaro.org' |
| 100 | - string: |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 101 | name: 'CODE_COVERAGE_EN' |
| 102 | default: 'FALSE' |
Dean Birch | c4d4d67 | 2020-08-12 10:38:58 +0100 | [diff] [blame] | 103 | - string: |
| 104 | name: 'LAVA_CREDENTIALS' |
| 105 | default: 'LAVA_CREDENTIALS' |
| 106 | description: "Name of Jenkins credential for authentication with LAVA." |
Leonardo Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 107 | - string: |
| 108 | name: SHARE_FOLDER |
| 109 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 110 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
Dean Birch | f6ebab3 | 2020-08-11 12:53:30 +0100 | [diff] [blame] | 111 | 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 Sandoval | e7323ce | 2021-10-05 14:03:33 -0500 | [diff] [blame] | 119 | script-path: jenkins/ci.jpl |