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 \ |
Bence Balogh | 0da3dd9 | 2023-08-29 13:32:41 +0200 | [diff] [blame] | 24 | nightly_ipc_backend nightly_nsce nightly_mmio nightly_cs300_an547 \ |
| 25 | nightly_cs300_an552 nightly_cs300_fvp nightly_corstone310 \ |
Xinyu Zhang | 7dd42d0 | 2023-10-31 16:36:34 +0800 | [diff] [blame] | 26 | nightly_corstone1000 nightly_psoc64 nightly_stm32l562e_dk \ |
Bence Balogh | 0da3dd9 | 2023-08-29 13:32:41 +0200 | [diff] [blame] | 27 | nightly_lpcxpresso55s69 nightly_b_u585i_iot02a" |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [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://git.trustedfirmware.org/TF-M/trusted-firmware-m' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 33 | - string: |
| 34 | name: 'CI_SCRIPTS_REPO' |
| 35 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 36 | - string: |
| 37 | name: 'CI_SCRIPTS_BRANCH' |
| 38 | default: 'master' |
| 39 | - string: |
| 40 | name: 'GERRIT_REFSPEC' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 41 | default: 'refs/heads/main' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 42 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 43 | Specify which TF-M version to use |
| 44 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 45 | TAG_NAME : Pick up a tagged version |
| 46 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 47 | - string: |
| 48 | name: 'GERRIT_BRANCH' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 49 | default: 'main' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 50 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 51 | TF-M branch. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 52 | - string: |
| 53 | name: 'GERRIT_HOST' |
| 54 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 55 | No need to change. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 56 | - string: |
| 57 | name: 'GERRIT_CHANGE_NUMBER' |
| 58 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 59 | No need to change. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 60 | - string: |
| 61 | name: 'GERRIT_PATCHSET_REVISION' |
| 62 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 63 | No need to change. |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 64 | - string: |
| 65 | name: 'MBEDTLS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 66 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 67 | description: | |
| 68 | Specify which MBEDTLS version to use |
| 69 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 70 | TAG_NAME : Pick up a tagged version |
| 71 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 72 | - string: |
| 73 | name: 'MBEDTLS_URL' |
| 74 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 75 | - string: |
| 76 | name: 'LAVA_URL' |
| 77 | default: 'https://tf.validation.linaro.org' |
| 78 | - string: |
| 79 | name: 'CODE_COVERAGE_EN' |
| 80 | default: 'FALSE' |
| 81 | - string: |
| 82 | name: 'LAVA_CREDENTIALS' |
| 83 | default: 'LAVA_CREDENTIALS' |
| 84 | description: "Name of Jenkins credential for authentication with LAVA." |
| 85 | - string: |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 86 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 87 | default: '' |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 88 | description: | |
| 89 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 90 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 91 | TAG_NAME : Pick up a tagged version |
| 92 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 93 | - string: |
| 94 | name: 'MCUBOOT_URL' |
| 95 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 96 | - string: |
| 97 | name: 'TFM_TESTS_URL' |
| 98 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 99 | - string: |
| 100 | name: 'TFM_TESTS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 101 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 102 | description: | |
| 103 | Specify which tf-m-tests version to use |
| 104 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 105 | TAG_NAME : Pick up a tagged version |
| 106 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 107 | - string: |
Xinyu Zhang | 9dd8842 | 2023-07-03 11:02:21 +0800 | [diff] [blame] | 108 | name: 'TFM_EXTRAS_URL' |
| 109 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 110 | - string: |
| 111 | name: 'TFM_EXTRAS_REFSPEC' |
| 112 | default: '' |
| 113 | description: | |
| 114 | Specify which tf-m-extras version to use |
| 115 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 116 | TAG_NAME : Pick up a tagged version |
| 117 | full commit hash : Pick up a specific commit |
| 118 | - string: |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 119 | name: 'PSA_ARCH_TESTS_URL' |
| 120 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 121 | - string: |
| 122 | name: 'PSA_ARCH_TESTS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 123 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 124 | description: | |
| 125 | Specify which psa-arch-tests version to use |
| 126 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 127 | TAG_NAME : Pick up a tagged version |
| 128 | full commit hash : Pick up a specific commit |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 129 | - string: |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 130 | name: 'QCBOR_URL' |
| 131 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 132 | - string: |
| 133 | name: 'QCBOR_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 134 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 135 | description: | |
| 136 | Specify which QCBOR version to use |
| 137 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 138 | TAG_NAME : Pick up a tagged version |
| 139 | full commit hash : Pick up a specific commit |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 140 | - string: |
Xinyu Zhang | aae3f47 | 2022-01-25 10:24:52 +0800 | [diff] [blame] | 141 | name: SHARE_FOLDER |
| 142 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 143 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 144 | wrappers: |
| 145 | - timestamps |
| 146 | pipeline-scm: |
| 147 | scm: |
| 148 | - git: |
| 149 | url: '$CI_SCRIPTS_REPO' |
| 150 | branches: |
| 151 | - '$CI_SCRIPTS_BRANCH' |
| 152 | credentials-id: GIT_SSH_KEY |
| 153 | wipe-workspace: false |
| 154 | script-path: jenkins/ci.jpl |