blob: 72ebd44e6ffe70297867d0b08ae6a120f49aabbd [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
Summer Qin7632b812022-01-05 17:33:35 +08002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Dean Birche4cbc7c2020-01-20 10:40:21 +00003#
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
Fathi Boudra57ba4302020-11-10 12:56:53 +010019# Instance specific parameters can be set as environment variables in
20# * docker image (ENV)
21# * Jenkins -> configure system -> global properties -> environment variables
22# e.g. DOCKER_PREFIX, LICENSE_VARIABLE
Dean Birche4cbc7c2020-01-20 10:40:21 +000023 parameters:
24 - string:
25 name: 'TARGET_PLATFORM'
26 description: |
27 Specifies the target platform.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010028 For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
Dean Birche4cbc7c2020-01-20 10:40:21 +000029 default: ''
30 - string:
31 name: 'PROJ_CONFIG'
32 description: |
33 Specifies the way the application is built.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010034 For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
Dean Birche4cbc7c2020-01-20 10:40:21 +000035 default: ''
36 - string:
37 name: 'COMPILER'
38 description: |
39 Specifies the compiler toolchain.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010040 For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
Dean Birche4cbc7c2020-01-20 10:40:21 +000041 default: ''
42 - string:
43 name: 'CMAKE_BUILD_TYPE'
44 description: |
45 Configures debugging support.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010046 For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
Dean Birche4cbc7c2020-01-20 10:40:21 +000047 default: ''
48 - string:
49 name: 'BL2'
50 default: 'True'
51 description: |
52 Whether to build BL2.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010053 For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_secure_boot.rst">here</a>.
Dean Birche4cbc7c2020-01-20 10:40:21 +000054 - 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:
Fathi Boudraccaba542020-11-19 10:11:43 +010065 name: 'CODE_REPO'
66 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
67 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000068 name: 'CI_SCRIPTS_REPO'
Riku Voipio02c86792021-09-02 13:42:14 +030069 default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
Dean Birche4cbc7c2020-01-20 10:40:21 +000070 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010071 name: 'CI_SCRIPTS_BRANCH'
72 default: 'master'
Dean Birche4cbc7c2020-01-20 10:40:21 +000073 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080074 name: 'MBEDTLS_VERSION'
Antonio de Angelis20c04402022-07-16 00:01:05 +010075 default: 'mbedtls-3.2.1'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080076 - 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:
Matthew Harta5bc91c2020-05-26 23:37:59 +010089 name: 'PSA_API_SUITE'
90 default: ''
Dean Birchc4d4d672020-08-12 10:38:58 +010091 - string:
Leonardo Sandoval35dd14e2021-04-16 11:49:58 -050092 name: 'CODE_COVERAGE_EN'
93 default: 'FALSE'
94 - string:
Dean Birchc4d4d672020-08-12 10:38:58 +010095 name: 'LAVA_CREDENTIALS'
96 default: 'LAVA_CREDENTIALS'
97 description: "Name of Jenkins credential for authentication with LAVA."
Paul Sokolovskycd6c0362022-04-28 21:00:32 +030098 - string:
99 name: 'DEVICE_FILTER'
100 default: ''
101 description: |
102 Parameter to lava_create_jobs.py to filter by device type (e.g. --fvp-only or --physical-board-only)
Xinyu Zhang59f7fee2021-05-21 14:04:11 +0800103 wrappers:
104 - timestamps
Dean Birche4cbc7c2020-01-20 10:40:21 +0000105 pipeline-scm:
106 scm:
107 - git:
108 url: '$CI_SCRIPTS_REPO'
109 branches:
110 - '$CI_SCRIPTS_BRANCH'
111 credentials-id: GIT_SSH_KEY
112 wipe-workspace: false
113 script-path: jenkins/lava-submit.jpl