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