blob: c181ba453d2cc0a8cc7439cc5f1269db3aa9469c [file] [log] [blame]
Mark Dykesdf31e102025-02-21 14:56:48 -06001- job:
2 name: tf-a-arm-weekly
3 node: docker-amd64-tf-a-jammy
4 project-type: multijob
5 concurrent: true
6 disabled: false
7 description: CI job for both coverage and fuzzing.
8 properties:
9 - throttle:
10 option: project
11 enabled: true
12 max-total: 5
13 - build-discarder:
14 days-to-keep: 14
15 num-to-keep: 60
16 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:
36 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 Dykesdf31e102025-02-21 14:56:48 -060046 name: CI_REFSPEC
47 default: '+refs/heads/master:refs/remotes/origin/master'
48 - string:
49 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:
54 name: LAVA_PRIORITY
55 default: 'low'
56 - string:
57 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 Dykesdf31e102025-02-21 14:56:48 -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:
70 name: SHARE_FOLDER
71 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
72 description: 'Folder containing shared repositories for downstream pipeline jobs'
73 wrappers:
74 - workspace-cleanup
75 - timestamps
76 builders:
77 - 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 Babu60a50762025-04-23 20:14:59 +0100113 #triggers:
114 # - timed: '59 23 * * 7'