blob: 0145de92bb173854e955040dd5975cfdf34c340d [file] [log] [blame]
Paul Sokolovsky4434b112022-10-17 12:55:23 +03001- job:
2 name: tf-a-eclair-daily
3 project-type: matrix
4 concurrent: true
5 disabled: false
6 defaults: global
7 Description: |
8 ECLAIR (MISRA compliance) testing of TF-A
9 properties:
10 - build-discarder:
11 days-to-keep: 45
12 - authorization:
13 !include: authorization.yaml.inc
Paul Sokolovsky8307e172022-10-18 11:45:42 +030014 - throttle:
15 option: category
16 categories: [eclair-daily]
17 matrix-builds: false
18 matrix-configs: true
Paul Sokolovsky4434b112022-10-17 12:55:23 +030019 parameters:
20 - string:
21 name: MAKE_TARGET
22 default: ''
23 description: |
24 TF-A make target
25 - string:
Paul Sokolovsky30e68432022-10-29 18:51:21 +030026 name: DEBUG
Paul Sokolovsky3ad69292022-10-31 22:48:32 +030027 default: '1'
Paul Sokolovsky30e68432022-10-29 18:51:21 +030028 description: |
29 TF-A make DEBUG setting
30 - string:
Paul Sokolovsky4434b112022-10-17 12:55:23 +030031 name: GERRIT_HOST
32 default: 'review.trustedfirmware.org'
33 - string:
34 name: GERRIT_PROJECT
35 default: 'TF-A/trusted-firmware-a'
36 description: |
37 Git project to build (also set by Gerrit trigger)
38 - string:
39 name: GERRIT_REFNAME
40 default: 'integration'
41 description: |
42 Git branch to build (also set by Gerrit trigger)
43 - string:
44 name: GERRIT_NEWREV
45 default: ''
46 description: |
47 Git revision to build (also set by Gerrit ref-updated trigger)
48 - string:
49 name: MBEDTLS_URL
50 default: 'https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.28.0.tar.gz'
51 description: |
52 URL of mbedTLS library to use in build (only for some configurations)
53 - string:
54 name: SHARE_FOLDER
55 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
56 description: 'Folder containing shared repositories for downstream pipeline jobs'
57 axes:
58 - axis:
59 type: slave
60 name: label
61 values:
62 - docker-tf-a-eclair
63 - axis:
64 type: user-defined
65 name: TF_CONFIG
66 values:
67 - fvp-aarch32-default
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030068 - fvp-aarch32-enable-runtime-instr
69 - fvp-aarch32-rst-to-sp-min
70 - fvp-boot-el3-payload
Paul Sokolovsky4434b112022-10-17 12:55:23 +030071 - fvp-default
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030072 - fvp-enable-runtime-instr
73 - fvp-ext-pstate-ea-el3
Paul Sokolovsky4434b112022-10-17 12:55:23 +030074 # Causes runtime error in ECLAIR: https://support.bugseng.com/mantis/view.php?id=5083
75 #- fvp-mb_hash256-tbb_hash256-romlib
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030076 - fvp-no-cohmem
77 - fvp-opteed
78 - fvp-r-default
79 - fvp-rst-bl31
80 - fvp-tspd
81 - fvp-tspd-gicv2-symmetric-model
82 - fvp-tspd-irq2el3
83 - fvp-tspd-quad-cluster
84 - fvp-tspd-tbb-mbedtls
85 - fvp-tspd-tsp-async
86 - juno-aarch32-rst-to-sp-min
87 - juno-aarch32-rst-to-sp-min-enable-runtime-instr
88 - juno-default
89 - juno-tspd
Paul Sokolovsky4434b112022-10-17 12:55:23 +030090 triggers:
Paul Sokolovskydd79d742022-10-17 22:44:43 +030091 - timed : 'H 2 * * *'
Paul Sokolovsky4434b112022-10-17 12:55:23 +030092# - gerrit:
93# silent: true
94# server-name: 'review.trustedfirmware.org'
95# projects:
96# - branches:
97# - branch-compare-type: PLAIN
98# branch-pattern: integration
99# project-compare-type: PLAIN
100# project-pattern: 'TF-A/trusted-firmware-a'
101# trigger-on:
102# - ref-updated-event
103 wrappers:
104 - timestamps
105 - timeout:
106 timeout: 120
107 fail: true
108 builders:
109 - shell: |
110 #!/bin/bash
111 set -ex
112 pwd
113 git clone https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git
114 git clone https://${GERRIT_HOST}/${GERRIT_PROJECT} -b ${GERRIT_REFNAME}
115 ls -l
116 if [ -n "${GERRIT_NEWREV}" ]; then
117 (cd $(basename ${GERRIT_PROJECT}); git checkout ${GERRIT_NEWREV})
118 else
119 # Checkout last commit from yesterday, to have a stable commit for
120 # multiple builds.
121 (cd $(basename ${GERRIT_PROJECT}); git checkout $(git rev-list -n1 --before="today" HEAD))
122 fi
123 (cd $(basename ${GERRIT_PROJECT}); git log -n1)
Paul Sokolovsky4434b112022-10-17 12:55:23 +0300124 detachLicense 2100
125 trap "returnLicense" EXIT
126 tf-a-ci-scripts/eclair/analyze.sh ${TF_CONFIG}
127 publishers:
128 - archive:
Paul Sokolovsky74ecf712022-10-26 22:41:40 +0300129 artifacts: 'ECLAIR/**, index.html'
Paul Sokolovsky4434b112022-10-17 12:55:23 +0300130 excludes: 'ECLAIR/out/.data/**'
131 latest-only: false
132 allow-empty: true
133 - email:
134 recipients: 'paul.sokolovsky@linaro.org'