blob: b04689c428e762182b6ce31850379ce5e460b1ff [file] [log] [blame]
Chris Kay71c48d62022-12-20 11:13:25 +00001- job:
2 name: tf-a-tftf-main
3 description: Main CI job for the Trusted Firmware-A Test Framework.
Paul Sokolovsky02ce83a2023-07-16 17:26:27 +03004 node: docker-amd64-tf-a-jammy
Chris Kay71c48d62022-12-20 11:13:25 +00005 project-type: multijob
6 concurrent: true
7 disabled: false
8 properties:
Chris Kay71c48d62022-12-20 11:13:25 +00009 - build-discarder:
10 days-to-keep: 14
11 num-to-keep: 60
12 - throttle:
13 option: project
14 enabled: true
15 max-total: 5
16 parameters:
17 - string:
18 name: TF_GERRIT_PROJECT
19 default: "TF-A/trusted-firmware-a"
20 description: "Gerrit project name for Trusted Firmware-A."
21 - string:
22 name: TF_GERRIT_BRANCH
Manish V Badarkhedce7e212023-02-13 16:17:46 +000023 default: "refs/heads/integration"
Chris Kay71c48d62022-12-20 11:13:25 +000024 description: "Git project branch for Trusted Firmware-A."
25 - string:
26 name: TF_GERRIT_REFSPEC
Manish V Badarkhedce7e212023-02-13 16:17:46 +000027 default: "+refs/heads/integration:refs/remotes/origin/integration"
Chris Kay71c48d62022-12-20 11:13:25 +000028 description: "Git refspec for Trusted Firmware-A."
29 - string:
30 name: TFTF_GERRIT_PROJECT
31 default: "TF-A/tf-a-tests"
32 description: "Gerrit project name for the Trusted Firmware-A Test Framework."
33 - string:
34 name: TFTF_GERRIT_BRANCH
35 default: "refs/heads/master"
36 description: "Git branch for the Trusted Firmware-A Test Framework."
37 - string:
38 name: TFTF_GERRIT_REFSPEC
39 default: "+refs/heads/master:refs/remotes/origin/master"
40 description: "Git refspec for the Trusted Firmware-A Test Framework."
41 - string:
42 name: CI_REFSPEC
43 default: "+refs/heads/master:refs/remotes/origin/master"
44 description: "Git refspec for the Trusted Firmware-A CI scripts."
45 - string:
Manish V Badarkhe08e108b2025-04-11 08:01:14 +010046 name: RMM_REFSPEC
47 default: '+refs/heads/main:refs/remotes/origin/main'
48 description: |
49 tf-rmm refspec to use. The main branch is used by default.
50 - string:
Saheer Babub495f032025-01-21 23:01:11 +000051 name: JOBS_REFSPEC
52 default: 'refs/heads/master'
53 description: |
54 tf-a-job-configs refspec to use. The master branch is used by default.
55 - string:
Chris Kay71c48d62022-12-20 11:13:25 +000056 name: SHARE_FOLDER
57 default: "/srv/shared/${JOB_NAME}/${BUILD_NUMBER}"
58 description: "Folder containing shared repositories for downstream pipeline jobs."
Chris Kay71c48d62022-12-20 11:13:25 +000059 triggers:
60 - timed: H H(0-6) * * 1-5
61 wrappers:
62 - credentials-binding:
63 - ssh-user-private-key:
64 credential-id: TFA_CI_BOT_USER_SSH_KEY
65 key-file-variable: CI_BOT_KEY
66 username-variable: CI_BOT_USERNAME
67 passphrase-variable: ""
68 - workspace-cleanup
69 - timestamps
70 builders:
71 - shell:
72 !include-raw: scripts/clone.sh
73 - shell: |
74 #!/bin/bash
75
76 cat << EOF > tf-a-tests-env.param
77 GERRIT_PROJECT=${TFTF_GERRIT_PROJECT}
78 GERRIT_BRANCH=${TFTF_GERRIT_BRANCH}
79 GERRIT_REFSPEC=${TFTF_GERRIT_REFSPEC}
80 QA_SERVER_PROJECT=${JOB_NAME}
81 QA_SERVER_VERSION=${BUILD_NUMBER}
82 SHARE_FOLDER=${SHARE_FOLDER}
83 EOF
84 - multijob:
85 condition: COMPLETED
86 name: Static checks on TFTF
87 projects:
88 - current-parameters: true
89 kill-phase-on: NEVER
90 name: tf-a-static-checks
91 predefined-parameters: |-
Manish V Badarkhe4a7c1972022-12-28 18:37:04 +000092 REPO_UNDER_TEST=tf-a-tests
Chris Kay71c48d62022-12-20 11:13:25 +000093 property-file: tf-a-tests-env.param
94 - multijob:
95 condition: COMPLETED
96 name: Build TFTF
97 projects:
98 - current-parameters: true
99 kill-phase-on: NEVER
100 name: tf-a-ci-gateway
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000101 alias: tftf-l1-build
Chris Kay71c48d62022-12-20 11:13:25 +0000102 predefined-parameters: |-
103 TEST_GROUPS=tftf-l1-build
104 property-file: tf-a-tests-env.param
105 - multijob:
106 condition: COMPLETED
107 name: Run TFTF FWU
108 projects:
109 - current-parameters: true
110 kill-phase-on: NEVER
111 name: tf-a-ci-gateway
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000112 alias: tftf-l2-fwu
Chris Kay71c48d62022-12-20 11:13:25 +0000113 predefined-parameters: |-
114 TEST_GROUPS=tftf-l2-fwu
115 property-file: tf-a-tests-env.param
116 - multijob:
117 condition: COMPLETED
118 name: Run TFTF
119 projects:
120 - current-parameters: true
121 kill-phase-on: NEVER
122 name: tf-a-ci-gateway
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000123 alias: tftf-l1-fvp tftf-l1-juno
Chris Kay71c48d62022-12-20 11:13:25 +0000124 predefined-parameters: |-
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000125 TEST_GROUPS=tftf-l1-fvp tftf-l1-juno
Chris Kay71c48d62022-12-20 11:13:25 +0000126 property-file: tf-a-tests-env.param
127 - current-parameters: true
128 kill-phase-on: NEVER
129 name: tf-a-ci-gateway
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000130 alias: tftf-l2-fvp-auxiliary tftf-l2-fvp-dynamiq
Chris Kay71c48d62022-12-20 11:13:25 +0000131 predefined-parameters: |-
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000132 TEST_GROUPS=tftf-l2-fvp-auxiliary tftf-l2-fvp-dynamiq
133 property-file: tf-a-tests-env.param
134 - current-parameters: true
135 kill-phase-on: NEVER
136 name: tf-a-ci-gateway
137 alias: spm-l2-boot-tests tf-l2-boot-tests-spm-mm
138 predefined-parameters: |-
Manish V Badarkhe0297b082023-12-04 18:14:58 +0000139 TEST_GROUPS=spm-l2-boot-tests tf-l2-boot-tests-spm-mm
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000140 property-file: tf-a-tests-env.param
141 - current-parameters: true
142 kill-phase-on: NEVER
143 name: tf-a-ci-gateway
144 alias: spm-l3-boot-tests tf-l3-boot-tests-spm-mm
145 predefined-parameters: |-
146 TEST_GROUPS=spm-l3-boot-tests tf-l3-boot-tests-spm-mm
Chris Kay71c48d62022-12-20 11:13:25 +0000147 property-file: tf-a-tests-env.param
148 - multijob:
149 condition: SUCCESSFUL
150 name: Run TFTF Extensive
151 projects:
152 - current-parameters: true
153 kill-phase-on: FAILURE
154 name: tf-a-ci-gateway
Manish V Badarkhe09964ed2023-11-13 10:12:03 +0000155 alias: tftf-l2-extensive-tests-fvp
Chris Kay71c48d62022-12-20 11:13:25 +0000156 predefined-parameters: |-
157 TEST_GROUPS=tftf-l2-extensive-tests-fvp
158 property-file: tf-a-tests-env.param