Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Hugo L'Hostis | ad58649 | 2021-01-06 11:53:30 +0000 | [diff] [blame^] | 2 | # Copyright (c) 2020-2021, 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 |
| 19 | - authorization: |
Riku Voipio | d4ea534 | 2020-09-04 16:00:02 +0300 | [diff] [blame] | 20 | anonymous: |
| 21 | - job-read |
| 22 | - job-extended-read |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 23 | suihkulokki: |
| 24 | - job-read |
| 25 | - job-extended-read |
| 26 | - job-build |
| 27 | - job-cancel |
| 28 | minosgalanakis: |
| 29 | - job-read |
| 30 | - job-extended-read |
| 31 | - job-build |
| 32 | - job-cancel |
| 33 | bhcopeland: |
| 34 | - job-read |
| 35 | - job-extended-read |
| 36 | - job-build |
| 37 | - job-cancel |
Fathi Boudra | cbc85a5 | 2020-12-15 21:22:59 +0100 | [diff] [blame] | 38 | fboudra: |
| 39 | - job-read |
| 40 | - job-extended-read |
| 41 | - job-build |
| 42 | - job-cancel |
Xinyu Zhang | 043d5aa | 2020-10-15 18:20:17 +0800 | [diff] [blame] | 43 | karl-zh: |
| 44 | - job-read |
| 45 | - job-extended-read |
| 46 | - job-build |
| 47 | - job-cancel |
| 48 | xinyu-tfm: |
| 49 | - job-read |
| 50 | - job-extended-read |
| 51 | - job-build |
| 52 | - job-cancel |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 53 | triggers: |
Karl Zhang | 8c96a66 | 2020-10-10 10:43:56 +0800 | [diff] [blame] | 54 | - timed: 'H 21 * * *' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 55 | parameters: |
| 56 | - string: |
| 57 | name: 'FILTER_GROUP' |
Xinyu Zhang | 5d0a172 | 2020-12-04 15:01:29 +0800 | [diff] [blame] | 58 | default: 'nightly_test nightly_profile nightly_psa_api nightly_ff nightly_otp' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 59 | description: | |
| 60 | Filter to a group of configurations as recognised by configs.py |
| 61 | - string: |
| 62 | name: 'CODE_REPO' |
Riku Voipio | a0e48ac | 2020-12-04 11:29:34 +0200 | [diff] [blame] | 63 | default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m' |
| 64 | description: | |
| 65 | 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] | 66 | - string: |
| 67 | name: 'CI_SCRIPTS_REPO' |
Riku Voipio | a0e48ac | 2020-12-04 11:29:34 +0200 | [diff] [blame] | 68 | default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 69 | - string: |
Fathi Boudra | ccaba54 | 2020-11-19 10:11:43 +0100 | [diff] [blame] | 70 | name: 'CI_SCRIPTS_BRANCH' |
| 71 | default: 'master' |
| 72 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 73 | name: 'GERRIT_REFSPEC' |
| 74 | default: 'refs/heads/master' |
| 75 | description: | |
| 76 | For use when triggering with unmerged Gerrit changes. |
| 77 | - string: |
| 78 | name: 'GERRIT_BRANCH' |
| 79 | default: 'master' |
| 80 | description: | |
| 81 | For use when triggering with unmerged Gerrit changes. |
| 82 | - string: |
| 83 | name: 'GERRIT_HOST' |
| 84 | description: | |
| 85 | For use when triggering with unmerged Gerrit changes. |
| 86 | - string: |
| 87 | name: 'GERRIT_CHANGE_NUMBER' |
| 88 | description: | |
| 89 | For use when triggering with unmerged Gerrit changes. |
| 90 | - string: |
| 91 | name: 'GERRIT_PATCHSET_REVISION' |
| 92 | description: | |
| 93 | For use when triggering with unmerged Gerrit changes. |
| 94 | - string: |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 95 | name: 'MBEDTLS_VERSION' |
Summer Qin | a400be8 | 2020-10-28 15:00:00 +0800 | [diff] [blame] | 96 | default: 'mbedtls-2.24.0' |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame] | 97 | - string: |
| 98 | name: 'MBEDTLS_URL' |
| 99 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 100 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 101 | name: 'LAVA_URL' |
| 102 | default: 'https://tf.validation.linaro.org' |
| 103 | - string: |
Karl Zhang | 68a81b4 | 2020-07-24 18:38:08 +0800 | [diff] [blame] | 104 | name: 'CODE_COVERAGE_EN' |
| 105 | default: 'FALSE' |
Dean Birch | c4d4d67 | 2020-08-12 10:38:58 +0100 | [diff] [blame] | 106 | - string: |
| 107 | name: 'LAVA_CREDENTIALS' |
| 108 | default: 'LAVA_CREDENTIALS' |
| 109 | description: "Name of Jenkins credential for authentication with LAVA." |
Karl Zhang | debc2ab | 2020-09-18 14:28:30 +0800 | [diff] [blame] | 110 | - string: |
| 111 | name: 'EMAIL_NOTIFICATION' |
Karl Zhang | 8e0d046 | 2020-12-08 09:32:12 +0800 | [diff] [blame] | 112 | default: 'tf-m-ci-notifications@lists.trustedfirmware.org' |
Hugo L'Hostis | ad58649 | 2021-01-06 11:53:30 +0000 | [diff] [blame^] | 113 | - string: |
| 114 | name: 'SQUAD_CONFIGURATIONS' |
| 115 | default: 'Default,CoreIPC,CoreIPCTfmLevel2' |
| 116 | description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 117 | pipeline-scm: |
| 118 | scm: |
| 119 | - git: |
| 120 | url: '$CI_SCRIPTS_REPO' |
| 121 | branches: |
| 122 | - '$CI_SCRIPTS_BRANCH' |
| 123 | credentials-id: GIT_SSH_KEY |
| 124 | wipe-workspace: false |
| 125 | script-path: jenkins/ci.jpl |