blob: 16f7417d58f921a0da869e5a4f7033ae8cb36e38 [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:
Arthur She9296f802025-02-08 21:02:52 -080046 name: JOBS_REFSPEC
47 default: 'refs/heads/master'
48 description: |
49 tf-a-job-configs refspec to use. The master branch is used by default.
50 - string:
Paul Sokolovsky078b36d2023-05-31 23:34:25 +030051 name: MBEDTLS_URL
Ryan Everettb4f5f8d2024-11-26 11:48:44 +000052 default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.2.tar.gz'
Paul Sokolovsky078b36d2023-05-31 23:34:25 +030053 - string:
Paul Sokolovskyc3ac8602023-10-04 22:43:47 +030054 name: LAVA_RETRIES
Paul Sokolovsky6a92e112023-10-06 11:26:45 +030055 default: 2
Paul Sokolovskyc3ac8602023-10-04 22:43:47 +030056 description: |
57 Number of tries submitting job to LAVA in case it fails (stopgap measure against nondeterministic failures)
58 - string:
Paul Sokolovskyac7599e2023-12-30 11:58:33 +030059 name: USE_TUXSUITE_FVP
Paul Sokolovsky6bdd0ec2024-01-20 01:16:18 +070060 default: 1
Paul Sokolovskyac7599e2023-12-30 11:58:33 +030061 description: |
62 Whether to submit FVP tests via TuxSuite (instead of LAVA)
63 - string:
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050064 name: SHARE_FOLDER
65 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
66 description: 'Folder containing shared repositories for downstream pipeline jobs'
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060067 wrappers:
68 - credentials-binding:
69 - ssh-user-private-key:
70 credential-id: TFA_CI_BOT_USER_SSH_KEY
71 key-file-variable: CI_BOT_KEY
72 username-variable: CI_BOT_USERNAME
73 passphrase-variable: ''
74 - workspace-cleanup
75 - timestamps
76 builders:
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050077 - shell:
78 !include-raw: scripts/clone.sh
Fathi Boudra9c8a9452020-12-08 22:16:57 +010079 - shell: |
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060080 #!/bin/bash
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060081 set -e
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060082 cat << EOF > tf-a-env.param
83 GERRIT_PROJECT=${TF_GERRIT_PROJECT}
84 GERRIT_BRANCH=${TF_GERRIT_BRANCH}
85 GERRIT_REFSPEC=${TF_GERRIT_REFSPEC}
Milosz Wasilewski10438582020-12-03 11:36:21 +000086 QA_SERVER_PROJECT=${JOB_NAME}
87 QA_SERVER_VERSION=${BUILD_NUMBER}
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050088 SHARE_FOLDER=${SHARE_FOLDER}
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060089 EOF
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060090 cat << EOF > tf-a-tests-env.param
91 GERRIT_PROJECT=${TFTF_GERRIT_PROJECT}
92 GERRIT_BRANCH=${TFTF_GERRIT_BRANCH}
93 GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC}
Milosz Wasilewski10438582020-12-03 11:36:21 +000094 QA_SERVER_PROJECT=${JOB_NAME}
95 QA_SERVER_VERSION=${BUILD_NUMBER}
Leonardo Sandovald1b6b5a2021-09-13 12:06:26 -050096 SHARE_FOLDER=${SHARE_FOLDER}
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060097 EOF
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -060098 - multijob:
99 name: Run static checks on the code
100 condition: COMPLETED
101 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600102 - name: tf-a-static-checks
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600103 current-parameters: true
104 kill-phase-on: NEVER
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600105 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600106 - multijob:
107 name: Build Trusted Firmware
108 condition: COMPLETED
109 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600110 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300111 alias: tf-l1-build-fvp tf-l2-build-fvp
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600112 current-parameters: true
113 kill-phase-on: NEVER
114 predefined-parameters: |
115 TEST_GROUPS=tf-l1-build-fvp tf-l2-build-fvp
116 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600117 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300118 alias: tf-l1-build-juno tf-l2-build-juno
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600119 current-parameters: true
120 kill-phase-on: NEVER
121 predefined-parameters: TEST_GROUPS=tf-l1-build-juno tf-l2-build-juno
122 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600123 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300124 alias: tf-l1-build-plat
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600125 current-parameters: true
126 kill-phase-on: NEVER
127 predefined-parameters: TEST_GROUPS=tf-l1-build-plat
128 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600129 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300130 alias: tf-l1-build-clang
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600131 current-parameters: true
132 kill-phase-on: NEVER
133 predefined-parameters: TEST_GROUPS=tf-l1-build-clang
134 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600135 - multijob:
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100136 name: TFTF Tests for FVP
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600137 condition: COMPLETED
138 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600139 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300140 alias: tftf-l2-fwu
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600141 current-parameters: true
142 kill-phase-on: NEVER
143 predefined-parameters: TEST_GROUPS=tftf-l2-fwu
144 property-file: tf-a-tests-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600145 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300146 alias: tftf-l1-fvp tftf-l2-fvp-auxiliary
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600147 current-parameters: true
148 kill-phase-on: NEVER
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100149 predefined-parameters: TEST_GROUPS=tftf-l1-fvp tftf-l2-fvp-auxiliary
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600150 property-file: tf-a-tests-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600151 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300152 alias: tftf-l2-fvp tftf-l2-fvp-dynamiq
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600153 current-parameters: true
154 kill-phase-on: NEVER
155 predefined-parameters: TEST_GROUPS=tftf-l2-fvp tftf-l2-fvp-dynamiq
156 property-file: tf-a-tests-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600157 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300158 alias: tftf-l2-extensive-tests-fvp
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600159 current-parameters: true
160 kill-phase-on: NEVER
161 predefined-parameters: TEST_GROUPS=tftf-l2-extensive-tests-fvp
162 property-file: tf-a-tests-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600163 - multijob:
164 name: Boot up to the Linux shell prompt
165 condition: COMPLETED
166 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600167 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300168 alias: tf-l2-boot-tests-aarch32
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600169 current-parameters: true
170 kill-phase-on: NEVER
171 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-aarch32
172 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600173 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300174 alias: tf-l2-boot-tests-rootfs
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600175 current-parameters: true
176 kill-phase-on: NEVER
177 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-rootfs
178 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600179 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300180 alias: tf-l2-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600181 current-parameters: true
182 kill-phase-on: NEVER
Leonardo Sandoval67ac6f12020-12-10 11:02:26 -0600183 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600184 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600185 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300186 alias: spm-l2-boot-tests
Leonardo Sandoval0e0ee892021-02-16 10:39:51 -0600187 current-parameters: true
188 kill-phase-on: NEVER
189 predefined-parameters: TEST_GROUPS=spm-l2-boot-tests
190 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600191 - multijob:
192 name: Boot up to the Linux shell prompt - Part 2
193 condition: COMPLETED
194 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600195 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300196 alias: tf-l2-boot-tests-misc
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600197 current-parameters: true
198 kill-phase-on: NEVER
199 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-misc
200 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600201 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300202 alias: tf-l2-boot-tests-latest
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600203 current-parameters: true
204 kill-phase-on: NEVER
205 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-latest
206 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600207 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300208 alias: tf-l2-boot-tests-cortex
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600209 current-parameters: true
210 kill-phase-on: NEVER
211 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-cortex
212 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600213 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300214 alias: tf-l2-boot-tests-gicv2
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600215 current-parameters: true
216 kill-phase-on: NEVER
217 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-gicv2
218 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600219 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300220 alias: tf-l2-boot-tests-bl2_el3
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600221 current-parameters: true
222 kill-phase-on: NEVER
223 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-bl2_el3
224 property-file: tf-a-env.param
Harrison Mutai521b3c82022-11-08 10:18:15 +0000225 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300226 alias: qemu-boot-tests
Harrison Mutai521b3c82022-11-08 10:18:15 +0000227 current-parameters: true
228 kill-phase-on: NEVER
229 predefined-parameters: TEST_GROUPS=qemu-boot-tests
230 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600231 - multijob:
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100232 name: Juno Boot Tests
233 condition: COMPLETED
234 projects:
235 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300236 alias: tf-l2-boot-tests-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100237 current-parameters: true
238 kill-phase-on: NEVER
239 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-juno
240 property-file: tf-a-env.param
241 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300242 alias: tftf-l1-juno
Manish Pandeyb5fcc442022-06-20 14:08:45 +0100243 current-parameters: true
244 kill-phase-on: NEVER
245 predefined-parameters: TEST_GROUPS=tftf-l1-juno
246 property-file: tf-a-env.param
247 - multijob:
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600248 name: Miscellaneous tests
249 condition: COMPLETED
250 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600251 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300252 alias: tf-l3-boot-tests-css
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600253 current-parameters: true
254 kill-phase-on: NEVER
255 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-css
256 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600257 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300258 alias: tf-l3-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600259 current-parameters: true
260 kill-phase-on: NEVER
Leonardo Sandoval67ac6f12020-12-10 11:02:26 -0600261 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-spm-mm
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600262 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600263 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300264 alias: tf-l3-boot-tests-ras
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600265 current-parameters: true
266 kill-phase-on: NEVER
267 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-ras
268 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600269 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300270 alias: tf-l3-boot-tests-misc
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600271 current-parameters: true
272 kill-phase-on: NEVER
273 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-misc
274 property-file: tf-a-env.param
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600275 - name: tf-a-ci-gateway
Arthur Shee61c1682023-07-10 11:09:41 -0700276 alias: tf-l3-boot-tests-n1sdp
277 current-parameters: true
278 kill-phase-on: NEVER
279 predefined-parameters: TEST_GROUPS=tf-l3-boot-tests-n1sdp
280 property-file: tf-a-env.param
281 - name: tf-a-ci-gateway
Paul Sokolovsky77be8fa2023-01-14 09:34:55 +0300282 alias: spm-l3-boot-tests
Leonardo Sandoval0e0ee892021-02-16 10:39:51 -0600283 current-parameters: true
284 kill-phase-on: NEVER
285 predefined-parameters: TEST_GROUPS=spm-l3-boot-tests
286 property-file: tf-a-env.param
Arthur Shee4fa0232022-11-03 21:05:20 -0700287 - name: tf-a-ci-gateway
Manish Pandey939c5002024-03-22 14:06:21 +0000288 alias: tf-l2-boot-tests-partner-boards
Arthur Shee4fa0232022-11-03 21:05:20 -0700289 current-parameters: true
290 kill-phase-on: NEVER
Manish Pandey939c5002024-03-22 14:06:21 +0000291 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-partner-boards
Arthur Shee4fa0232022-11-03 21:05:20 -0700292 property-file: tf-a-env.param
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200293 # Platform-specific self-tests.
294 # These tests run from the BL31 image then halt the target.
295 - name: tf-a-ci-gateway
Manish Pandey939c5002024-03-22 14:06:21 +0000296 alias: tf-l2-boot-tests-arm-plats
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200297 current-parameters: true
298 kill-phase-on: NEVER
Manish Pandey939c5002024-03-22 14:06:21 +0000299 predefined-parameters: TEST_GROUPS=tf-l2-boot-tests-arm-plats
Sandrine Bailleuxee0bac52023-05-23 08:28:43 +0200300 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600301 - multijob:
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600302 name: Run doc build check
303 condition: COMPLETED
304 projects:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600305 - name: tf-a-ci-gateway
Paul Sokolovsky9bf26242023-06-27 22:14:10 +0300306 alias: tf-l1-check-docs
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600307 current-parameters: true
308 kill-phase-on: NEVER
309 predefined-parameters: TEST_GROUPS=tf-l1-check-docs
310 property-file: tf-a-env.param
Harrison Mutaiee250c72022-08-05 16:28:27 +0100311 - multijob:
Chris Kaydd569e62023-02-24 13:03:13 +0000312 name: Generate visualizations
313 condition: COMPLETED
314 projects:
315 - name: tf-a-sloc-visualization
316 current-parameters: true
317 kill-phase-on: NEVER
318 property-file: tf-a-env.param
319 - name: tf-a-test-category-visualization
320 current-parameters: true
321 kill-phase-on: NEVER
322 property-file: tf-a-env.param
323 - name: tf-a-test-result-visualization
324 current-parameters: true
325 kill-phase-on: NEVER
326 predefined-parameters: TARGET_BUILD=${JOB_NAME}/${BUILD_NUMBER}
327 property-file: tf-a-env.param
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600328 # Run the unstable TF-A Tests at the end but do not let their results
329 # participate in the job's success/failure.
330 - trigger-builds:
Leonardo Sandovalffaee982021-11-11 10:27:57 -0600331 - project: tf-a-ci-gateway
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600332 current-parameters: True
333 property-file: tf-a-tests-env.param
334 property-file-fail-on-missing: True
335 predefined-parameters: TEST_GROUPS=tftf-unstable
336 block: True
337 block-thresholds:
338 build-step-failure-threshold: never
339 unstable-threshold: never
340 failure-threshold: never
Leonardo Sandoval2902d2f2020-11-25 12:32:31 -0600341 # If all tests passed, catch up the master branch with integration
342 - conditional-step:
343 condition-kind: current-status
344 condition-best: SUCCESS
345 condition-worst: SUCCESS
346 steps:
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000347 - shell: |-
348 #!/bin/bash
Arthur Sheffd432e2025-02-02 12:35:55 -0800349 #
350 if echo ${JENKINS_PUBLIC_URL} | grep -q "ci.trustedfirmware.org"; then
351 # Only do it on the OpenCI production site
352 echo "It's running on the OpenCI procution site"
353 if [ $MULTIJOB_FAILED -eq 0 ]; then
354 echo "Proceed with integration->master fast-forward merge"
355 bash "${WORKSPACE}/tf-a-ci-scripts/script/scratch_scripts/fast-forward-master.sh"
356 else
357 echo "Do not proceed with integration->master merge as sub-jobs failed"
358 fi
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000359 else
Arthur Sheffd432e2025-02-02 12:35:55 -0800360 echo "It's NOT on the OpenCI production site"
Manish V Badarkheccb7c9e2023-01-05 15:58:21 +0000361 fi