Xinyu Zhang | 5fd9b7c | 2022-10-19 11:09:33 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-feature-test |
| 10 | description: 'This job is to test TF-M feature on specific branches.' |
| 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 | - throttle: |
| 20 | max-total: 5 |
| 21 | option: project |
| 22 | parameters: |
| 23 | - string: |
| 24 | name: 'FILTER_GROUP' |
| 25 | default: 'pp_test pp_corstone1000' |
| 26 | description: | |
| 27 | Filter to a group of configurations as recognised by configs.py |
| 28 | - string: |
| 29 | name: 'CODE_REPO' |
| 30 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
| 31 | - string: |
| 32 | name: 'CI_SCRIPTS_REPO' |
| 33 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 34 | - string: |
| 35 | name: 'CI_SCRIPTS_BRANCH' |
| 36 | default: 'feature/kconfig' |
| 37 | - string: |
| 38 | name: 'GERRIT_REFSPEC' |
| 39 | default: 'refs/heads/master' |
| 40 | description: | |
| 41 | For use when triggering with unmerged Gerrit changes. |
| 42 | - string: |
| 43 | name: 'GERRIT_BRANCH' |
| 44 | default: 'master' |
| 45 | description: | |
| 46 | For use when triggering with unmerged Gerrit changes. |
| 47 | - string: |
| 48 | name: 'GERRIT_HOST' |
| 49 | description: | |
| 50 | For use when triggering with unmerged Gerrit changes. |
| 51 | - string: |
| 52 | name: 'GERRIT_CHANGE_NUMBER' |
| 53 | description: | |
| 54 | For use when triggering with unmerged Gerrit changes. |
| 55 | - string: |
| 56 | name: 'GERRIT_PATCHSET_REVISION' |
| 57 | description: | |
| 58 | For use when triggering with unmerged Gerrit changes. |
| 59 | - string: |
| 60 | name: 'MBEDTLS_VERSION' |
| 61 | default: 'mbedtls-3.2.1' |
| 62 | - string: |
| 63 | name: 'MBEDTLS_URL' |
| 64 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 65 | - string: |
| 66 | name: 'MCUBOOT_URL' |
| 67 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 68 | - string: |
| 69 | name: 'MCUBOOT_REFSPEC' |
| 70 | default: 'v1.9.0' |
| 71 | description: | |
| 72 | Specify which MCUboot version to use |
| 73 | refs/heads/master : Pick up latest master |
| 74 | refs/tags/<TAG_NAME> : Pick up a tagged version |
| 75 | - string: |
| 76 | name: 'TFM_TESTS_URL' |
| 77 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 78 | - string: |
| 79 | name: 'TFM_TESTS_REFSPEC' |
| 80 | default: 'refs/heads/master' |
| 81 | - string: |
| 82 | name: 'PSA_ARCH_TESTS_URL' |
| 83 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 84 | - string: |
| 85 | name: 'PSA_ARCH_TESTS_VERSION' |
Summer | 8858e3e | 2022-11-15 10:40:04 +0800 | [diff] [blame] | 86 | default: 'cf8bd7191219df9bdef387abcd750f0709283f98' |
Xinyu Zhang | 5fd9b7c | 2022-10-19 11:09:33 +0800 | [diff] [blame] | 87 | - string: |
| 88 | name: 'LAVA_URL' |
| 89 | default: 'https://tf.validation.linaro.org' |
| 90 | - string: |
| 91 | name: 'CODE_COVERAGE_EN' |
| 92 | default: 'FALSE' |
| 93 | - string: |
| 94 | name: 'SQUAD_CONFIGURATIONS' |
| 95 | default: 'disabled' |
| 96 | description: 'Send metrics of reference configurations to a SQUAD Dashboard' |
| 97 | - string: |
| 98 | name: 'LAVA_CREDENTIALS' |
| 99 | default: 'LAVA_CREDENTIALS' |
| 100 | description: "Name of Jenkins credential for authentication with LAVA." |
| 101 | - string: |
| 102 | name: SHARE_FOLDER |
| 103 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 104 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 105 | - string: |
| 106 | name: 'DEVICE_FILTER' |
| 107 | default: '' |
| 108 | description: | |
| 109 | Parameter to lava_create_jobs.py to filter by device type (e.g. --fvp-only or --physical-board-only) |
| 110 | wrappers: |
| 111 | - timestamps |
| 112 | pipeline-scm: |
| 113 | scm: |
| 114 | - git: |
| 115 | url: '$CI_SCRIPTS_REPO' |
| 116 | branches: |
| 117 | - '$CI_SCRIPTS_BRANCH' |
| 118 | credentials-id: GIT_SSH_KEY |
| 119 | wipe-workspace: false |
| 120 | script-path: jenkins/ci.jpl |