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