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