Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
David Vincze | 16a9dac | 2023-01-06 15:16:47 +0100 | [diff] [blame] | 2 | # Copyright (c) 2021-2023, Arm Limited. All rights reserved. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-extra-build |
Xinyu Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 10 | description: 'Build extra configurations nightly.' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 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 | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 19 | triggers: |
| 20 | - timed: 'H 21 * * *' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 21 | parameters: |
| 22 | - string: |
| 23 | name: 'FILTER_GROUP' |
Jamie Fox | b11bc45 | 2024-02-19 15:14:47 +0000 | [diff] [blame] | 24 | default: "an524 cs300_an547 cs300_an552 corstone310 rse \ |
Anton Komlev | 74b7925 | 2024-02-12 15:09:24 +0100 | [diff] [blame] | 25 | cypress_psoc64 corstone1000 \ |
Arthur She | c55cea2 | 2024-02-07 14:17:34 -0800 | [diff] [blame] | 26 | stm_nucleo_l552ze_q stm_stm32h573i_dk nxp_lpcxpresso55s69 \ |
Xinyu Zhang | 7b6eb6f | 2023-11-21 18:34:37 +0800 | [diff] [blame] | 27 | example_vad example_dma350_trigger \ |
Bence Balogh | 890f1be | 2023-08-07 15:31:30 +0200 | [diff] [blame] | 28 | example_dma350_s example_dma350_ns" |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +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' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 34 | - string: |
| 35 | name: 'CI_SCRIPTS_REPO' |
| 36 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 37 | - string: |
| 38 | name: 'CI_SCRIPTS_BRANCH' |
| 39 | default: 'master' |
| 40 | - string: |
| 41 | name: 'GERRIT_REFSPEC' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 42 | default: 'refs/heads/main' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 43 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 44 | Specify which TF-M version to use |
| 45 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 46 | TAG_NAME : Pick up a tagged version |
| 47 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 48 | - string: |
| 49 | name: 'GERRIT_BRANCH' |
Xinyu Zhang | 8450cc9 | 2023-09-21 16:46:13 +0800 | [diff] [blame] | 50 | default: 'main' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 51 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 52 | TF-M branch. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 53 | - string: |
| 54 | name: 'GERRIT_HOST' |
| 55 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 56 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 57 | - string: |
| 58 | name: 'GERRIT_CHANGE_NUMBER' |
| 59 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 60 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 61 | - string: |
| 62 | name: 'GERRIT_PATCHSET_REVISION' |
| 63 | description: | |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 64 | No need to change. |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 65 | - string: |
| 66 | name: 'MBEDTLS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 67 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 68 | description: | |
| 69 | Specify which MBEDTLS version to use |
| 70 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 71 | TAG_NAME : Pick up a tagged version |
| 72 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 73 | - string: |
| 74 | name: 'MBEDTLS_URL' |
| 75 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 76 | - string: |
| 77 | name: 'LAVA_URL' |
| 78 | default: 'https://tf.validation.linaro.org' |
| 79 | - string: |
| 80 | name: 'CODE_COVERAGE_EN' |
| 81 | default: 'FALSE' |
| 82 | - string: |
| 83 | name: 'LAVA_CREDENTIALS' |
| 84 | default: 'LAVA_CREDENTIALS' |
| 85 | description: "Name of Jenkins credential for authentication with LAVA." |
| 86 | - string: |
| 87 | name: 'EMAIL_NOTIFICATION' |
Xinyu Zhang | 15ff672 | 2021-11-15 15:07:07 +0800 | [diff] [blame] | 88 | default: 'xinyu.zhang@arm.com' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 89 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 90 | name: 'MCUBOOT_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 91 | default: '' |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 92 | description: | |
| 93 | Specify which MCUboot version to use |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 94 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 95 | TAG_NAME : Pick up a tagged version |
| 96 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 97 | - string: |
| 98 | name: 'MCUBOOT_URL' |
| 99 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 100 | - string: |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 101 | name: 'TFM_EXTRAS_URL' |
| 102 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-extras.git' |
| 103 | - string: |
| 104 | name: 'TFM_EXTRAS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 105 | default: '' |
Bence Balogh | 57445b7 | 2022-10-14 17:48:09 +0200 | [diff] [blame] | 106 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 107 | name: 'TFM_TESTS_URL' |
| 108 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 109 | - string: |
| 110 | name: 'TFM_TESTS_REFSPEC' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 111 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 112 | description: | |
| 113 | Specify which tf-m-tests version to use |
| 114 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 115 | TAG_NAME : Pick up a tagged version |
| 116 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 117 | - string: |
| 118 | name: 'PSA_ARCH_TESTS_URL' |
| 119 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 120 | - string: |
| 121 | name: 'PSA_ARCH_TESTS_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 122 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 123 | description: | |
| 124 | Specify which psa-arch-tests version to use |
| 125 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 126 | TAG_NAME : Pick up a tagged version |
| 127 | full commit hash : Pick up a specific commit |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 128 | - string: |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 129 | name: 'QCBOR_URL' |
| 130 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 131 | - string: |
| 132 | name: 'QCBOR_VERSION' |
Xinyu Zhang | 004f342 | 2023-06-27 12:02:31 +0800 | [diff] [blame] | 133 | default: '' |
Xinyu Zhang | 8926ad3 | 2023-02-15 14:43:38 +0800 | [diff] [blame] | 134 | description: | |
| 135 | Specify which QCBOR version to use |
| 136 | refs/heads/<branch_name> : Pick up latest HEAD on branch |
| 137 | TAG_NAME : Pick up a tagged version |
| 138 | full commit hash : Pick up a specific commit |
Xinyu Zhang | 79e1aa1 | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 139 | - string: |
Xinyu Zhang | a1d6aaf | 2021-11-15 15:03:05 +0800 | [diff] [blame] | 140 | name: SHARE_FOLDER |
| 141 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 142 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
| 143 | wrappers: |
| 144 | - timestamps |
| 145 | pipeline-scm: |
| 146 | scm: |
| 147 | - git: |
| 148 | url: '$CI_SCRIPTS_REPO' |
| 149 | branches: |
| 150 | - '$CI_SCRIPTS_BRANCH' |
| 151 | credentials-id: GIT_SSH_KEY |
| 152 | wipe-workspace: false |
| 153 | script-path: jenkins/ci.jpl |