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-lava-submit |
| 10 | description: 'Generates and submits LAVA jobs' |
| 11 | project-type: pipeline |
| 12 | disabled: false |
| 13 | sandbox: true |
| 14 | concurrent: true |
| 15 | parameters: |
| 16 | - string: |
| 17 | name: 'TARGET_PLATFORM' |
| 18 | description: | |
| 19 | Specifies the target platform. |
| 20 | For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>. |
| 21 | default: '' |
| 22 | - string: |
| 23 | name: 'PROJ_CONFIG' |
| 24 | description: | |
| 25 | Specifies the way the application is built. |
| 26 | For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>. |
| 27 | default: '' |
| 28 | - string: |
| 29 | name: 'COMPILER' |
| 30 | description: | |
| 31 | Specifies the compiler toolchain. |
| 32 | For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>. |
| 33 | default: '' |
| 34 | - string: |
| 35 | name: 'CMAKE_BUILD_TYPE' |
| 36 | description: | |
| 37 | Configures debugging support. |
| 38 | For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>. |
| 39 | default: '' |
| 40 | - string: |
| 41 | name: 'BL2' |
| 42 | default: 'True' |
| 43 | description: | |
| 44 | Whether to build BL2. |
| 45 | For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_secure_boot.rst">here</a>. |
| 46 | - string: |
| 47 | name: 'GERRIT_REFSPEC' |
| 48 | default: 'refs/heads/master' |
| 49 | description: | |
| 50 | For use when triggering with unmerged Gerrit changes. |
| 51 | - string: |
| 52 | name: 'GERRIT_BRANCH' |
| 53 | default: 'master' |
| 54 | description: | |
| 55 | For use when triggering with unmerged Gerrit changes. |
| 56 | - string: |
| 57 | name: 'CI_SCRIPTS_REPO' |
| 58 | default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts' |
| 59 | - string: |
| 60 | name: 'CODE_REPO' |
| 61 | default: 'https://review.trustedfirmware.org/trusted-firmware-m' |
| 62 | - string: |
| 63 | name: 'MBEDCRYPTO_VERSION' |
| 64 | default: 'mbedcrypto-3.0.1' |
| 65 | - string: |
| 66 | name: 'MBEDCRYPTO_URL' |
| 67 | default: 'https://github.com/ARMmbed/mbed-crypto' |
| 68 | - string: |
| 69 | name: 'CMSIS_VERSION' |
| 70 | default: '5.5.0' |
| 71 | - string: |
| 72 | name: 'BUILD_NUMBER' |
| 73 | default: '' |
| 74 | - string: |
| 75 | name: 'BUILD_URL' |
| 76 | default: '' |
| 77 | - string: |
| 78 | name: 'LAVA_URL' |
| 79 | default: 'https://tf.validation.linaro.org' |
| 80 | - string: |
| 81 | name: 'CI_SCRIPTS_BRANCH' |
| 82 | default: 'master' |
| 83 | - string: |
| 84 | name: 'DOCKER_PREFIX' |
| 85 | default: 'REPLACE_DOCKER_PREFIX' |
| 86 | - string: |
| 87 | name: 'LICENSE_VARIABLE' |
| 88 | default: 'REPLACE_LICENSE_VARIABLE' |
| 89 | pipeline-scm: |
| 90 | scm: |
| 91 | - git: |
| 92 | url: '$CI_SCRIPTS_REPO' |
| 93 | branches: |
| 94 | - '$CI_SCRIPTS_BRANCH' |
| 95 | credentials-id: GIT_SSH_KEY |
| 96 | wipe-workspace: false |
| 97 | script-path: jenkins/lava-submit.jpl |