Merge "feat(csit): add single-testbed weekly ndrpdr jobs"
[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:
11       - 'ubuntu2004'
12       - 'ubuntu2204'
13     stream:
14       - 'master':
15           branch: 'master'
16           branch-refspec: ''
17       - '2210':
18           branch: 'stable/2210'
19           branch-refspec: ''
20       - '2302':
21           branch: 'stable/2302'
22           branch-refspec: ''
23     exclude:
24       # os deprecated in 23.02
25       - stream: '2302'
26         os: 'ubuntu2004'
27       # os deprecated in 22.10
28       - stream: '2210'
29         os: 'ubuntu2004'
30       # os deprecated in master
31       - stream: 'master'
32         os: 'ubuntu2004'
33       # os added in 22.10
34
35 - job-template:
36     name: 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
37
38     project-type: freestyle
39     node: 'builder-{os}-prod-{executor-arch}'
40     concurrent: true
41     allow-empty: 'true'
42     fingerprint: false
43     only-if-success: true
44     default-excludes: false
45
46     properties:
47       - lf-infra-properties:
48           build-days-to-keep: "{build-days-to-keep}"
49
50     parameters:
51       - project-parameter:
52           project: '{project}'
53       - gerrit-parameter:
54           branch: '{branch}'
55       - os-parameter:
56           os: '{os}'
57       - stream-parameter:
58           stream: '{stream}'
59       - gerrit-refspec-parameter:
60           refspec: '{branch-refspec}'
61
62     scm:
63       - gerrit-trigger-scm:
64           credentials-id: 'jenkins-gerrit-credentials'
65           refspec: '$GERRIT_REFSPEC'
66           choosing-strategy: 'gerrit'
67
68     wrappers:
69       - fdio-infra-wrappers:
70           build-timeout: '{build-timeout}'
71
72     triggers:
73       - gerrit-trigger-checkstyle:
74           name: '{project}'
75           branch: '{branch}'
76
77     builders:
78       - shell:
79           !include-raw-escape:
80           - ../scripts/setup_executor_env.sh
81       - shell:
82           !include-raw-escape:
83           - ../scripts/setup_vpp_ubuntu_docker_test.sh
84       - shell:
85           !include-raw-escape:
86           - ../scripts/vpp/docs.sh
87
88     publishers:
89       - fdio-infra-publish-docs-7day
90       - fdio-infra-publish
91
92 - job-template:
93     name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
94
95     project-type: freestyle
96     node: 'builder-{os}-prod-{executor-arch}'
97     concurrent: false
98     allow-empty: 'true'
99     fingerprint: false
100     only-if-success: true
101     default-excludes: false
102
103     properties:
104       - lf-infra-properties:
105           build-days-to-keep: "{build-days-to-keep}"
106
107     parameters:
108       - project-parameter:
109           project: '{project}'
110       - gerrit-parameter:
111           branch: '{branch}'
112       - os-parameter:
113           os: '{os}'
114       - stream-parameter:
115           stream: '{stream}'
116
117     scm:
118       - gerrit-trigger-scm:
119           credentials-id: 'jenkins-gerrit-credentials'
120           refspec: ''
121           choosing-strategy: 'default'
122
123     wrappers:
124       - fdio-infra-wrappers:
125           build-timeout: '{build-timeout}'
126
127     triggers:
128       - reverse:
129           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
130           result: 'success'
131       - gerrit:
132           server-name: 'Primary'
133           trigger-on:
134             - comment-added-contains-event:
135                 comment-contains-value: 'run-docs'
136           projects:
137             - project-compare-type: 'ANT'
138               project-pattern: '{project}'
139               branches:
140                 - branch-compare-type: 'ANT'
141                   branch-pattern: '**/{branch}'
142           skip-vote:
143             successful: true
144             failed: true
145             unstable: true
146             notbuilt: true
147
148     builders:
149       - shell:
150           !include-raw-escape:
151           - ../scripts/setup_executor_env.sh
152       - shell:
153           !include-raw-escape:
154           - ../scripts/setup_vpp_ubuntu_docker_test.sh
155       - shell:
156           !include-raw-escape:
157           - ../scripts/vpp/docs.sh
158
159     publishers:
160       - fdio-infra-publish-docs
161       - fdio-infra-publish