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-rls2310'
30 executor-arch: 'aarch64'
31 make-parallel-jobs: '32'
35 executor-arch: 'x86_64'
36 make-parallel-jobs: '32'
47 branch-id: 'oper-rls2310'
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 - gerrit-event-type-parameter
72 - gerrit-event-comment-text-parameter
73 - csit-fail-on-crc-mismatch-parameter:
74 fail-on-crc-mismatch: 'True'
78 credentials-id: 'jenkins-gerrit-credentials'
79 refspec: '$GERRIT_REFSPEC'
80 choosing-strategy: 'gerrit'
83 - fdio-infra-wrappers:
84 build-timeout: '{build-timeout}'
87 - gerrit-trigger-csit-perftest:
90 trigger-word: 'csit-vpp-report-dev-{node-arch}'
96 - ../scripts/setup_executor_env.sh
99 - ../scripts/csit/device-verify.sh
105 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
107 project-type: freestyle
108 node: 'csit-builder-{os}-prod-{executor-arch}'
113 - lf-infra-properties:
114 build-days-to-keep: "{build-days-to-keep}"
121 - make-parallel-jobs-parameter:
122 make-parallel-jobs: '{make-parallel-jobs}'
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'
135 - gerrit-trigger-scm:
136 credentials-id: 'jenkins-gerrit-credentials'
137 refspec: '$GERRIT_REFSPEC'
138 choosing-strategy: 'gerrit'
141 - fdio-infra-wrappers:
142 build-timeout: '{build-timeout}'
145 - gerrit-trigger-csit-vpp-devicetest-full:
148 skip-vote: '{skip-vote}'
153 - ../scripts/setup_executor_env.sh
156 - ../scripts/csit/device-verify.sh
162 name: 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}'
164 project-type: freestyle
165 node: 'csit-builder-{os}-prod-{executor-arch}'
170 - lf-infra-properties:
171 build-days-to-keep: "{build-days-to-keep}"
178 - make-parallel-jobs-parameter:
179 make-parallel-jobs: '{make-parallel-jobs}'
184 - fdio-infra-wrappers-non-activity-timeout:
185 build-timeout: '{build-timeout}'
188 - timed: '0 4 * * 2,6'
190 - gerrit-trigger-manually-triggered:
191 comment-trigger-value: 'csit-verify-vpp'
196 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
198 properties-file: variables.prop
201 - ../scripts/setup_executor_env.sh
204 - ../scripts/csit/device-semiweekly.sh
210 name: 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}'
212 project-type: freestyle
213 node: 'csit-builder-{os}-prod-{executor-arch}'
218 - lf-infra-properties:
219 build-days-to-keep: "{build-days-to-keep}"
226 - make-parallel-jobs-parameter:
227 make-parallel-jobs: '{make-parallel-jobs}'
233 credentials-id: 'jenkins-gerrit-credentials'
237 - fdio-infra-wrappers-non-activity-timeout:
238 build-timeout: '{build-timeout}'
243 - gerrit-trigger-manually-triggered:
244 comment-trigger-value: 'csit-vpp-ref-verify'
251 - ../scripts/setup_executor_env.sh
254 - ../scripts/csit/device-verify.sh