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