Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +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-nightly-for-test |
| 10 | description: 'Build that covers all nightly configs for verification.' |
| 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: |
| 20 | !include: authorization.yaml.inc |
| 21 | parameters: |
| 22 | - string: |
| 23 | name: 'FILTER_GROUP' |
Xinyu Zhang | 82a366c | 2022-04-11 18:18:59 +0800 | [diff] [blame^] | 24 | default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_l \ |
| 25 | nightly_cc_driver_psa nightly_fp nightly_psa_api nightly_otp \ |
| 26 | nightly_nsce nightly_mmio nightly_an547 nightly_an552 \ |
| 27 | nightly_polaris nightly_corstone1000 nightly_psoc64 \ |
| 28 | nightly_stm32l562e_dk nightly_lpcxpresso55s69" |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 29 | description: | |
| 30 | Filter to a group of configurations as recognised by configs.py |
| 31 | - string: |
| 32 | name: 'CODE_REPO' |
| 33 | 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. |
| 36 | - string: |
| 37 | name: 'CI_SCRIPTS_REPO' |
| 38 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 39 | - string: |
| 40 | name: 'CI_SCRIPTS_BRANCH' |
| 41 | default: 'master' |
| 42 | - string: |
| 43 | 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: |
| 65 | name: 'MBEDTLS_VERSION' |
| 66 | default: 'mbedtls-3.1.0' |
| 67 | - string: |
| 68 | name: 'MBEDTLS_URL' |
| 69 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 70 | - string: |
| 71 | name: 'LAVA_URL' |
| 72 | default: 'https://tf.validation.linaro.org' |
| 73 | - string: |
| 74 | name: 'CODE_COVERAGE_EN' |
| 75 | default: 'FALSE' |
| 76 | - string: |
| 77 | name: 'LAVA_CREDENTIALS' |
| 78 | default: 'LAVA_CREDENTIALS' |
| 79 | description: "Name of Jenkins credential for authentication with LAVA." |
| 80 | - string: |
| 81 | name: 'SQUAD_CONFIGURATIONS' |
| 82 | default: 'DefaultProfileS,MinSizeProfileS,DefaultProfileM,DefaultProfileL' |
| 83 | description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard' |
| 84 | - string: |
| 85 | name: 'MCUBOOT_REFSPEC' |
Sherry Zhang | 10ffcca | 2022-03-03 11:38:23 +0800 | [diff] [blame] | 86 | default: 'v1.9.0' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 87 | description: | |
| 88 | Specify which MCUboot version to use |
| 89 | refs/heads/master : Pick up latest master |
| 90 | refs/tags/<TAG_NAME> : Pick up a tagged version |
| 91 | - string: |
| 92 | name: 'MCUBOOT_URL' |
| 93 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 94 | - string: |
| 95 | name: 'TFM_TESTS_URL' |
| 96 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 97 | - string: |
| 98 | name: 'TFM_TESTS_REFSPEC' |
| 99 | default: 'refs/heads/master' |
| 100 | - string: |
| 101 | name: 'PSA_ARCH_TESTS_URL' |
| 102 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 103 | - string: |
| 104 | name: 'PSA_ARCH_TESTS_VERSION' |
Summer Qin | 9da600e | 2022-04-06 17:48:13 +0800 | [diff] [blame] | 105 | default: 'f7e8495dede62196a7fdd88470c58cf672525238' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 106 | - string: |
| 107 | name: SHARE_FOLDER |
| 108 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 109 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 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 |