CSIT: Add rls2310 jobs.
[ci-management.git] / jjb / csit / csit-vpp-device.yaml
1 # Copyright (c) 2023 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 ---
15 - project:
16     name: csit-vpp-device
17     description: 'CSIT jenkins jobs.'
18     jobs:
19       - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
20       - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
21       - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
22       - 'csit-vpp-device-report-coverage-{stream}-{node-arch}':
23           stream:
24             - '2310':
25                 branch: 'rls2310'
26                 branch-id: 'oper-rls2310'
27     node-arch:
28       - '1n-skx':
29           os: 'ubuntu2204'
30           executor-arch: 'x86_64'
31           make-parallel-jobs: '32'
32           skip-vote: 'false'
33       - '1n-tx2':
34           os: 'ubuntu2204'
35           executor-arch: 'aarch64'
36           make-parallel-jobs: '32'
37           skip-vote: 'false'
38     project: 'csit'
39     branch: 'master'
40     branch-id: 'oper'
41     stream:
42       - master:
43           branch: 'master'
44           branch-id: 'oper'
45       - '2310':
46           branch: 'rls2310'
47           branch-id: 'oper-rls2310'
48
49 - job-template:
50     name: 'csit-vpp-device-report-coverage-{stream}-{node-arch}'
51
52     project-type: freestyle
53     node: 'csit-builder-{os}-prod-{executor-arch}'
54     concurrent: true
55     latest-only: false
56
57     properties:
58       - lf-infra-properties:
59           build-days-to-keep: "{build-days-to-keep}"
60
61     parameters:
62       - project-parameter:
63           project: '{project}'
64       - gerrit-parameter:
65           branch: '{branch}'
66       - make-parallel-jobs-parameter:
67           make-parallel-jobs: '{make-parallel-jobs}'
68       - os-parameter:
69           os: '{os}'
70       - gerrit-refspec-parameter
71       - gerrit-event-type-parameter
72       - gerrit-event-comment-text-parameter
73       - csit-fail-on-crc-mismatch-parameter:
74           fail-on-crc-mismatch: 'True'
75
76     scm:
77       - gerrit-trigger-scm:
78           credentials-id: 'jenkins-gerrit-credentials'
79           refspec: '$GERRIT_REFSPEC'
80           choosing-strategy: 'gerrit'
81
82     wrappers:
83       - fdio-infra-wrappers:
84           build-timeout: '{build-timeout}'
85
86     triggers:
87       - gerrit-trigger-csit-perftest:
88           project: '{project}'
89           branch: '{branch}'
90           trigger-word: 'csit-vpp-report-dev-{node-arch}'
91           skip-vote: false
92
93     builders:
94       - shell:
95           !include-raw-escape:
96           - ../scripts/setup_executor_env.sh
97       - shell:
98           !include-raw-escape:
99           - ../scripts/csit/device-verify.sh
100
101     publishers:
102       - fdio-infra-publish
103
104 - job-template:
105     name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
106
107     project-type: freestyle
108     node: 'csit-builder-{os}-prod-{executor-arch}'
109     concurrent: true
110     latest-only: 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       - make-parallel-jobs-parameter:
122           make-parallel-jobs: '{make-parallel-jobs}'
123       - os-parameter:
124           os: '{os}'
125       - gerrit-refspec-parameter
126       - gerrit-event-type-parameter
127       - gerrit-event-comment-text-parameter
128       # This is an automatic verify job, part of API coverage.
129       # CRC checking is needed to ensure vpp crc job breaks only when intended.
130       # Unlikely to be removed, as this job is primary source of API coverage.
131       - csit-fail-on-crc-mismatch-parameter:
132           fail-on-crc-mismatch: 'True'
133
134     scm:
135       - gerrit-trigger-scm:
136           credentials-id: 'jenkins-gerrit-credentials'
137           refspec: '$GERRIT_REFSPEC'
138           choosing-strategy: 'gerrit'
139
140     wrappers:
141       - fdio-infra-wrappers:
142           build-timeout: '{build-timeout}'
143
144     triggers:
145       - gerrit-trigger-csit-vpp-devicetest-full:
146           project: '{project}'
147           branch: '{branch}'
148           skip-vote: '{skip-vote}'
149
150     builders:
151       - shell:
152           !include-raw-escape:
153           - ../scripts/setup_executor_env.sh
154       - shell:
155           !include-raw-escape:
156           - ../scripts/csit/device-verify.sh
157
158     publishers:
159       - fdio-infra-publish
160
161 - job-template:
162     name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
163
164     project-type: freestyle
165     node: 'csit-builder-{os}-prod-{executor-arch}'
166     concurrent: false
167     latest-only: false
168
169     properties:
170       - lf-infra-properties:
171           build-days-to-keep: "{build-days-to-keep}"
172
173     parameters:
174       - project-parameter:
175           project: '{project}'
176       - gerrit-parameter:
177           branch: '{branch}'
178       - make-parallel-jobs-parameter:
179           make-parallel-jobs: '{make-parallel-jobs}'
180       - os-parameter:
181           os: '{os}'
182
183     wrappers:
184       - fdio-infra-wrappers-non-activity-timeout:
185           build-timeout: '{build-timeout}'
186
187     triggers:
188       - timed: '0 4 * * 2,6'
189
190       - gerrit-trigger-manually-triggered:
191           comment-trigger-value: 'csit-verify-vpp'
192           name: '{project}'
193           branch: '{branch}'
194
195     builders:
196       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
197       - inject:
198           properties-file: variables.prop
199       - shell:
200           !include-raw-escape:
201           - ../scripts/setup_executor_env.sh
202       - shell:
203           !include-raw-escape:
204           - ../scripts/csit/device-semiweekly.sh
205
206     publishers:
207       - fdio-infra-publish
208
209 - job-template:
210     name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
211
212     project-type: freestyle
213     node: 'csit-builder-{os}-prod-{executor-arch}'
214     concurrent: false
215     latest-only: false
216
217     properties:
218       - lf-infra-properties:
219           build-days-to-keep: "{build-days-to-keep}"
220
221     parameters:
222       - project-parameter:
223           project: '{project}'
224       - gerrit-parameter:
225           branch: '{branch}'
226       - make-parallel-jobs-parameter:
227           make-parallel-jobs: '{make-parallel-jobs}'
228       - os-parameter:
229           os: '{os}'
230
231     scm:
232       - git-scm:
233           credentials-id: 'jenkins-gerrit-credentials'
234           branch: '{branch}'
235
236     wrappers:
237       - fdio-infra-wrappers-non-activity-timeout:
238           build-timeout: '{build-timeout}'
239
240     triggers:
241       - timed: '0 4 * * 0'
242
243       - gerrit-trigger-manually-triggered:
244           comment-trigger-value: 'csit-vpp-ref-verify'
245           name: '{project}'
246           branch: '{branch}'
247
248     builders:
249       - shell:
250           !include-raw-escape:
251           - ../scripts/setup_executor_env.sh
252       - shell:
253           !include-raw-escape:
254           - ../scripts/csit/device-verify.sh
255
256     publishers:
257       - fdio-infra-publish