blob: c23fbbaa2d720a6547e1b164e7b0cb11c6d91a36 [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:
Manish V Badarkhe08e108b2025-04-11 08:01:14 +010041 name: RMM_REFSPEC
42 default: '+refs/heads/main:refs/remotes/origin/main'
43 description: |
44 tf-rmm refspec to use. The main branch is used by default.
45 - string:
Mark Dykes7c2661d2023-06-23 15:02:21 -050046 name: CI_REFSPEC
47 default: '+refs/heads/master:refs/remotes/origin/master'
48 - string:
Saheer Babub495f032025-01-21 23:01:11 +000049 name: JOBS_REFSPEC
50 default: 'refs/heads/master'
51 description: |
52 tf-a-job-configs refspec to use. The master branch is used by default.
53 - string:
Mark Dykes7c2661d2023-06-23 15:02:21 -050054 name: LAVA_PRIORITY
55 default: 'low'
56 - string:
Mark Dykes318e3332024-11-11 14:27:34 -060057 name: MBEDTLS_URL
Lauren Wehrmeistercec409a2025-04-03 14:34:02 -050058 default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.3.tar.gz'
Mark Dykes318e3332024-11-11 14:27:34 -060059 - string:
60 name: LAVA_RETRIES
61 default: 2
62 description: |
63 Number of tries submitting job to LAVA in case it fails (stopgap measure against nondeterministic failures)
64 - string:
65 name: USE_TUXSUITE_FVP
66 default: 1
67 description: |
68 Whether to submit FVP tests via TuxSuite (instead of LAVA)
69 - string:
Mark Dykes7c2661d2023-06-23 15:02:21 -050070 name: SHARE_FOLDER
Mark Dykes318e3332024-11-11 14:27:34 -060071 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
Benjamin Copeland5088cdd2025-04-08 11:04:18 +010072 description: 'Folder containing shared repositories for downstream pipeline jobs.'
Mark Dykes7c2661d2023-06-23 15:02:21 -050073 wrappers:
Mark Dykes318e3332024-11-11 14:27:34 -060074 - workspace-cleanup
75 - timestamps
Mark Dykes7c2661d2023-06-23 15:02:21 -050076 builders:
Mark Dykes318e3332024-11-11 14:27:34 -060077 - shell:
78 !include-raw: scripts/clone.sh
79 - shell: |
80 #!/bin/bash
81 set -e
82 cat << EOF > tf-a-env.param
83 GERRIT_PROJECT=${TF_GERRIT_PROJECT}
84 GERRIT_BRANCH=${TF_GERRIT_BRANCH}
85 GERRIT_REFSPEC=${TF_GERRIT_REFSPEC}
86 QA_SERVER_PROJECT=${JOB_NAME}
87 QA_SERVER_VERSION=${BUILD_NUMBER}
88 SHARE_FOLDER=${SHARE_FOLDER}
89 EOF
90 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}
94 QA_SERVER_PROJECT=${JOB_NAME}
95 QA_SERVER_VERSION=${BUILD_NUMBER}
96 SHARE_FOLDER=${SHARE_FOLDER}
97 EOF
98 - multijob:
99 name: TFTF Fuzzing
100 condition: COMPLETED
101 projects:
102 - name: tf-a-ci-gateway
103 alias: tf-l3-fuzzing SDEI
104 current-parameters: true
105 kill-phase-on: NEVER
106 predefined-parameters: TEST_GROUPS=tf-l3-fuzzing
107 property-file: tf-a-tests-env.param
108 # participate in the job's success/failure.
109 - trigger-builds:
110 - project: tf-a-ci-coverage-gateway
111 block: true
112 current-parameters: true
Saheer Babu75aafc92025-02-11 10:04:19 +0000113 # triggers:
114 # - timed: '59 23 * * 7'