blob: 13d9f1d1848aa3a7fcae7b83f846188fc3e97135 [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
Xinyu Zhangd527ed62020-11-25 10:41:30 +080023 karl-zh:
24 - job-read
25 - job-extended-read
26 - job-build
27 - job-cancel
28 xinyu-tfm:
29 - job-read
30 - job-extended-read
31 - job-build
32 - job-cancel
Dean Birche4cbc7c2020-01-20 10:40:21 +000033 parameters:
34 - string:
35 name: 'TARGET_PLATFORM'
36 description: |
37 Specifies the target platform.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010038 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 +000039 default: ''
40 - string:
41 name: 'PROJ_CONFIG'
42 description: |
43 Specifies the way the application is built.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010044 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 +000045 default: ''
46 - string:
47 name: 'COMPILER'
48 description: |
49 Specifies the compiler toolchain.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010050 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 +000051 default: ''
52 - string:
53 name: 'CMAKE_BUILD_TYPE'
54 description: |
55 Configures debugging support.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010056 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 +000057 default: ''
58 - string:
59 name: 'BL2'
60 default: 'True'
61 description: |
62 Whether to build BL2.
Fathi Boudra47b9c4b2020-11-05 21:59:46 +010063 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 +000064 - string:
65 name: 'GERRIT_REFSPEC'
66 default: 'refs/heads/master'
67 description: |
68 For use when triggering with unmerged Gerrit changes.
69 - string:
70 name: 'GERRIT_BRANCH'
71 default: 'master'
72 description: |
73 For use when triggering with unmerged Gerrit changes.
74 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010075 name: 'CODE_REPO'
76 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
77 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000078 name: 'CI_SCRIPTS_REPO'
79 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
80 - string:
Fathi Boudraccaba542020-11-19 10:11:43 +010081 name: 'CI_SCRIPTS_BRANCH'
82 default: 'master'
Dean Birche4cbc7c2020-01-20 10:40:21 +000083 - string:
Karl Zhang85c2d7a2020-08-20 11:17:58 +080084 name: 'MBEDTLS_VERSION'
Summer Qina400be82020-10-28 15:00:00 +080085 default: 'mbedtls-2.24.0'
Karl Zhang85c2d7a2020-08-20 11:17:58 +080086 - string:
87 name: 'MBEDTLS_URL'
88 default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
89 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000090 name: 'BUILD_NUMBER'
91 default: ''
92 - string:
93 name: 'BUILD_URL'
94 default: ''
95 - string:
96 name: 'LAVA_URL'
97 default: 'https://tf.validation.linaro.org'
98 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000099 name: 'DOCKER_PREFIX'
Fathi Boudra527a2b32020-11-06 19:31:00 +0100100 default: '987685672616.dkr.ecr.us-east-1.amazonaws.com'
Dean Birche4cbc7c2020-01-20 10:40:21 +0000101 - string:
102 name: 'LICENSE_VARIABLE'
Fathi Boudra527a2b32020-11-06 19:31:00 +0100103 default: 'ARMLMD_LICENSE_FILE=27000@ci.trustedfirmware.org'
Matthew Harta5bc91c2020-05-26 23:37:59 +0100104 - string:
105 name: 'PSA_API_SUITE'
106 default: ''
Dean Birchc4d4d672020-08-12 10:38:58 +0100107 - string:
108 name: 'LAVA_CREDENTIALS'
109 default: 'LAVA_CREDENTIALS'
110 description: "Name of Jenkins credential for authentication with LAVA."
Dean Birche4cbc7c2020-01-20 10:40:21 +0000111 pipeline-scm:
112 scm:
113 - git:
114 url: '$CI_SCRIPTS_REPO'
115 branches:
116 - '$CI_SCRIPTS_BRANCH'
117 credentials-id: GIT_SSH_KEY
118 wipe-workspace: false
119 script-path: jenkins/lava-submit.jpl