blob: 95b160037d3925ee592749aeba24423526e4fb45 [file] [log] [blame]
Mark Dykes7c2661d2023-06-23 15:02:21 -05001- job:
mardyk01abc34a12023-12-13 10:41:37 -06002 name: tf-a-weekly
Paul Sokolovsky47e458d2023-08-07 14:47:47 +03003 node: docker-amd64-tf-a-jammy
Mark Dykes318e3332024-11-11 14:27:34 -06004 project-type: multijob
5 concurrent: true
Mark Dykes7c2661d2023-06-23 15:02:21 -05006 disabled: false
Mark Dykes318e3332024-11-11 14:27:34 -06007 description: Main CI job for Trusted Firmware.
Mark Dykes7c2661d2023-06-23 15:02:21 -05008 properties:
Mark Dykes318e3332024-11-11 14:27:34 -06009 - throttle:
10 option: project
11 enabled: true
12 max-total: 5
Mark Dykes7c2661d2023-06-23 15:02:21 -050013 - build-discarder:
14 days-to-keep: 14
15 num-to-keep: 60
Mark Dykes7c2661d2023-06-23 15:02:21 -050016 parameters:
17 - string:
18 name: TF_GERRIT_PROJECT
19 default: 'TF-A/trusted-firmware-a'
20 - string:
21 name: TF_GERRIT_BRANCH
22 default: 'refs/heads/integration'
23 - string:
24 name: TF_GERRIT_REFSPEC
25 default: '+refs/heads/integration:refs/remotes/origin/integration'
26 - string:
27 name: TFTF_GERRIT_PROJECT
28 default: 'TF-A/tf-a-tests'
29 - string:
30 name: TFTF_GERRIT_BRANCH
31 default: 'refs/heads/master'
32 - string:
33 name: TFTF_GERRIT_REFSPEC
34 default: '+refs/heads/master:refs/remotes/origin/master'
35 - string:
Mark Dykes318e3332024-11-11 14:27:34 -060036 name: SPM_REFSPEC
37 default: '+refs/heads/master:refs/remotes/origin/master'
38 description: |
39 SPM(Hafnium) refspec to use. The master branch is used by default.
40 - string:
Mark Dykes7c2661d2023-06-23 15:02:21 -050041 name: CI_REFSPEC
42 default: '+refs/heads/master:refs/remotes/origin/master'
43 - string:
Saheer Babub495f032025-01-21 23:01:11 +000044 name: JOBS_REFSPEC
45 default: 'refs/heads/master'
46 description: |
47 tf-a-job-configs refspec to use. The master branch is used by default.
48 - string:
Mark Dykes7c2661d2023-06-23 15:02:21 -050049 name: LAVA_PRIORITY
50 default: 'low'
51 - string:
Mark Dykes318e3332024-11-11 14:27:34 -060052 name: MBEDTLS_URL
Lauren Wehrmeistercec409a2025-04-03 14:34:02 -050053 default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.3.tar.gz'
Mark Dykes318e3332024-11-11 14:27:34 -060054 - string:
55 name: LAVA_RETRIES
56 default: 2
57 description: |
58 Number of tries submitting job to LAVA in case it fails (stopgap measure against nondeterministic failures)
59 - string:
60 name: USE_TUXSUITE_FVP
61 default: 1
62 description: |
63 Whether to submit FVP tests via TuxSuite (instead of LAVA)
64 - string:
Mark Dykes7c2661d2023-06-23 15:02:21 -050065 name: SHARE_FOLDER
Mark Dykes318e3332024-11-11 14:27:34 -060066 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
Mark Dykes7c2661d2023-06-23 15:02:21 -050067 description: 'Folder containing shared repositories for downstream pipeline jobs'
68 wrappers:
Mark Dykes318e3332024-11-11 14:27:34 -060069 - workspace-cleanup
70 - timestamps
Mark Dykes7c2661d2023-06-23 15:02:21 -050071 builders:
Mark Dykes318e3332024-11-11 14:27:34 -060072 - shell:
73 !include-raw: scripts/clone.sh
74 - shell: |
75 #!/bin/bash
76 set -e
77 cat << EOF > tf-a-env.param
78 GERRIT_PROJECT=${TF_GERRIT_PROJECT}
79 GERRIT_BRANCH=${TF_GERRIT_BRANCH}
80 GERRIT_REFSPEC=${TF_GERRIT_REFSPEC}
81 QA_SERVER_PROJECT=${JOB_NAME}
82 QA_SERVER_VERSION=${BUILD_NUMBER}
83 SHARE_FOLDER=${SHARE_FOLDER}
84 EOF
85 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}
89 QA_SERVER_PROJECT=${JOB_NAME}
90 QA_SERVER_VERSION=${BUILD_NUMBER}
91 SHARE_FOLDER=${SHARE_FOLDER}
92 EOF
93 - multijob:
94 name: TFTF Fuzzing
95 condition: COMPLETED
96 projects:
97 - name: tf-a-ci-gateway
98 alias: tf-l3-fuzzing SDEI
99 current-parameters: true
100 kill-phase-on: NEVER
101 predefined-parameters: TEST_GROUPS=tf-l3-fuzzing
102 property-file: tf-a-tests-env.param
103 # participate in the job's success/failure.
104 - trigger-builds:
105 - project: tf-a-ci-coverage-gateway
106 block: true
107 current-parameters: true
Mark Dykes7c2661d2023-06-23 15:02:21 -0500108 triggers:
109 - timed: '59 23 * * 7'