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-{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}':
26 branch-id: 'oper-rls2310'
30 executor-arch: 'x86_64'
31 make-parallel-jobs: '32'
35 executor-arch: 'aarch64'
36 make-parallel-jobs: '32'
40 executor-arch: 'x86_64'
41 make-parallel-jobs: '32'
52 branch-id: 'oper-rls2310'
55 name: 'csit-vpp-device-report-coverage-{stream}-{node-arch}'
57 project-type: freestyle
58 node: 'csit-builder-{os}-prod-{executor-arch}'
63 - lf-infra-properties:
64 build-days-to-keep: "{build-days-to-keep}"
71 - make-parallel-jobs-parameter:
72 make-parallel-jobs: '{make-parallel-jobs}'
75 - gerrit-refspec-parameter
76 - gerrit-event-type-parameter
77 - gerrit-event-comment-text-parameter
78 - csit-fail-on-crc-mismatch-parameter:
79 fail-on-crc-mismatch: 'True'
83 credentials-id: 'jenkins-gerrit-credentials'
84 refspec: '$GERRIT_REFSPEC'
85 choosing-strategy: 'gerrit'
88 - fdio-infra-wrappers:
89 build-timeout: '{build-timeout}'
92 - gerrit-trigger-csit-perftest:
95 trigger-word: 'csit-vpp-report-dev-{node-arch}'
101 - ../scripts/setup_executor_env.sh
104 - ../scripts/csit/device-verify.sh
110 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
112 project-type: freestyle
113 node: 'csit-builder-{os}-prod-{executor-arch}'
118 - lf-infra-properties:
119 build-days-to-keep: "{build-days-to-keep}"
126 - make-parallel-jobs-parameter:
127 make-parallel-jobs: '{make-parallel-jobs}'
130 - gerrit-refspec-parameter
131 - gerrit-event-type-parameter
132 - gerrit-event-comment-text-parameter
133 # This is an automatic verify job, part of API coverage.
134 # CRC checking is needed to ensure vpp crc job breaks only when intended.
135 # Unlikely to be removed, as this job is primary source of API coverage.
136 - csit-fail-on-crc-mismatch-parameter:
137 fail-on-crc-mismatch: 'True'
140 - gerrit-trigger-scm:
141 credentials-id: 'jenkins-gerrit-credentials'
142 refspec: '$GERRIT_REFSPEC'
143 choosing-strategy: 'gerrit'
146 - fdio-infra-wrappers:
147 build-timeout: '{build-timeout}'
150 - gerrit-trigger-csit-vpp-devicetest-full:
153 skip-vote: '{skip-vote}'
158 - ../scripts/setup_executor_env.sh
161 - ../scripts/csit/device-verify.sh
167 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
169 project-type: freestyle
170 node: 'csit-builder-{os}-prod-{executor-arch}'
175 - lf-infra-properties:
176 build-days-to-keep: "{build-days-to-keep}"
183 - make-parallel-jobs-parameter:
184 make-parallel-jobs: '{make-parallel-jobs}'
189 - fdio-infra-wrappers-non-activity-timeout:
190 build-timeout: '{build-timeout}'
193 - timed: '0 4 * * 2,6'
195 - gerrit-trigger-manually-triggered:
196 comment-trigger-value: 'csit-verify-vpp'
201 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
203 properties-file: variables.prop
206 - ../scripts/setup_executor_env.sh
209 - ../scripts/csit/device-semiweekly.sh
215 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
217 project-type: freestyle
218 node: 'csit-builder-{os}-prod-{executor-arch}'
223 - lf-infra-properties:
224 build-days-to-keep: "{build-days-to-keep}"
231 - make-parallel-jobs-parameter:
232 make-parallel-jobs: '{make-parallel-jobs}'
238 credentials-id: 'jenkins-gerrit-credentials'
242 - fdio-infra-wrappers-non-activity-timeout:
243 build-timeout: '{build-timeout}'
248 - gerrit-trigger-manually-triggered:
249 comment-trigger-value: 'csit-vpp-ref-verify'
256 - ../scripts/setup_executor_env.sh
259 - ../scripts/csit/device-verify.sh