blob: febe72989ec2a6a7879576d92a69aab4ff13cb37 [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
Ryan Everettb4f5f8d2024-11-26 11:48:44 +000047 default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.2.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
Paul Sokolovsky6bdd0ec2024-01-20 01:16:18 +070055 default: 1
Paul Sokolovskyac7599e2023-12-30 11:58:33 +030056 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-aarch32
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-aarch32
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-rootfs
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-rootfs
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-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600176 current-parameters: true
177 kill-phase-on: NEVER
Leonardo Sandoval67ac6f12020-12-10 11:02:26 -0600178 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600179 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: spm-l2-boot-tests
Leonardo Sandoval0e0ee892021-02-16 10:39:51 -0600182 current-parameters: true
183 kill-phase-on: NEVER
184 predefined-parameters: TEST_GROUPS=spm-l2-boot-tests
185 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600186 - multijob:
187 name: Boot up to the Linux shell prompt - Part 2
188 condition: COMPLETED
189 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600190 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300191 alias: tf-l2-boot-tests-misc
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600192 current-parameters: true
193 kill-phase-on: NEVER
194 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-misc
195 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600196 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300197 alias: tf-l2-boot-tests-latest
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600198 current-parameters: true
199 kill-phase-on: NEVER
200 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-latest
201 property-file: tf-a-env.param
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-cortex
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-cortex
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-gicv2
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-gicv2
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-bl2_el3
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-bl2_el3
219 property-file: tf-a-env.param
Harrison Mutai521b3c82022-11-08 10:18:15 +0000220 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300221 alias: qemu-boot-tests
Harrison Mutai521b3c82022-11-08 10:18:15 +0000222 current-parameters: true
223 kill-phase-on: NEVER
224 predefined-parameters: TEST_GROUPS=qemu-boot-tests
225 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600226 - multijob:
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100227 name: Juno Boot Tests
228 condition: COMPLETED
229 projects:
230 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300231 alias: tf-l2-boot-tests-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100232 current-parameters: true
233 kill-phase-on: NEVER
234 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-juno
235 property-file: tf-a-env.param
236 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300237 alias: tftf-l1-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100238 current-parameters: true
239 kill-phase-on: NEVER
240 predefined-parameters: TEST_GROUPS=tftf-l1-juno
241 property-file: tf-a-env.param
242 - multijob:
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600243 name: Miscellaneous tests
244 condition: COMPLETED
245 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600246 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300247 alias: tf-l3-boot-tests-css
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600248 current-parameters: true
249 kill-phase-on: NEVER
250 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-css
251 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600252 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300253 alias: tf-l3-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600254 current-parameters: true
255 kill-phase-on: NEVER
Leonardo Sandoval67ac6f12020-12-10 11:02:26 -0600256 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600257 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600258 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300259 alias: tf-l3-boot-tests-ras
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600260 current-parameters: true
261 kill-phase-on: NEVER
262 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-ras
263 property-file: tf-a-env.param
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-misc
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-misc
269 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600270 - name: tf-a-ci-gateway
Arthur Shee61c1682023-07-10 11:09:41 -0700271 alias: tf-l3-boot-tests-n1sdp
272 current-parameters: true
273 kill-phase-on: NEVER
274 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-n1sdp
275 property-file: tf-a-env.param
276 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300277 alias: spm-l3-boot-tests
Leonardo Sandoval0e0ee892021-02-16 10:39:51 -0600278 current-parameters: true
279 kill-phase-on: NEVER
280 predefined-parameters: TEST_GROUPS=spm-l3-boot-tests
281 property-file: tf-a-env.param
Arthur Shee4fa0232022-11-03 21:05:20 -0700282 - name: tf-a-ci-gateway
Manish Pandey939c5002024-03-22 14:06:21 +0000283 alias: tf-l2-boot-tests-partner-boards
Arthur Shee4fa0232022-11-03 21:05:20 -0700284 current-parameters: true
285 kill-phase-on: NEVER
Manish Pandey939c5002024-03-22 14:06:21 +0000286 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-partner-boards
Arthur Shee4fa0232022-11-03 21:05:20 -0700287 property-file: tf-a-env.param
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200288 # Platform-specific self-tests.
289 # These tests run from the BL31 image then halt the target.
290 - name: tf-a-ci-gateway
Manish Pandey939c5002024-03-22 14:06:21 +0000291 alias: tf-l2-boot-tests-arm-plats
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200292 current-parameters: true
293 kill-phase-on: NEVER
Manish Pandey939c5002024-03-22 14:06:21 +0000294 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-arm-plats
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200295 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600296 - multijob:
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600297 name: Run doc build check
298 condition: COMPLETED
299 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600300 - name: tf-a-ci-gateway
Paul Sokolovsky9bf26242023-06-27 22:14:10 +0300301 alias: tf-l1-check-docs
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600302 current-parameters: true
303 kill-phase-on: NEVER
304 predefined-parameters: TEST_GROUPS=tf-l1-check-docs
305 property-file: tf-a-env.param
Harrison Mutaiee250c72022-08-05 16:28:27 +0100306 - multijob:
Chris Kaydd569e62023-02-24 13:03:13 +0000307 name: Generate visualizations
308 condition: COMPLETED
309 projects:
310 - name: tf-a-sloc-visualization
311 current-parameters: true
312 kill-phase-on: NEVER
313 property-file: tf-a-env.param
314 - name: tf-a-test-category-visualization
315 current-parameters: true
316 kill-phase-on: NEVER
317 property-file: tf-a-env.param
318 - name: tf-a-test-result-visualization
319 current-parameters: true
320 kill-phase-on: NEVER
321 predefined-parameters: TARGET_BUILD=${JOB_NAME}/${BUILD_NUMBER}
322 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600323 # Run the unstable TF-A Tests at the end but do not let their results
324 # participate in the job's success/failure.
325 - trigger-builds:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600326 - project: tf-a-ci-gateway
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600327 current-parameters: True
328 property-file: tf-a-tests-env.param
329 property-file-fail-on-missing: True
330 predefined-parameters: TEST_GROUPS=tftf-unstable
331 block: True
332 block-thresholds:
333 build-step-failure-threshold: never
334 unstable-threshold: never
335 failure-threshold: never
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600336 # If all tests passed, catch up the master branch with integration
337 - conditional-step:
338 condition-kind: current-status
339 condition-best: SUCCESS
340 condition-worst: SUCCESS
341 steps:
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000342 - shell: |-
343 #!/bin/bash
Arthur Sheffd432e2025-02-02 12:35:55 -0800344 #
345 if echo ${JENKINS_PUBLIC_URL} | grep -q "ci.trustedfirmware.org"; then
346 # Only do it on the OpenCI production site
347 echo "It's running on the OpenCI procution site"
348 if [ $MULTIJOB_FAILED -eq 0 ]; then
349 echo "Proceed with integration->master fast-forward merge"
350 bash "${WORKSPACE}/tf-a-ci-scripts/script/scratch_scripts/fast-forward-master.sh"
351 else
352 echo "Do not proceed with integration->master merge as sub-jobs failed"
353 fi
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000354 else
Arthur Sheffd432e2025-02-02 12:35:55 -0800355 echo "It's NOT on the OpenCI production site"
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000356 fi