blob: 62ee98fefed6ac327f99e75efdf79e5423da698b [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:
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 Dykes7c2661d2023-06-23 15:02:21 -050016 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 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:
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}
Chris Kay675db4f2025-06-24 14:14:34 +010085 SHARE_FOLDER=${SHARE_FOLDER}
86 EOF
87 cat << EOF > tf-a-tests-env.param
88 GERRIT_PROJECT=${TFTF_GERRIT_PROJECT}
89 GERRIT_BRANCH=${TFTF_GERRIT_BRANCH}
90 GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC}
Chris Kay675db4f2025-06-24 14:14:34 +010091 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:
Chris Kay675db4f2025-06-24 14:14:34 +0100109 - timed: 59 23 * * 7