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