Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 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: |
| 20 | suihkulokki: |
| 21 | - job-read |
| 22 | - job-extended-read |
| 23 | - job-build |
| 24 | - job-cancel |
| 25 | minosgalanakis: |
| 26 | - job-read |
| 27 | - job-extended-read |
| 28 | - job-build |
| 29 | - job-cancel |
| 30 | bhcopeland: |
| 31 | - job-read |
| 32 | - job-extended-read |
| 33 | - job-build |
| 34 | - job-cancel |
| 35 | triggers: |
Karl Zhang | 6ef945e | 2020-06-11 08:24:54 +0800 | [diff] [blame] | 36 | - timed: 'H 21 * * *' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 37 | parameters: |
| 38 | - string: |
| 39 | name: 'FILTER_GROUP' |
Karl Zhang | 0c4ed91 | 2020-06-12 10:19:51 +0800 | [diff] [blame] | 40 | default: 'nightly_test_gnu nightly_profile_gnu nightly_psa_api_gnu nightly_ff_gnu nightly_otp_gnu' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 41 | description: | |
| 42 | Filter to a group of configurations as recognised by configs.py |
| 43 | - string: |
| 44 | name: 'CODE_REPO' |
Dean Birch | 1817bb6 | 2020-06-02 14:00:23 +0100 | [diff] [blame] | 45 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 46 | - string: |
| 47 | name: 'CI_SCRIPTS_REPO' |
| 48 | default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 49 | - string: |
| 50 | name: 'GERRIT_REFSPEC' |
| 51 | default: 'refs/heads/master' |
| 52 | description: | |
| 53 | For use when triggering with unmerged Gerrit changes. |
| 54 | - string: |
| 55 | name: 'GERRIT_BRANCH' |
| 56 | default: 'master' |
| 57 | description: | |
| 58 | For use when triggering with unmerged Gerrit changes. |
| 59 | - string: |
| 60 | name: 'GERRIT_HOST' |
| 61 | description: | |
| 62 | For use when triggering with unmerged Gerrit changes. |
| 63 | - string: |
| 64 | name: 'GERRIT_CHANGE_NUMBER' |
| 65 | description: | |
| 66 | For use when triggering with unmerged Gerrit changes. |
| 67 | - string: |
| 68 | name: 'GERRIT_PATCHSET_REVISION' |
| 69 | description: | |
| 70 | For use when triggering with unmerged Gerrit changes. |
| 71 | - string: |
| 72 | name: 'MBEDCRYPTO_VERSION' |
| 73 | default: 'mbedcrypto-3.0.1' |
| 74 | - string: |
| 75 | name: 'MBEDCRYPTO_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame] | 76 | default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 77 | - string: |
Karl Zhang | 85c2d7a | 2020-08-20 11:17:58 +0800 | [diff] [blame^] | 78 | name: 'MBEDTLS_VERSION' |
| 79 | default: 'mbedtls-2.23.0' |
| 80 | - string: |
| 81 | name: 'MBEDTLS_URL' |
| 82 | default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git' |
| 83 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 84 | name: 'CMSIS_VERSION' |
| 85 | default: '5.5.0' |
| 86 | - string: |
| 87 | name: 'LAVA_URL' |
| 88 | default: 'https://tf.validation.linaro.org' |
| 89 | - string: |
| 90 | name: 'CI_SCRIPTS_BRANCH' |
| 91 | default: 'master' |
Karl Zhang | 68a81b4 | 2020-07-24 18:38:08 +0800 | [diff] [blame] | 92 | - string: |
| 93 | name: 'CODE_COVERAGE_EN' |
| 94 | default: 'FALSE' |
Dean Birch | c4d4d67 | 2020-08-12 10:38:58 +0100 | [diff] [blame] | 95 | - string: |
| 96 | name: 'LAVA_CREDENTIALS' |
| 97 | default: 'LAVA_CREDENTIALS' |
| 98 | description: "Name of Jenkins credential for authentication with LAVA." |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 99 | pipeline-scm: |
| 100 | scm: |
| 101 | - git: |
| 102 | url: '$CI_SCRIPTS_REPO' |
| 103 | branches: |
| 104 | - '$CI_SCRIPTS_BRANCH' |
| 105 | credentials-id: GIT_SSH_KEY |
| 106 | wipe-workspace: false |
| 107 | script-path: jenkins/ci.jpl |