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-rls2210'
39 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly':
46 # branch-id: 'oper-rls2210'
57 # branch-id: 'oper-rls2210'
60 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
62 project-type: freestyle
63 node: 'csit-builder-{os}-prod-{executor-arch}'
68 - lf-infra-properties:
69 build-days-to-keep: "{build-days-to-keep}"
76 - make-parallel-jobs-parameter:
77 make-parallel-jobs: '{make-parallel-jobs}'
80 - gerrit-refspec-parameter
81 - gerrit-event-type-parameter
82 - gerrit-event-comment-text-parameter
83 # This is an automatic verify job, part of API coverage.
84 # CRC checking is needed to ensure vpp crc job breaks only when intended.
85 # Unlikely to be removed, as this job is primary source of API coverage.
86 - csit-fail-on-crc-mismatch-parameter:
87 fail-on-crc-mismatch: 'True'
91 credentials-id: 'jenkins-gerrit-credentials'
92 refspec: '$GERRIT_REFSPEC'
93 choosing-strategy: 'gerrit'
96 - fdio-infra-wrappers:
97 build-timeout: '{build-timeout}'
100 - gerrit-trigger-csit-vpp-devicetest-full:
103 skip-vote: '{skip-vote}'
108 - ../scripts/setup_executor_env.sh
111 - ../scripts/csit/device-verify.sh
117 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
119 project-type: freestyle
120 node: 'csit-builder-{os}-prod-{executor-arch}'
125 - lf-infra-properties:
126 build-days-to-keep: "{build-days-to-keep}"
133 - make-parallel-jobs-parameter:
134 make-parallel-jobs: '{make-parallel-jobs}'
139 - fdio-infra-wrappers-non-activity-timeout:
140 build-timeout: '{build-timeout}'
143 - timed: '0 4 * * 2,6'
145 - gerrit-trigger-manually-triggered:
146 comment-trigger-value: 'csit-verify-vpp'
151 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
153 properties-file: variables.prop
156 - ../scripts/setup_executor_env.sh
159 - ../scripts/csit/device-semiweekly.sh
165 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
167 project-type: freestyle
168 node: 'csit-builder-{os}-prod-{executor-arch}'
173 - lf-infra-properties:
174 build-days-to-keep: "{build-days-to-keep}"
181 - make-parallel-jobs-parameter:
182 make-parallel-jobs: '{make-parallel-jobs}'
188 credentials-id: 'jenkins-gerrit-credentials'
192 - fdio-infra-wrappers-non-activity-timeout:
193 build-timeout: '{build-timeout}'
198 - gerrit-trigger-manually-triggered:
199 comment-trigger-value: 'csit-vpp-ref-verify'
206 - ../scripts/setup_executor_env.sh
209 - ../scripts/csit/device-verify.sh