blob: 70b243e0df9fb4f24d1c9e221a2a0b55cab38a7f [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
Riku Voipiod4ea5342020-09-04 16:00:02 +030015 properties:
16 - authorization:
17 anonymous:
18 - job-read
19 - job-extended-read
Dean Birche4cbc7c2020-01-20 10:40:21 +000020 parameters:
21 - string:
22 name: 'TARGET_PLATFORM'
23 description: |
24 Specifies the target platform.
25 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
26 default: ''
27 - string:
28 name: 'PROJ_CONFIG'
29 description: |
30 Specifies the way the application is built.
31 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
32 default: ''
33 - string:
34 name: 'COMPILER'
35 description: |
36 Specifies the compiler toolchain.
37 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
38 default: ''
39 - string:
40 name: 'CMAKE_BUILD_TYPE'
41 description: |
42 Configures debugging support.
43 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
44 default: ''
45 - string:
46 name: 'BL2'
47 default: 'True'
48 description: |
49 Whether to build BL2.
50 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_secure_boot.rst">here</a>.
51 - string:
52 name: 'GERRIT_REFSPEC'
53 default: 'refs/heads/master'
54 description: |
55 For use when triggering with unmerged Gerrit changes.
56 - string:
57 name: 'GERRIT_BRANCH'
58 default: 'master'
59 description: |
60 For use when triggering with unmerged Gerrit changes.
61 - string:
62 name: 'CI_SCRIPTS_REPO'
63 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
64 - string:
65 name: 'CODE_REPO'
Dean Birch1817bb62020-06-02 14:00:23 +010066 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000067 - string:
68 name: 'MBEDCRYPTO_VERSION'
69 default: 'mbedcrypto-3.0.1'
70 - string:
71 name: 'MBEDCRYPTO_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080072 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
Dean Birche4cbc7c2020-01-20 10:40:21 +000073 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080074 name: 'MBEDTLS_VERSION'
75 default: 'mbedtls-2.23.0'
76 - string:
77 name: 'MBEDTLS_URL'
78 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
79 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000080 name: 'BUILD_NUMBER'
81 default: ''
82 - string:
83 name: 'BUILD_URL'
84 default: ''
85 - string:
86 name: 'LAVA_URL'
87 default: 'https://tf.validation.linaro.org'
88 - string:
89 name: 'CI_SCRIPTS_BRANCH'
90 default: 'master'
91 - string:
92 name: 'DOCKER_PREFIX'
93 default: 'REPLACE_DOCKER_PREFIX'
94 - string:
95 name: 'LICENSE_VARIABLE'
96 default: 'REPLACE_LICENSE_VARIABLE'
Matthew Harta5bc91c2020-05-26 23:37:59 +010097 - string:
98 name: 'PSA_API_SUITE'
99 default: ''
Dean Birchc4d4d672020-08-12 10:38:58 +0100100 - string:
101 name: 'LAVA_CREDENTIALS'
102 default: 'LAVA_CREDENTIALS'
103 description: "Name of Jenkins credential for authentication with LAVA."
Dean Birche4cbc7c2020-01-20 10:40:21 +0000104 pipeline-scm:
105 scm:
106 - git:
107 url: '$CI_SCRIPTS_REPO'
108 branches:
109 - '$CI_SCRIPTS_BRANCH'
110 credentials-id: GIT_SSH_KEY
111 wipe-workspace: false
112 script-path: jenkins/lava-submit.jpl