1 # Copyright (c) 2022 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.'
21 executor-arch: 'x86_64'
22 make-parallel-jobs: '32'
26 executor-arch: 'aarch64'
27 make-parallel-jobs: '32'
30 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
31 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly':
38 branch-id: 'oper-rls2202'
41 branch-id: 'oper-rls2206'
42 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly':
49 branch-id: 'oper-rls2202'
52 branch-id: 'oper-rls2206'
63 branch-id: 'oper-rls2202'
66 branch-id: 'oper-rls2206'
69 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
71 project-type: freestyle
72 node: 'csit-builder-{os}-prod-{executor-arch}'
77 - lf-infra-properties:
78 build-days-to-keep: "{build-days-to-keep}"
85 - make-parallel-jobs-parameter:
86 make-parallel-jobs: '{make-parallel-jobs}'
89 - gerrit-refspec-parameter
90 - gerrit-event-type-parameter
91 - gerrit-event-comment-text-parameter
92 # This is an automatic verify job, part of API coverage.
93 # CRC checking is needed to ensure vpp crc job breaks only when intended.
94 # Unlikely to be removed, as this job is primary source of API coverage.
95 - csit-fail-on-crc-mismatch-parameter:
96 fail-on-crc-mismatch: 'True'
100 credentials-id: 'jenkins-gerrit-credentials'
101 refspec: '$GERRIT_REFSPEC'
102 choosing-strategy: 'gerrit'
105 - fdio-infra-wrappers:
106 build-timeout: '{build-timeout}'
109 - gerrit-trigger-csit-vpp-devicetest-full:
112 skip-vote: '{skip-vote}'
117 - ../scripts/setup_executor_env.sh
120 - ../scripts/csit/device-verify.sh
126 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
128 project-type: freestyle
129 node: 'csit-builder-{os}-prod-{executor-arch}'
134 - lf-infra-properties:
135 build-days-to-keep: "{build-days-to-keep}"
142 - make-parallel-jobs-parameter:
143 make-parallel-jobs: '{make-parallel-jobs}'
148 - fdio-infra-wrappers-non-activity-timeout:
149 build-timeout: '{build-timeout}'
152 - timed: '0 4 * * 2,6'
154 - gerrit-trigger-manually-triggered:
155 comment-trigger-value: 'csit-verify-vpp'
160 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
162 properties-file: variables.prop
165 - ../scripts/setup_executor_env.sh
168 - ../scripts/csit/device-semiweekly.sh
174 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
176 project-type: freestyle
177 node: 'csit-builder-{os}-prod-{executor-arch}'
182 - lf-infra-properties:
183 build-days-to-keep: "{build-days-to-keep}"
190 - make-parallel-jobs-parameter:
191 make-parallel-jobs: '{make-parallel-jobs}'
197 credentials-id: 'jenkins-gerrit-credentials'
201 - fdio-infra-wrappers-non-activity-timeout:
202 build-timeout: '{build-timeout}'
207 - gerrit-trigger-manually-triggered:
208 comment-trigger-value: 'csit-vpp-ref-verify'
215 - ../scripts/setup_executor_env.sh
218 - ../scripts/csit/device-verify.sh