Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Summer Qin | 7632b81 | 2022-01-05 17:33:35 +0800 | [diff] [blame] | 2 | # Copyright (c) 2020-2022, Arm Limited. All rights reserved. |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | - job: |
| 9 | name: tf-m-nightly |
| 10 | description: 'Build that triggers nightly to build many configurations.' |
| 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 |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 19 | triggers: |
Karl Zhang | 8c96a66 | 2020-10-10 10:43:56 +0800 | [diff] [blame] | 20 | - timed: 'H 21 * * *' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 21 | parameters: |
| 22 | - string: |
| 23 | name: 'FILTER_GROUP' |
David Hu | e9b0dd7 | 2022-11-17 11:12:26 +0800 | [diff] [blame] | 24 | default: "nightly_test nightly_profile_s nightly_profile_m nightly_profile_m_arotless \ |
| 25 | nightly_profile_l nightly_cc_driver_psa nightly_fp nightly_psa_api \ |
Xinyu Zhang | ea28912 | 2022-11-21 17:56:38 +0800 | [diff] [blame] | 26 | nightly_ipc_backend nightly_nsce nightly_mmio nightly_an547 nightly_an552 \ |
Jamie Fox | 55649c2 | 2022-09-09 14:32:01 +0100 | [diff] [blame] | 27 | nightly_corstone310 nightly_corstone1000 nightly_rss nightly_psoc64 \ |
Xinyu Zhang | 82a366c | 2022-04-11 18:18:59 +0800 | [diff] [blame] | 28 | nightly_stm32l562e_dk nightly_lpcxpresso55s69" |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 29 | description: | |
| 30 | Filter to a group of configurations as recognised by configs.py |
| 31 | - string: |
| 32 | name: 'CODE_REPO' |
Riku Voipio | a0e48ac | 2020-12-04 11:29:34 +0200 | [diff] [blame] | 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. |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 36 | - string: |
| 37 | name: 'CI_SCRIPTS_REPO' |
Riku Voipio | a0e48ac | 2020-12-04 11:29:34 +0200 | [diff] [blame] | 38 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 39 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 40 | name: 'CI_SCRIPTS_BRANCH' |
| 41 | default: 'master' |
| 42 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 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: |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 65 | name: 'MBEDTLS_VERSION' |
Antonio de Angelis | 20c0440 | 2022-07-16 00:01:05 +0100 | [diff] [blame] | 66 | default: 'mbedtls-3.2.1' |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 67 | - string: |
| 68 | name: 'MBEDTLS_URL' |
| 69 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 70 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 71 | name: 'LAVA_URL' |
| 72 | default: 'https://tf.validation.linaro.org' |
| 73 | - string: |
Karl Zhang | 68a81b4 | 2020-07-24 18:38:08 +0800 | [diff] [blame] | 74 | name: 'CODE_COVERAGE_EN' |
| 75 | default: 'FALSE' |
Dean Birch | c4d4d67 | 2020-08-12 10:38:58 +0100 | [diff] [blame] | 76 | - string: |
| 77 | name: 'LAVA_CREDENTIALS' |
| 78 | default: 'LAVA_CREDENTIALS' |
| 79 | description: "Name of Jenkins credential for authentication with LAVA." |
Karl Zhang | debc2ab | 2020-09-18 14:28:30 +0800 | [diff] [blame] | 80 | - string: |
| 81 | name: 'EMAIL_NOTIFICATION' |
Karl Zhang | 8e0d046 | 2020-12-08 09:32:12 +0800 | [diff] [blame] | 82 | default: 'tf-m-ci-notifications@lists.trustedfirmware.org' |
Hugo L'Hostis | ad58649 | 2021-01-06 11:53:30 +0000 | [diff] [blame] | 83 | - string: |
| 84 | name: 'SQUAD_CONFIGURATIONS' |
Xinyu Zhang | 1a4d110 | 2022-10-18 17:39:01 +0800 | [diff] [blame] | 85 | default: 'enabled' |
| 86 | description: 'Send metrics of reference configurations to a SQUAD Dashboard' |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 87 | - string: |
| 88 | name: 'MCUBOOT_REFSPEC' |
Sherry Zhang | 10ffcca | 2022-03-03 11:38:23 +0800 | [diff] [blame] | 89 | default: 'v1.9.0' |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 90 | description: | |
| 91 | Specify which MCUboot version to use |
| 92 | refs/heads/master : Pick up latest master |
| 93 | refs/tags/<TAG_NAME> : Pick up a tagged version |
| 94 | - string: |
| 95 | name: 'MCUBOOT_URL' |
| 96 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
| 97 | - string: |
| 98 | name: 'TFM_TESTS_URL' |
| 99 | default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git' |
| 100 | - string: |
| 101 | name: 'TFM_TESTS_REFSPEC' |
| 102 | default: 'refs/heads/master' |
| 103 | - string: |
| 104 | name: 'PSA_ARCH_TESTS_URL' |
| 105 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
| 106 | - string: |
| 107 | name: 'PSA_ARCH_TESTS_VERSION' |
Summer | 8858e3e | 2022-11-15 10:40:04 +0800 | [diff] [blame] | 108 | default: 'cf8bd7191219df9bdef387abcd750f0709283f98' |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 109 | - string: |
Xinyu Zhang | b06443a | 2022-11-23 17:50:21 +0800 | [diff] [blame] | 110 | name: 'QCBOR_URL' |
| 111 | default: 'https://github.com/laurencelundblade/QCBOR.git' |
| 112 | - string: |
| 113 | name: 'QCBOR_VERSION' |
| 114 | default: 'b0e7033268e88c9f27146fa9a1415ef4c19ebaff' |
| 115 | - string: |
Leonardo Sandoval | 4a02421 | 2021-09-17 14:05:27 -0500 | [diff] [blame] | 116 | name: SHARE_FOLDER |
| 117 | default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}' |
| 118 | description: 'Folder containing shared repositories for downstream pipeline jobs' |
Xinyu Zhang | 59f7fee | 2021-05-21 14:04:11 +0800 | [diff] [blame] | 119 | wrappers: |
| 120 | - timestamps |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 121 | pipeline-scm: |
| 122 | scm: |
| 123 | - git: |
| 124 | url: '$CI_SCRIPTS_REPO' |
| 125 | branches: |
| 126 | - '$CI_SCRIPTS_BRANCH' |
| 127 | credentials-id: GIT_SSH_KEY |
| 128 | wipe-workspace: false |
| 129 | script-path: jenkins/ci.jpl |