blob: 51fa1b1aa911db5a9722c636ad3b974a9d4b824d [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-build-and-test
10 description: 'This job is triggered by gerrit for TF-M code reviews.'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 concurrent: false
15 properties:
16 - build-discarder:
17 days-to-keep: 15
18 num-to-keep: 45
19 - authorization:
20 suihkulokki:
21 - job-read
22 - job-extended-read
23 - job-build
24 - job-cancel
25 minosgalanakis:
26 - job-read
27 - job-extended-read
28 - job-build
29 - job-cancel
30 bhcopeland:
31 - job-read
32 - job-extended-read
33 - job-build
34 - job-cancel
35 # Will be triggered from tf-m-static-checks or can be triggered manually
36 #triggers: []
37 parameters:
38 - string:
39 name: 'FILTER_GROUP'
40 # TODO once available, use a group that filters to configurations we want
41 default: 'ci_gnuarm'
42 description: |
43 Filter to a group of configurations as recognised by configs.py
44 - string:
45 name: 'CODE_REPO'
46 default: 'https://review.trustedfirmware.org/trusted-firmware-m'
47 - string:
48 name: 'CI_SCRIPTS_REPO'
49 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
50 - string:
51 name: 'GERRIT_REFSPEC'
52 default: 'refs/heads/master'
53 description: |
54 For use when triggering with unmerged Gerrit changes.
55 - string:
56 name: 'GERRIT_BRANCH'
57 default: 'master'
58 description: |
59 For use when triggering with unmerged Gerrit changes.
60 - string:
61 name: 'GERRIT_HOST'
62 description: |
63 For use when triggering with unmerged Gerrit changes.
64 - string:
65 name: 'GERRIT_CHANGE_NUMBER'
66 description: |
67 For use when triggering with unmerged Gerrit changes.
68 - string:
69 name: 'GERRIT_PATCHSET_REVISION'
70 description: |
71 For use when triggering with unmerged Gerrit changes.
72 - string:
73 name: 'MBEDCRYPTO_VERSION'
74 default: 'mbedcrypto-3.0.1'
75 - string:
76 name: 'MBEDCRYPTO_URL'
77 default: 'https://github.com/ARMmbed/mbed-crypto.git'
78 - string:
79 name: 'CMSIS_VERSION'
80 default: '5.5.0'
81 - string:
82 name: 'LAVA_URL'
83 default: 'https://tf.validation.linaro.org'
84 - string:
85 name: 'CI_SCRIPTS_BRANCH'
86 default: 'master'
87 pipeline-scm:
88 scm:
89 - git:
90 url: '$CI_SCRIPTS_REPO'
91 branches:
92 - '$CI_SCRIPTS_BRANCH'
93 credentials-id: GIT_SSH_KEY
94 wipe-workspace: false
95 script-path: jenkins/ci.jpl