blob: b4f825ee320b5ab318cd47cbb66fdaf4a16f5109 [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:
41 name: CI_REFSPEC
42 default: '+refs/heads/master:refs/remotes/origin/master'
43 - string:
44 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:
49 name: LAVA_PRIORITY
50 default: 'low'
51 - string:
52 name: MBEDTLS_URL
53 default: 'https://github.com/Mbed-TLS/mbedtls/archive/mbedtls-3.6.1.tar.gz'
54 - 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:
65 name: SHARE_FOLDER
66 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
67 description: 'Folder containing shared repositories for downstream pipeline jobs'
68 wrappers:
69 - workspace-cleanup
70 - timestamps
71 builders:
72 - 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
108 triggers:
109 - timed: '59 23 * * 7'