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'
42 - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly':
49 branch-id: 'oper-rls2009_lts'
52 branch-id: 'oper-rls2101'
63 branch-id: 'oper-rls2009'
66 branch-id: 'oper-rls2009_lts'
69 branch-id: 'oper-rls2101'
72 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}'
74 project-type: freestyle
75 node: 'csit-builder-{os}-prod-{executor-arch}'
77 archive-artifacts: 'archive/*.*'
81 daysToKeep: '{build-days-to-keep}'
82 numToKeep: '{build-num-to-keep}'
83 artifactDaysToKeep: '{build-artifact-days-to-keep}'
84 artifactNumToKeep: '{build-artifact-num-to-keep}'
91 - make-parallel-jobs-parameter:
92 make-parallel-jobs: '{make-parallel-jobs}'
95 - gerrit-refspec-parameter
96 - gerrit-event-type-parameter
97 - gerrit-event-comment-text-parameter
99 name: ARCHIVE_ARTIFACTS
100 default: '{archive-artifacts}'
101 description: Artifacts to archive to the logs server.
102 # This is an automatic verify job, part of API coverage.
103 # CRC checking is needed to ensure vpp crc job breaks only when intended.
104 # Unlikely to be removed, as this job is primary source of API coverage.
105 - csit-fail-on-crc-mismatch-parameter:
106 fail-on-crc-mismatch: 'True'
109 - gerrit-trigger-scm:
110 credentials-id: 'jenkins-gerrit-credentials'
111 refspec: '$GERRIT_REFSPEC'
112 choosing-strategy: 'gerrit'
115 - fdio-infra-wrappers:
116 build-timeout: '{build-timeout}'
119 - gerrit-trigger-csit-vpp-devicetest-full:
122 skip-vote: '{skip-vote}'
127 - ../scripts/setup_executor_env.sh
130 - ../scripts/csit/device-verify.sh
134 output-path: 'archives'
137 - fdio-infra-shiplogs:
138 maven-version: 'mvn33-new'
141 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly'
143 project-type: freestyle
144 node: 'csit-builder-{os}-prod-{executor-arch}'
146 archive-artifacts: 'csit/archive/*.*'
150 daysToKeep: '{build-days-to-keep}'
151 numToKeep: '{build-num-to-keep}'
152 artifactDaysToKeep: '{build-artifact-days-to-keep}'
153 artifactNumToKeep: '{build-artifact-num-to-keep}'
160 - make-parallel-jobs-parameter:
161 make-parallel-jobs: '{make-parallel-jobs}'
165 name: ARCHIVE_ARTIFACTS
166 default: '{archive-artifacts}'
167 description: Artifacts to archive to the logs server.
170 - fdio-infra-wrappers-non-activity-timeout:
171 build-timeout: '{build-timeout}'
174 - timed: '0 4 * * 2,6'
176 - gerrit-trigger-manually-triggered:
177 comment-trigger-value: 'csit-verify-vpp'
182 - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
184 properties-file: variables.prop
187 - ../scripts/setup_executor_env.sh
190 - ../scripts/csit/device-semiweekly.sh
194 output-path: 'archives'
197 - fdio-infra-shiplogs:
198 maven-version: 'mvn33-new'
201 name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly'
203 project-type: freestyle
204 node: 'csit-builder-{os}-prod-{executor-arch}'
206 archive-artifacts: 'archive/*.*'
210 daysToKeep: '{build-days-to-keep}'
211 numToKeep: '{build-num-to-keep}'
212 artifactDaysToKeep: '{build-artifact-days-to-keep}'
213 artifactNumToKeep: '{build-artifact-num-to-keep}'
220 - make-parallel-jobs-parameter:
221 make-parallel-jobs: '{make-parallel-jobs}'
225 name: ARCHIVE_ARTIFACTS
226 default: '{archive-artifacts}'
227 description: Artifacts to archive to the logs server.
231 credentials-id: 'jenkins-gerrit-credentials'
235 - fdio-infra-wrappers-non-activity-timeout:
236 build-timeout: '{build-timeout}'
241 - gerrit-trigger-manually-triggered:
242 comment-trigger-value: 'csit-vpp-ref-verify'
249 - ../scripts/setup_executor_env.sh
252 - ../scripts/csit/device-verify.sh
256 output-path: 'archives'
259 - fdio-infra-shiplogs:
260 maven-version: 'mvn33-new'