Merge "CSIT: Reduce daily jobs cadence for 2206 report data collection"
[ci-management.git] / jjb / vpp / docs.yaml
1 ---
2 - project:
3     name: docs
4     jobs:
5       - 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
6       - 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
7
8     project: 'vpp'
9     executor-arch: 'x86_64'
10     os: 'ubuntu2004'
11
12     stream:
13       - master:
14           branch: 'master'
15           branch-refspec: ''
16       - '2110':
17           branch: 'stable/2110'
18           branch-refspec: ''
19       - '2202':
20           branch: 'stable/2202'
21           branch-refspec: ''
22       - '2206':
23           branch: 'stable/2206'
24           branch-refspec: ''
25
26 # TODO: Remove when stable/2110 is no longer supported.
27 - project:
28     name: make-test-docs
29     jobs:
30       - 'vpp-make-test-docs-merge-{stream}-{os}-{executor-arch}'
31       - 'vpp-make-test-docs-verify-{stream}-{os}-{executor-arch}'
32
33     project: 'vpp'
34     executor-arch: 'x86_64'
35     os: 'ubuntu2004'
36
37     stream:
38       - '2110':
39           branch: 'stable/2110'
40           branch-refspec: ''
41
42 - job-template:
43     name: 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
44
45     project-type: freestyle
46     node: 'builder-{os}-prod-{executor-arch}'
47     concurrent: true
48     allow-empty: 'true'
49     fingerprint: false
50     only-if-success: true
51     default-excludes: false
52
53     properties:
54       - lf-infra-properties:
55           build-days-to-keep: "{build-days-to-keep}"
56
57     parameters:
58       - project-parameter:
59           project: '{project}'
60       - gerrit-parameter:
61           branch: '{branch}'
62       - os-parameter:
63           os: '{os}'
64       - stream-parameter:
65           stream: '{stream}'
66       - gerrit-refspec-parameter:
67           refspec: '{branch-refspec}'
68
69     scm:
70       - gerrit-trigger-scm:
71           credentials-id: 'jenkins-gerrit-credentials'
72           refspec: '$GERRIT_REFSPEC'
73           choosing-strategy: 'gerrit'
74
75     wrappers:
76       - fdio-infra-wrappers:
77           build-timeout: '{build-timeout}'
78
79     triggers:
80       - gerrit-trigger-checkstyle:
81           name: '{project}'
82           branch: '{branch}'
83
84     builders:
85       - shell:
86           !include-raw-escape:
87           - ../scripts/setup_executor_env.sh
88       - shell:
89           !include-raw-escape:
90           - ../scripts/setup_vpp_ubuntu_docker_test.sh
91       - shell:
92           !include-raw-escape:
93           - ../scripts/vpp/docs.sh
94
95     publishers:
96       - fdio-infra-publish
97
98 - job-template:
99     name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
100
101     project-type: freestyle
102     node: 'builder-{os}-prod-{executor-arch}'
103     concurrent: false
104     allow-empty: 'true'
105     fingerprint: false
106     only-if-success: true
107     default-excludes: false
108
109     properties:
110       - lf-infra-properties:
111           build-days-to-keep: "{build-days-to-keep}"
112
113     parameters:
114       - project-parameter:
115           project: '{project}'
116       - gerrit-parameter:
117           branch: '{branch}'
118       - os-parameter:
119           os: '{os}'
120       - stream-parameter:
121           stream: '{stream}'
122
123     scm:
124       - gerrit-trigger-scm:
125           credentials-id: 'jenkins-gerrit-credentials'
126           refspec: ''
127           choosing-strategy: 'default'
128
129     wrappers:
130       - fdio-infra-wrappers:
131           build-timeout: '{build-timeout}'
132
133     triggers:
134       - reverse:
135           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
136           result: 'success'
137       - gerrit:
138           server-name: 'Primary'
139           trigger-on:
140             - comment-added-contains-event:
141                 comment-contains-value: 'run-docs'
142           projects:
143             - project-compare-type: 'ANT'
144               project-pattern: '{project}'
145               branches:
146                 - branch-compare-type: 'ANT'
147                   branch-pattern: '**/{branch}'
148           skip-vote:
149             successful: true
150             failed: true
151             unstable: true
152             notbuilt: true
153
154     builders:
155       - shell:
156           !include-raw-escape:
157           - ../scripts/setup_executor_env.sh
158       - shell:
159           !include-raw-escape:
160           - ../scripts/setup_vpp_ubuntu_docker_test.sh
161       - shell:
162           !include-raw-escape:
163           - ../scripts/vpp/docs.sh
164
165     publishers:
166       - fdio-infra-publish-docs
167       - fdio-infra-publish
168
169
170 - job-template:
171     name: 'vpp-make-test-docs-verify-{stream}-{os}-{executor-arch}'
172
173     project-type: freestyle
174     node: 'builder-{os}-prod-{executor-arch}'
175     concurrent: true
176     allow-empty: 'true'
177     fingerprint: false
178     only-if-success: true
179     default-excludes: false
180
181     properties:
182       - lf-infra-properties:
183           build-days-to-keep: "{build-days-to-keep}"
184
185     parameters:
186       - project-parameter:
187           project: '{project}'
188       - gerrit-parameter:
189           branch: '{branch}'
190       - os-parameter:
191           os: '{os}'
192       - stream-parameter:
193           stream: '{stream}'
194       - gerrit-refspec-parameter:
195           refspec: '{branch-refspec}'
196
197     scm:
198       - gerrit-trigger-scm:
199           credentials-id: 'jenkins-gerrit-credentials'
200           refspec: '$GERRIT_REFSPEC'
201           choosing-strategy: 'gerrit'
202
203     wrappers:
204       - fdio-infra-wrappers:
205           build-timeout: '{build-timeout}'
206
207     triggers:
208       - gerrit-trigger-checkstyle:
209           name: '{project}'
210           branch: '{branch}'
211
212     builders:
213       - shell:
214           !include-raw-escape:
215           - ../scripts/setup_executor_env.sh
216       - shell:
217           !include-raw-escape:
218           - ../scripts/setup_vpp_ubuntu_docker_test.sh
219       - shell:
220           !include-raw-escape:
221           - ../scripts/vpp/make-test-docs.sh
222
223     publishers:
224       - fdio-infra-publish
225
226 - job-template:
227     name: 'vpp-make-test-docs-merge-{stream}-{os}-{executor-arch}'
228
229     project-type: freestyle
230     node: 'builder-{os}-prod-{executor-arch}'
231     concurrent: false
232     allow-empty: 'true'
233     fingerprint: false
234     only-if-success: true
235     default-excludes: false
236
237     properties:
238       - lf-infra-properties:
239           build-days-to-keep: "{build-days-to-keep}"
240
241     parameters:
242       - project-parameter:
243           project: '{project}'
244       - gerrit-parameter:
245           branch: '{branch}'
246       - os-parameter:
247           os: '{os}'
248       - stream-parameter:
249           stream: '{stream}'
250
251     scm:
252       - gerrit-trigger-scm:
253           credentials-id: 'jenkins-gerrit-credentials'
254           refspec: ''
255           choosing-strategy: 'default'
256
257     wrappers:
258       - fdio-infra-wrappers:
259           build-timeout: '{build-timeout}'
260
261     triggers:
262       - reverse:
263           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
264           result: 'success'
265       - gerrit:
266           server-name: 'Primary'
267           trigger-on:
268             - comment-added-contains-event:
269                 comment-contains-value: 'run-docs'
270           projects:
271             - project-compare-type: 'ANT'
272               project-pattern: '{project}'
273               branches:
274                 - branch-compare-type: 'ANT'
275                   branch-pattern: '**/{branch}'
276           skip-vote:
277             successful: true
278             failed: true
279             unstable: true
280             notbuilt: true
281
282     builders:
283       - shell:
284           !include-raw-escape:
285           - ../scripts/setup_executor_env.sh
286       - shell:
287           !include-raw-escape:
288           - ../scripts/setup_vpp_ubuntu_docker_test.sh
289       - shell:
290           !include-raw-escape:
291           - ../scripts/vpp/make-test-docs.sh
292
293     publishers:
294       - fdio-infra-publish-docs
295       - fdio-infra-publish