1 # Copyright (c) 2021 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-rls2009_lts'
41 branch-id: 'oper-rls2101'
44 branch-id: 'oper-rls2106'
45 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly':
52 branch-id: 'oper-rls2009_lts'
55 branch-id: 'oper-rls2101'
58 branch-id: 'oper-rls2106'
69 branch-id: 'oper-rls2009_lts'
72 branch-id: 'oper-rls2101'
75 branch-id: 'oper-rls2106'
78 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
80 project-type: freestyle
81 node: 'csit-builder-{os}-prod-{executor-arch}'
86 - lf-infra-properties:
87 build-days-to-keep: "{build-days-to-keep}"
94 - make-parallel-jobs-parameter:
95 make-parallel-jobs: '{make-parallel-jobs}'
98 - gerrit-refspec-parameter
99 - gerrit-event-type-parameter
100 - gerrit-event-comment-text-parameter
101 # This is an automatic verify job, part of API coverage.
102 # CRC checking is needed to ensure vpp crc job breaks only when intended.
103 # Unlikely to be removed, as this job is primary source of API coverage.
104 - csit-fail-on-crc-mismatch-parameter:
105 fail-on-crc-mismatch: 'True'
108 - gerrit-trigger-scm:
109 credentials-id: 'jenkins-gerrit-credentials'
110 refspec: '$GERRIT_REFSPEC'
111 choosing-strategy: 'gerrit'
114 - fdio-infra-wrappers:
115 build-timeout: '{build-timeout}'
118 - gerrit-trigger-csit-vpp-devicetest-full:
121 skip-vote: '{skip-vote}'
126 - ../scripts/setup_executor_env.sh
129 - ../scripts/csit/device-verify.sh
135 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
137 project-type: freestyle
138 node: 'csit-builder-{os}-prod-{executor-arch}'
143 - lf-infra-properties:
144 build-days-to-keep: "{build-days-to-keep}"
151 - make-parallel-jobs-parameter:
152 make-parallel-jobs: '{make-parallel-jobs}'
157 - fdio-infra-wrappers-non-activity-timeout:
158 build-timeout: '{build-timeout}'
161 - timed: '0 4 * * 2,6'
163 - gerrit-trigger-manually-triggered:
164 comment-trigger-value: 'csit-verify-vpp'
169 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
171 properties-file: variables.prop
174 - ../scripts/setup_executor_env.sh
177 - ../scripts/csit/device-semiweekly.sh
183 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
185 project-type: freestyle
186 node: 'csit-builder-{os}-prod-{executor-arch}'
191 - lf-infra-properties:
192 build-days-to-keep: "{build-days-to-keep}"
199 - make-parallel-jobs-parameter:
200 make-parallel-jobs: '{make-parallel-jobs}'
206 credentials-id: 'jenkins-gerrit-credentials'
210 - fdio-infra-wrappers-non-activity-timeout:
211 build-timeout: '{build-timeout}'
216 - gerrit-trigger-manually-triggered:
217 comment-trigger-value: 'csit-vpp-ref-verify'
224 - ../scripts/setup_executor_env.sh
227 - ../scripts/csit/device-verify.sh