blob: c4f488c192d1e8505a1fd843cbf5727d4534dbdd [file] [log] [blame]
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -06001- job:
Leonardo Sandovalffaee982021-11-11 10:27:57 -06002 name: tf-a-main
Boyan Karatotev5c87c072023-02-10 11:04:58 +00003 node: docker-amd64-tf-a-jammy
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -06004 project-type: multijob
5 concurrent: true
6 disabled: false
7 description: Main CI job for Trusted Firmware.
8 properties:
9 - throttle:
10 option: project
11 enabled: true
12 max-total: 5
13 - build-discarder:
Leonardo Sandovala4feb552021-03-02 12:10:21 -060014 days-to-keep: 14
15 num-to-keep: 60
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060016 - authorization:
Leonardo Sandovalebca8822021-01-25 18:20:04 -060017 !include: authorization.yaml.inc
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060018 parameters:
19 - string:
20 name: TF_GERRIT_PROJECT
21 default: 'TF-A/trusted-firmware-a'
22 - string:
23 name: TF_GERRIT_BRANCH
Leonardo Sandoval3da340d2021-02-09 14:53:30 -060024 default: 'refs/heads/integration'
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060025 - string:
26 name: TF_GERRIT_REFSPEC
Leonardo Sandoval3da340d2021-02-09 14:53:30 -060027 default: '+refs/heads/integration:refs/remotes/origin/integration'
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060028 - string:
29 name: TFTF_GERRIT_PROJECT
30 default: 'TF-A/tf-a-tests'
31 - string:
32 name: TFTF_GERRIT_BRANCH
Leonardo Sandoval3da340d2021-02-09 14:53:30 -060033 default: 'refs/heads/master'
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060034 - string:
35 name: TFTF_GERRIT_REFSPEC
Leonardo Sandoval3da340d2021-02-09 14:53:30 -060036 default: '+refs/heads/master:refs/remotes/origin/master'
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050037 - string:
Paul Sokolovsky52038942023-03-15 16:49:57 +070038 name: SPM_REFSPEC
39 default: '+refs/heads/master:refs/remotes/origin/master'
40 description: |
41 SPM(Hafnium) refspec to use. The master branch is used by default.
42 - string:
Zelalem Awekee8801df2021-10-25 13:41:44 -050043 name: CI_REFSPEC
44 default: '+refs/heads/master:refs/remotes/origin/master'
45 - string:
Paul Sokolovsky078b36d2023-05-31 23:34:25 +030046 name: MBEDTLS_URL
Sandrine Bailleux135741b2023-09-11 16:10:04 +020047 default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.4.1.tar.gz'
Paul Sokolovsky078b36d2023-05-31 23:34:25 +030048 - string:
Paul Sokolovskyc3ac8602023-10-04 22:43:47 +030049 name: LAVA_RETRIES
Paul Sokolovsky6a92e112023-10-06 11:26:45 +030050 default: 2
Paul Sokolovskyc3ac8602023-10-04 22:43:47 +030051 description: |
52 Number of tries submitting job to LAVA in case it fails (stopgap measure against nondeterministic failures)
53 - string:
Paul Sokolovskyac7599e2023-12-30 11:58:33 +030054 name: USE_TUXSUITE_FVP
55 default: 0
56 description: |
57 Whether to submit FVP tests via TuxSuite (instead of LAVA)
58 - string:
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050059 name: SHARE_FOLDER
60 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
61 description: 'Folder containing shared repositories for downstream pipeline jobs'
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060062 wrappers:
63 - credentials-binding:
64 - ssh-user-private-key:
65 credential-id: TFA_CI_BOT_USER_SSH_KEY
66 key-file-variable: CI_BOT_KEY
67 username-variable: CI_BOT_USERNAME
68 passphrase-variable: ''
69 - workspace-cleanup
70 - timestamps
71 builders:
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050072 - shell:
73 !include-raw: scripts/clone.sh
Fathi Boudra9c8a9452020-12-08 22:16:57 +010074 - shell: |
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060075 #!/bin/bash
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060076 set -e
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060077 cat << EOF > tf-a-env.param
78 GERRIT_PROJECT=${TF_GERRIT_PROJECT}
79 GERRIT_BRANCH=${TF_GERRIT_BRANCH}
80 GERRIT_REFSPEC=${TF_GERRIT_REFSPEC}
Milosz Wasilewski10438582020-12-03 11:36:21 +000081 QA_SERVER_PROJECT=${JOB_NAME}
82 QA_SERVER_VERSION=${BUILD_NUMBER}
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050083 SHARE_FOLDER=${SHARE_FOLDER}
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060084 EOF
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060085 cat << EOF > tf-a-tests-env.param
86 GERRIT_PROJECT=${TFTF_GERRIT_PROJECT}
87 GERRIT_BRANCH=${TFTF_GERRIT_BRANCH}
88 GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC}
Milosz Wasilewski10438582020-12-03 11:36:21 +000089 QA_SERVER_PROJECT=${JOB_NAME}
90 QA_SERVER_VERSION=${BUILD_NUMBER}
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050091 SHARE_FOLDER=${SHARE_FOLDER}
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060092 EOF
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060093 - multijob:
94 name: Run static checks on the code
95 condition: COMPLETED
96 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -060097 - name: tf-a-static-checks
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060098 current-parameters: true
99 kill-phase-on: NEVER
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600100 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600101 - multijob:
102 name: Build Trusted Firmware
103 condition: COMPLETED
104 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600105 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300106 alias: tf-l1-build-fvp tf-l2-build-fvp
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600107 current-parameters: true
108 kill-phase-on: NEVER
109 predefined-parameters: |
110 TEST_GROUPS=tf-l1-build-fvp tf-l2-build-fvp
111 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600112 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300113 alias: tf-l1-build-juno tf-l2-build-juno
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600114 current-parameters: true
115 kill-phase-on: NEVER
116 predefined-parameters: TEST_GROUPS=tf-l1-build-juno tf-l2-build-juno
117 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600118 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300119 alias: tf-l1-build-plat
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600120 current-parameters: true
121 kill-phase-on: NEVER
122 predefined-parameters: TEST_GROUPS=tf-l1-build-plat
123 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600124 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300125 alias: tf-l1-build-clang
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600126 current-parameters: true
127 kill-phase-on: NEVER
128 predefined-parameters: TEST_GROUPS=tf-l1-build-clang
129 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600130 - multijob:
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100131 name: TFTF Tests for FVP
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600132 condition: COMPLETED
133 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600134 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300135 alias: tftf-l2-fwu
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600136 current-parameters: true
137 kill-phase-on: NEVER
138 predefined-parameters: TEST_GROUPS=tftf-l2-fwu
139 property-file: tf-a-tests-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600140 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300141 alias: tftf-l1-fvp tftf-l2-fvp-auxiliary
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600142 current-parameters: true
143 kill-phase-on: NEVER
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100144 predefined-parameters: TEST_GROUPS=tftf-l1-fvp tftf-l2-fvp-auxiliary
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600145 property-file: tf-a-tests-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600146 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300147 alias: tftf-l2-fvp tftf-l2-fvp-dynamiq
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600148 current-parameters: true
149 kill-phase-on: NEVER
150 predefined-parameters: TEST_GROUPS=tftf-l2-fvp tftf-l2-fvp-dynamiq
151 property-file: tf-a-tests-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600152 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300153 alias: tftf-l2-extensive-tests-fvp
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600154 current-parameters: true
155 kill-phase-on: NEVER
156 predefined-parameters: TEST_GROUPS=tftf-l2-extensive-tests-fvp
157 property-file: tf-a-tests-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600158 - multijob:
159 name: Boot up to the Linux shell prompt
160 condition: COMPLETED
161 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600162 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300163 alias: tf-l2-boot-tests-foundation
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600164 current-parameters: true
165 kill-phase-on: NEVER
166 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-foundation
167 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600168 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300169 alias: tf-l2-boot-tests-aarch32
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600170 current-parameters: true
171 kill-phase-on: NEVER
172 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-aarch32
173 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600174 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300175 alias: tf-l2-boot-tests-rootfs
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600176 current-parameters: true
177 kill-phase-on: NEVER
178 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-rootfs
179 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600180 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300181 alias: tf-l2-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600182 current-parameters: true
183 kill-phase-on: NEVER
Leonardo Sandoval67ac6f12020-12-10 11:02:26 -0600184 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600185 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600186 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300187 alias: spm-l2-boot-tests
Leonardo Sandoval0e0ee892021-02-16 10:39:51 -0600188 current-parameters: true
189 kill-phase-on: NEVER
190 predefined-parameters: TEST_GROUPS=spm-l2-boot-tests
191 property-file: tf-a-env.param
Sandrine Bailleux811ac032023-09-20 16:42:03 +0200192 - name: tf-a-ci-gateway
193 alias: tf-l1-boot-tests-misc
194 current-parameters: true
195 kill-phase-on: NEVER
196 predefined-parameters: TEST_GROUPS=tf-l1-boot-tests-misc
197 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600198 - multijob:
199 name: Boot up to the Linux shell prompt - Part 2
200 condition: COMPLETED
201 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600202 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300203 alias: tf-l2-boot-tests-misc
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600204 current-parameters: true
205 kill-phase-on: NEVER
206 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-misc
207 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600208 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300209 alias: tf-l2-boot-tests-latest
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600210 current-parameters: true
211 kill-phase-on: NEVER
212 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-latest
213 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600214 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300215 alias: tf-l2-boot-tests-cortex
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600216 current-parameters: true
217 kill-phase-on: NEVER
218 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-cortex
219 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600220 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300221 alias: tf-l2-boot-tests-gicv2
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600222 current-parameters: true
223 kill-phase-on: NEVER
224 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-gicv2
225 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600226 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300227 alias: tf-l2-boot-tests-bl2_el3
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600228 current-parameters: true
229 kill-phase-on: NEVER
230 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-bl2_el3
231 property-file: tf-a-env.param
Harrison Mutai521b3c82022-11-08 10:18:15 +0000232 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300233 alias: qemu-boot-tests
Harrison Mutai521b3c82022-11-08 10:18:15 +0000234 current-parameters: true
235 kill-phase-on: NEVER
236 predefined-parameters: TEST_GROUPS=qemu-boot-tests
237 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600238 - multijob:
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100239 name: Juno Boot Tests
240 condition: COMPLETED
241 projects:
242 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300243 alias: tf-l1-boot-tests-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100244 current-parameters: true
245 kill-phase-on: NEVER
246 predefined-parameters: TEST_GROUPS=tf-l1-boot-tests-juno
247 property-file: tf-a-env.param
248 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300249 alias: tf-l2-boot-tests-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100250 current-parameters: true
251 kill-phase-on: NEVER
252 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-juno
253 property-file: tf-a-env.param
254 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300255 alias: tftf-l1-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100256 current-parameters: true
257 kill-phase-on: NEVER
258 predefined-parameters: TEST_GROUPS=tftf-l1-juno
259 property-file: tf-a-env.param
260 - multijob:
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600261 name: Miscellaneous tests
262 condition: COMPLETED
263 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600264 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300265 alias: tf-l3-boot-tests-css
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600266 current-parameters: true
267 kill-phase-on: NEVER
268 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-css
269 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600270 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300271 alias: tf-l3-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600272 current-parameters: true
273 kill-phase-on: NEVER
Leonardo Sandoval67ac6f12020-12-10 11:02:26 -0600274 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600275 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600276 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300277 alias: tf-l3-boot-tests-ras
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600278 current-parameters: true
279 kill-phase-on: NEVER
280 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-ras
281 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600282 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300283 alias: tf-l3-boot-tests-misc
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600284 current-parameters: true
285 kill-phase-on: NEVER
286 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-misc
287 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600288 - name: tf-a-ci-gateway
Arthur Shee61c1682023-07-10 11:09:41 -0700289 alias: tf-l3-boot-tests-n1sdp
290 current-parameters: true
291 kill-phase-on: NEVER
292 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-n1sdp
293 property-file: tf-a-env.param
294 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300295 alias: spm-l3-boot-tests
Leonardo Sandoval0e0ee892021-02-16 10:39:51 -0600296 current-parameters: true
297 kill-phase-on: NEVER
298 predefined-parameters: TEST_GROUPS=spm-l3-boot-tests
299 property-file: tf-a-env.param
Arthur Shee4fa0232022-11-03 21:05:20 -0700300 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300301 alias: tf-l1-boot-tests-plat
Arthur Shee4fa0232022-11-03 21:05:20 -0700302 current-parameters: true
303 kill-phase-on: NEVER
304 predefined-parameters: TEST_GROUPS=tf-l1-boot-tests-plat
305 property-file: tf-a-env.param
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200306 # Platform-specific self-tests.
307 # These tests run from the BL31 image then halt the target.
308 - name: tf-a-ci-gateway
309 alias: tf-plat-tests
310 current-parameters: true
311 kill-phase-on: NEVER
312 predefined-parameters: TEST_GROUPS=tf-plat-tests
313 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600314 - multijob:
315 name: Code coverage
316 condition: COMPLETED
317 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600318 - name: tf-a-ci-gateway
Paul Sokolovsky9bf26242023-06-27 22:14:10 +0300319 alias: tf-l3-code-coverage
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600320 current-parameters: true
321 kill-phase-on: NEVER
322 predefined-parameters: TEST_GROUPS=tf-l3-code-coverage
323 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600324 - multijob:
325 name: Run doc build check
326 condition: COMPLETED
327 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600328 - name: tf-a-ci-gateway
Paul Sokolovsky9bf26242023-06-27 22:14:10 +0300329 alias: tf-l1-check-docs
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600330 current-parameters: true
331 kill-phase-on: NEVER
332 predefined-parameters: TEST_GROUPS=tf-l1-check-docs
333 property-file: tf-a-env.param
Harrison Mutaiee250c72022-08-05 16:28:27 +0100334 - multijob:
Chris Kaydd569e62023-02-24 13:03:13 +0000335 name: Generate visualizations
336 condition: COMPLETED
337 projects:
338 - name: tf-a-sloc-visualization
339 current-parameters: true
340 kill-phase-on: NEVER
341 property-file: tf-a-env.param
342 - name: tf-a-test-category-visualization
343 current-parameters: true
344 kill-phase-on: NEVER
345 property-file: tf-a-env.param
346 - name: tf-a-test-result-visualization
347 current-parameters: true
348 kill-phase-on: NEVER
349 predefined-parameters: TARGET_BUILD=${JOB_NAME}/${BUILD_NUMBER}
350 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600351 # Run the unstable TF-A Tests at the end but do not let their results
352 # participate in the job's success/failure.
353 - trigger-builds:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600354 - project: tf-a-ci-gateway
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600355 current-parameters: True
356 property-file: tf-a-tests-env.param
357 property-file-fail-on-missing: True
358 predefined-parameters: TEST_GROUPS=tftf-unstable
359 block: True
360 block-thresholds:
361 build-step-failure-threshold: never
362 unstable-threshold: never
363 failure-threshold: never
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600364 # If all tests passed, catch up the master branch with integration
365 - conditional-step:
366 condition-kind: current-status
367 condition-best: SUCCESS
368 condition-worst: SUCCESS
369 steps:
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000370 - shell: |-
371 #!/bin/bash
372 if [ $MULTIJOB_FAILED -eq 0 ]; then
373 echo "Proceed with integration->master fast-forward merge"
374 bash "${WORKSPACE}/tf-a-ci-scripts/script/scratch_scripts/fast-forward-master.sh"
375 else
376 echo "Do not proceed with integration->master merge as sub-jobs failed"
377 fi