blob: 4c3021e8364e973103847825f6d9b0e885ff3687 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
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'
Dean Birch1817bb62020-06-02 14:00:23 +010061 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000062 - string:
63 name: 'MBEDCRYPTO_VERSION'
64 default: 'mbedcrypto-3.0.1'
65 - string:
66 name: 'MBEDCRYPTO_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080067 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
Dean Birche4cbc7c2020-01-20 10:40:21 +000068 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080069 name: 'MBEDTLS_VERSION'
70 default: 'mbedtls-2.23.0'
71 - string:
72 name: 'MBEDTLS_URL'
73 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
74 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000075 name: 'BUILD_NUMBER'
76 default: ''
77 - string:
78 name: 'BUILD_URL'
79 default: ''
80 - string:
81 name: 'LAVA_URL'
82 default: 'https://tf.validation.linaro.org'
83 - string:
84 name: 'CI_SCRIPTS_BRANCH'
85 default: 'master'
86 - string:
87 name: 'DOCKER_PREFIX'
88 default: 'REPLACE_DOCKER_PREFIX'
89 - string:
90 name: 'LICENSE_VARIABLE'
91 default: 'REPLACE_LICENSE_VARIABLE'
Matthew Harta5bc91c2020-05-26 23:37:59 +010092 - string:
93 name: 'PSA_API_SUITE'
94 default: ''
Dean Birchc4d4d672020-08-12 10:38:58 +010095 - string:
96 name: 'LAVA_CREDENTIALS'
97 default: 'LAVA_CREDENTIALS'
98 description: "Name of Jenkins credential for authentication with LAVA."
Dean Birche4cbc7c2020-01-20 10:40:21 +000099 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/lava-submit.jpl