blob: d3b7a302451f8ac8948fbebc5427de2d6f65d169 [file] [log] [blame]
Mark Dykesdf31e102025-02-21 14:56:48 -06001- job:
Chris Kay675db4f2025-06-24 14:14:34 +01002 name: tf-a-arm-weekly
Mark Dykesdf31e102025-02-21 14:56:48 -06003 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:
Chris Kay675db4f2025-06-24 14:14:34 +01009 - throttle:
10 option: project
11 enabled: true
12 max-total: 5
13 - build-discarder:
14 days-to-keep: 14
15 num-to-keep: 60
Mark Dykesdf31e102025-02-21 14:56:48 -060016 parameters:
Chris Kay675db4f2025-06-24 14:14:34 +010017 - 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:
41 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:
46 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
58 default: https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.3.tar.gz
59 - 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
Mark Dykesdf31e102025-02-21 14:56:48 -060073 wrappers:
74 - workspace-cleanup
75 - timestamps
76 builders:
Chris Kay675db4f2025-06-24 14:14:34 +010077 - shell: !include-raw: scripts/clone.sh
78 - shell: |
79 #!/bin/bash
80 set -e
81 cat << EOF > tf-a-env.param
82 GERRIT_PROJECT=${TF_GERRIT_PROJECT}
83 GERRIT_BRANCH=${TF_GERRIT_BRANCH}
84 GERRIT_REFSPEC=${TF_GERRIT_REFSPEC}
85 QA_SERVER_PROJECT=${JOB_NAME}
86 QA_SERVER_VERSION=${BUILD_NUMBER}
87 SHARE_FOLDER=${SHARE_FOLDER}
88 EOF
89 cat << EOF > tf-a-tests-env.param
90 GERRIT_PROJECT=${TFTF_GERRIT_PROJECT}
91 GERRIT_BRANCH=${TFTF_GERRIT_BRANCH}
92 GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC}
93 QA_SERVER_PROJECT=${JOB_NAME}
94 QA_SERVER_VERSION=${BUILD_NUMBER}
95 SHARE_FOLDER=${SHARE_FOLDER}
96 EOF
97 - multijob:
98 name: TFTF Fuzzing
99 condition: COMPLETED
100 projects:
101 - name: tf-a-ci-gateway
102 alias: tf-l3-fuzzing SDEI
103 current-parameters: true
104 kill-phase-on: NEVER
105 predefined-parameters: TEST_GROUPS=tf-l3-fuzzing
106 property-file: tf-a-tests-env.param
107 # participate in the job's success/failure.
108 - trigger-builds:
109 - project: tf-a-ci-coverage-gateway
110 block: true
111 current-parameters: true
Mark Dykesdf31e102025-02-21 14:56:48 -0600112 triggers:
Chris Kay675db4f2025-06-24 14:14:34 +0100113 - timed: 59 23 * * 7