Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
David Vincze | 16a9dac | 2023-01-06 15:16:47 +0100 | [diff] [blame] | 2 | # Copyright (c) 2022-2023, Arm Limited. All rights reserved. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 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 |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 19 | parameters: |
| 20 | - string: |
| 21 | name: 'FILTER_GROUP' |
David Hu | e9b0dd7 | 2022-11-17 11:12:26 +0800 | [diff] [blame] | 22 | default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_m_arotless \ |
| 23 | nightly_profile_l nightly_cc_driver_psa nightly_fp nightly_psa_api \ |
Xinyu Zhang | ea28912 | 2022-11-21 17:56:38 +0800 | [diff] [blame] | 24 | nightly_ipc_backend nightly_nsce nightly_mmio nightly_an547 nightly_an552 \ |
Antonio de Angelis | f00483b | 2023-05-02 18:01:00 +0200 | [diff] [blame] | 25 | nightly_corstone310 nightly_rss nightly_psoc64 \ |
Arthur She | 3d25276 | 2023-05-11 13:55:38 -0700 | [diff] [blame] | 26 | nightly_stm32l562e_dk nightly_lpcxpresso55s69 nightly_b_u585i_iot02a" |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 27 | description: | |
| 28 | Filter to a group of configurations as recognised by configs.py |
| 29 | - string: |
| 30 | name: 'CODE_REPO' |
| 31 | default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 32 | - string: |
| 33 | name: 'CI_SCRIPTS_REPO' |
| 34 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 35 | - string: |
| 36 | name: 'CI_SCRIPTS_BRANCH' |
| 37 | default: 'master' |
| 38 | - string: |
| 39 | name: 'GERRIT_REFSPEC' |
| 40 | default: 'refs/heads/master' |
| 41 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 42 | Specify which TF-M version to use |
| 43 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 44 | TAG_NAME : Pick up a tagged version |
| 45 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 46 | - string: |
| 47 | name: 'GERRIT_BRANCH' |
| 48 | default: 'master' |
| 49 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 50 | TF-M branch. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 51 | - string: |
| 52 | name: 'GERRIT_HOST' |
| 53 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 54 | No need to change. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 55 | - string: |
| 56 | name: 'GERRIT_CHANGE_NUMBER' |
| 57 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 58 | No need to change. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 59 | - string: |
| 60 | name: 'GERRIT_PATCHSET_REVISION' |
| 61 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 62 | No need to change. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 63 | - string: |
| 64 | name: 'MBEDTLS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 65 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 66 | description: | |
| 67 | Specify which MBEDTLS version to use |
| 68 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 69 | TAG_NAME : Pick up a tagged version |
| 70 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 71 | - string: |
| 72 | name: 'MBEDTLS_URL' |
| 73 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 74 | - string: |
| 75 | name: 'LAVA_URL' |
| 76 | default: 'https://tf.validation.linaro.org' |
| 77 | - string: |
| 78 | name: 'CODE_COVERAGE_EN' |
| 79 | default: 'FALSE' |
| 80 | - string: |
| 81 | name: 'LAVA_CREDENTIALS' |
| 82 | default: 'LAVA_CREDENTIALS' |
| 83 | description: "Name of Jenkins credential for authentication with LAVA." |
| 84 | - string: |
| 85 | name: 'SQUAD_CONFIGURATIONS' |
Xinyu Zhang | 1a4d110 | 2022-10-18 17:39:01 +0800 | [diff] [blame] | 86 | default: 'disabled' |
| 87 | description: 'Send metrics of reference configurations to a SQUAD Dashboard' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 88 | - string: |
| 89 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 90 | default: '' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 91 | description: | |
| 92 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 93 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 94 | TAG_NAME : Pick up a tagged version |
| 95 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 96 | - string: |
| 97 | name: 'MCUBOOT_URL' |
| 98 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 99 | - string: |
| 100 | name: 'TFM_TESTS_URL' |
| 101 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 102 | - string: |
| 103 | name: 'TFM_TESTS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 104 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 105 | description: | |
| 106 | Specify which tf-m-tests version to use |
| 107 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 108 | TAG_NAME : Pick up a tagged version |
| 109 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 110 | - string: |
Xinyu Zhang | 9dd8842 | 2023-07-03 11:02:21 +0800 | [diff] [blame^] | 111 | name: 'TFM_EXTRAS_URL' |
| 112 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 113 | - string: |
| 114 | name: 'TFM_EXTRAS_REFSPEC' |
| 115 | default: '' |
| 116 | description: | |
| 117 | Specify which tf-m-extras version to use |
| 118 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 119 | TAG_NAME : Pick up a tagged version |
| 120 | full commit hash : Pick up a specific commit |
| 121 | - string: |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 122 | name: 'PSA_ARCH_TESTS_URL' |
| 123 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 124 | - string: |
| 125 | name: 'PSA_ARCH_TESTS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 126 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 127 | description: | |
| 128 | Specify which psa-arch-tests version to use |
| 129 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 130 | TAG_NAME : Pick up a tagged version |
| 131 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 132 | - string: |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 133 | name: 'QCBOR_URL' |
| 134 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 135 | - string: |
| 136 | name: 'QCBOR_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 137 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 138 | description: | |
| 139 | Specify which QCBOR version to use |
| 140 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 141 | TAG_NAME : Pick up a tagged version |
| 142 | full commit hash : Pick up a specific commit |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 143 | - string: |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 144 | name: SHARE_FOLDER |
| 145 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 146 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 147 | wrappers: |
| 148 | - timestamps |
| 149 | pipeline-scm: |
| 150 | scm: |
| 151 | - git: |
| 152 | url: '$CI_SCRIPTS_REPO' |
| 153 | branches: |
| 154 | - '$CI_SCRIPTS_BRANCH' |
| 155 | credentials-id: GIT_SSH_KEY |
| 156 | wipe-workspace: false |
| 157 | script-path: jenkins/ci.jpl |