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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 description: 'CSIT jenkins jobs.'
19 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
20 - 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}'
21 - 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}'
22 - 'csit-vpp-device-report-coverage-{stream}-{node-arch}':
26 branch-id: 'oper-rls2402'
30 executor-arch: 'aarch64'
31 make-parallel-jobs: '32'
35 executor-arch: 'x86_64'
36 make-parallel-jobs: '32'
47 branch-id: 'oper-rls2402'
50 name: 'csit-vpp-device-report-coverage-{stream}-{node-arch}'
52 project-type: freestyle
53 node: 'csit-builder-{os}-prod-{executor-arch}'
58 - lf-infra-properties:
59 build-days-to-keep: "{build-days-to-keep}"
66 - make-parallel-jobs-parameter:
67 make-parallel-jobs: '{make-parallel-jobs}'
70 - gerrit-refspec-parameter:
71 refspec: '$GERRIT_REFSPEC'
72 - gerrit-event-type-parameter
73 - gerrit-event-comment-text-parameter
74 - csit-fail-on-crc-mismatch-parameter:
75 fail-on-crc-mismatch: 'True'
79 credentials-id: 'jenkins-gerrit-credentials'
80 refspec: '$GERRIT_REFSPEC'
81 choosing-strategy: 'gerrit'
84 - fdio-infra-wrappers:
85 build-timeout: '{build-timeout}'
88 - gerrit-trigger-csit-perftest:
91 trigger-word: 'csit-vpp-report-dev-{node-arch}'
97 - ../scripts/setup_executor_env.sh
100 - ../scripts/csit/device-verify.sh
106 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
108 project-type: freestyle
109 node: 'csit-builder-{os}-prod-{executor-arch}'
114 - lf-infra-properties:
115 build-days-to-keep: "{build-days-to-keep}"
122 - make-parallel-jobs-parameter:
123 make-parallel-jobs: '{make-parallel-jobs}'
126 - gerrit-refspec-parameter:
127 refspec: '$GERRIT_REFSPEC'
128 - gerrit-event-type-parameter
129 - gerrit-event-comment-text-parameter
130 # This is an automatic verify job, part of API coverage.
131 # CRC checking is needed to ensure vpp crc job breaks only when intended.
132 # Unlikely to be removed, as this job is primary source of API coverage.
133 - csit-fail-on-crc-mismatch-parameter:
134 fail-on-crc-mismatch: 'True'
137 - gerrit-trigger-scm:
138 credentials-id: 'jenkins-gerrit-credentials'
139 refspec: '$GERRIT_REFSPEC'
140 choosing-strategy: 'gerrit'
143 - fdio-infra-wrappers:
144 build-timeout: '{build-timeout}'
147 - gerrit-trigger-csit-vpp-devicetest-full:
150 skip-vote: '{skip-vote}'
155 - ../scripts/setup_executor_env.sh
158 - ../scripts/csit/device-verify.sh
164 name: 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}'
166 project-type: freestyle
167 node: 'csit-builder-{os}-prod-{executor-arch}'
172 - lf-infra-properties:
173 build-days-to-keep: "{build-days-to-keep}"
180 - make-parallel-jobs-parameter:
181 make-parallel-jobs: '{make-parallel-jobs}'
186 - fdio-infra-wrappers-non-activity-timeout:
187 build-timeout: '{build-timeout}'
190 - timed: '0 4 * * 2,6'
192 - gerrit-trigger-manually-triggered:
193 comment-trigger-value: 'csit-verify-vpp'
198 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
200 properties-file: variables.prop
203 - ../scripts/setup_executor_env.sh
206 - ../scripts/csit/device-semiweekly.sh
212 name: 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}'
214 project-type: freestyle
215 node: 'csit-builder-{os}-prod-{executor-arch}'
220 - lf-infra-properties:
221 build-days-to-keep: "{build-days-to-keep}"
228 - make-parallel-jobs-parameter:
229 make-parallel-jobs: '{make-parallel-jobs}'
235 credentials-id: 'jenkins-gerrit-credentials'
239 - fdio-infra-wrappers-non-activity-timeout:
240 build-timeout: '{build-timeout}'
245 - gerrit-trigger-manually-triggered:
246 comment-trigger-value: 'csit-vpp-ref-verify'
253 - ../scripts/setup_executor_env.sh
256 - ../scripts/csit/device-verify.sh