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 # Please keep projects grouped in this order:
18 # vpp-x86_64, vpp-aarch64, vpp-csit
21 # - The 'branch-head-refspec' attribute is used for sandbox testing.
22 # Use the get_gerrit_refspec() bash function in
23 # .../ci-management/docker/scripts/lib_common.sh
24 # to query gerrit for the refspec of HEAD in a branch.
25 # TODO: see if there is a refspec that works without requiring
26 # use of get_gerrit_refspec and hand entering the result
27 # in the WebUI 'Build With Parameters' gerrit refspec field.
28 # - Use the following to import get_gerrit_refspec into a bash shell
29 # from the ci-management directory:
30 # $ eval "$(grep -A12 get_gerrit ./docker/scripts/lib_common.sh)"
33 # VPP-CHECKSTYLE-X86_64 PROJECT
35 name: vpp-checkstyle-x86_64
37 - 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
43 repo-stream-part: 'master'
44 branch-head-refspec: ''
48 repo-stream-part: 'stable.2009'
49 branch-head-refspec: ''
54 repo-stream-part: 'stable.2101'
55 branch-head-refspec: ''
56 executor-arch: 'x86_64'
57 # [end] VPP-CHECKSTYLE-X86_64 PROJECT
63 - 'vpp-verify-{stream}-{os}-{executor-arch}'
64 - 'vpp-merge-{stream}-{os}-{executor-arch}'
66 make-parallel-jobs: '4'
67 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
71 repo-stream-part: 'master'
72 branch-head-refspec: ''
75 repo-stream-part: 'stable.2009'
76 branch-head-refspec: ''
79 repo-stream-part: 'stable.2101'
80 branch-head-refspec: ''
83 repo-os-part: 'ubuntu.bionic.main'
84 executor-arch: 'x86_64'
85 # [end] VPP-X86_64 PROJECT
87 # VPP-OS-EOL-X86_64 PROJECT
89 name: vpp-os-eol-x86_64
91 - 'vpp-verify-{stream}-{os}-{executor-arch}'
92 - 'vpp-merge-{stream}-{os}-{executor-arch}'
94 make-parallel-jobs: '4'
95 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
99 repo-stream-part: 'stable.2009'
100 branch-head-refspec: ''
103 repo-os-part: 'centos7'
105 repo-os-part: 'stretch'
106 executor-arch: 'x86_64'
107 # [end] VPP-OS-EOL-X86_64 PROJECT
109 # VPP-OS-IN-2009-X86_64 PROJECT
111 # This project is used to separate streams which are only
112 # supported on the OS in the release in which it was added
115 # For each 'os-in-XXXX', the stream for the release is
116 # added here in addition to the 'vpp-x86_64' project.
117 # Each subsequent release is also added to both.
119 # When all of the streams older than the 'os-in-XXXX" have
120 # been removed from the 'vpp-x86_64' project, then the OSes
121 # in this project get moved to the 'vpp-x86_64' project and
122 # this project gets deleted or commented out if it is only
123 # 'os-in-XXXX' project.
126 name: vpp-os-in-2009-x86_64
128 - 'vpp-verify-{stream}-{os}-{executor-arch}'
129 - 'vpp-merge-{stream}-{os}-{executor-arch}'
131 make-parallel-jobs: '4'
132 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
136 repo-stream-part: 'master'
137 branch-head-refspec: ''
139 branch: 'stable/2009'
140 repo-stream-part: 'stable.2009'
141 branch-head-refspec: ''
143 branch: 'stable/2101'
144 repo-stream-part: 'stable.2101'
145 branch-head-refspec: ''
148 repo-os-part: 'centos8'
150 repo-os-part: 'buster'
152 repo-os-part: 'ubuntu.focal.main'
153 executor-arch: 'x86_64'
154 # [end] VPP-OS-IN-2009-X86_64 PROJECT
156 # VPP-DEBUG-X86_64 PROJECT
158 # Currently a Non-Voting job due to intermittent failures.
159 # Limiting branches to master and 2009, since other branches
160 # may not get fixes for the intermittent failures.
163 name: vpp-debug-x86_64
165 - 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
167 make-parallel-jobs: '4'
168 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
172 repo-stream-part: 'master'
173 branch-head-refspec: ''
175 branch: 'stable/2009'
176 repo-stream-part: 'stable.2009'
177 branch-head-refspec: ''
180 repo-os-part: 'ubuntu.focal.main'
181 executor-arch: 'x86_64'
182 # [end] VPP-DEBUG-X86_64 PROJECT
184 # VPP-BETA-X86_64 PROJECT
186 # Beta jobs are experimental jobs for testing new OS versions on master.
188 # They are only manually triggered. Either using the Jenkins WebUI
189 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
190 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
192 # Once testing is complete, the os is moved to the current
193 # 'vpp-os-in-XXXX-x86_64' project. If no OSes are being
194 # tested then this project should be commented out.
197 # name: vpp-beta-x86_64
199 # - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
200 # comment-trigger-value: 'vpp-beta-verify'
201 # - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
202 # comment-trigger-value: 'vpp-beta-merge'
204 # make-parallel-jobs: '4'
205 # archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
209 # repo-stream-part: 'master'
210 # branch-head-refspec: ''
213 # repo-os-part: 'buster'
214 # executor-arch: x86_64
215 # [end] VPP-BETA-X86_64 PROJECT
217 # VPP-GCC-X86_64 PROJECT
221 - 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
223 executor-arch: 'x86_64'
226 repo-os-part: 'ubuntu.focal.main'
230 repo-stream-part: 'master'
231 branch-head-refspec: ''
233 branch: 'stable/2009'
234 repo-stream-part: 'stable.2009'
235 branch-head-refspec: ''
237 branch: 'stable/2101'
238 repo-stream-part: 'stable.2101'
239 branch-head-refspec: ''
240 # [end] VPP-GCC-X86_64 PROJECT
242 # VPP-AARCH64 PROJECT
246 - 'vpp-verify-{stream}-{os}-{executor-arch}'
247 - 'vpp-merge-{stream}-{os}-{executor-arch}'
249 make-parallel-jobs: '16'
250 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
254 repo-stream-part: 'master'
255 branch-head-refspec: ''
257 branch: 'stable/2009'
258 repo-stream-part: 'stable.2009'
259 branch-head-refspec: ''
261 branch: 'stable/2101'
262 repo-stream-part: 'stable.2101'
263 branch-head-refspec: ''
266 repo-os-part: 'centos8'
268 repo-os-part: 'ubuntu-arm.bionic.main'
269 executor-arch: 'aarch64'
271 # OS introduced after 2009
274 # OS introduced after 2101
277 # [end] VPP-AARCH64 PROJECT
279 # VPP-OS-IN-2009-AARCH64 PROJECT
281 # This project is used to separate streams which are only
282 # supported on the OS in the release in which it was added
285 # For each 'os-in-XXXX', the stream for the release is
286 # added here in addition to the 'vpp-aarch64' project.
287 # Each subsequent release is also added to both.
289 # When all of the streams older than the 'os-in-XXXX" have
290 # been removed from the 'vpp-aarch64' project, then the OSes
291 # in this project get moved to the 'vpp-aarch64' project and
292 # this project gets deleted or commented out if it is only
293 # 'os-in-XXXX' project.
296 # name: vpp-os-in-2009-aarch64
298 # - 'vpp-verify-{stream}-{os}-{executor-arch}'
299 # - 'vpp-merge-{stream}-{os}-{executor-arch}'
302 # make-parallel-jobs: '16'
303 # archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
307 # repo-stream-part: 'master'
308 # branch-head-refspec: ''
310 # branch: 'stable/2009'
311 # repo-stream-part: 'stable.2009'
312 # branch-head-refspec: ''
315 # repo-os-part: 'ubuntu.focal.main'
316 # executor-arch: 'aarch64'
317 # [end] VPP-OS-IN-2009-AARCH64 PROJECT
319 # VPP-BETA-AARCH64 PROJECT
321 # Beta jobs are experimental jobs for testing new OS versions on master.
323 # They are only manually triggered. Either using the Jenkins WebUI
324 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
325 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
327 # Once testing is complete, the os is moved to the current
328 # 'vpp-os-in-XXXX-aarch64' project. If no OSes are being
329 # tested then this project should be commented out.
332 name: vpp-beta-aarch64
334 - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
335 comment-trigger-value: 'beta-verify'
336 - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
337 comment-trigger-value: 'beta-merge'
339 make-parallel-jobs: '16'
340 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
344 repo-stream-part: 'master'
345 branch-head-refspec: ''
348 repo-os-part: 'ubuntu.focal.main'
349 executor-arch: aarch64
350 # [end] VPP-BETA-AARCH64 PROJECT
352 # VPP-CSIT-PERPATCH PROJECT
354 name: vpp-csit-perpatch
356 - 'vpp-csit-verify-device-{stream}-{device-node-arch}':
357 make-parallel-jobs: '32'
358 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
361 device-executor: 'vpp-csit-device'
367 repo-stream-part: 'master'
369 branch: 'stable/2009'
370 repo-stream-part: 'stable.2009'
372 branch: 'stable/2101'
373 repo-stream-part: 'stable.2101'
377 device-executor: 'vpp-csit-arm-ubuntu18'
388 executor: 'ubuntu1804arm-s'
389 make-parallel-jobs: '16'
391 executor: 'ubuntu1804arm-s'
392 make-parallel-jobs: '16'
394 # [end] VPP-CSIT-PERPATCH PROJECT
396 # VPP-CSIT-API-CRC PROJECT
398 # Only master and LTS branches are supported.
401 name: vpp-csit-api-crc
403 - 'vpp-csit-verify-api-crc-{stream}'
405 executor: 'vpp-csit-device'
409 branch: 'stable/2009'
410 repo-stream-part: 'stable.2009'
412 branch: 'stable/2101'
413 repo-stream-part: 'stable.2101'
417 # [end] VPP-CSIT-API-CRC PROJECT
419 # LF RELENG VPP PROJECTS
424 - gerrit-info-yaml-verify
425 build-node: centos7-builder-2c-2g
434 # [end] LF RELENG VPP PROJECTS
435 # [end] PROJECT DEFINITIONS
437 # JOB TEMPLATE DEFINITIONS
439 # Please keep job templates in the same order as they are referenced
440 # in the project definitions above.
442 # VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
444 name: 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
446 project-type: freestyle
447 node: 'builder-{os}-prod-{executor-arch}'
451 daysToKeep: '{build-days-to-keep}'
452 numToKeep: '{build-num-to-keep}'
453 artifactDaysToKeep: '{build-artifact-days-to-keep}'
454 artifactNumToKeep: '{build-artifact-num-to-keep}'
456 # Please keep parameters in alphabetical order
460 - gerrit-refspec-parameter:
461 refspec: '{branch-head-refspec}'
466 - repo-name-parameter:
467 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
468 - workspace-archive-artifacts-parameter:
469 artifacts: '{archive-artifacts}'
472 - gerrit-trigger-scm:
473 credentials-id: 'jenkins-gerrit-credentials'
474 refspec: '$GERRIT_REFSPEC'
475 choosing-strategy: 'gerrit'
478 - fdio-infra-wrappers:
479 build-timeout: '{build-timeout}'
480 - credentials-binding:
482 credential-id: VppApiCompatNotify
483 variable: SECRET_WEBEX_TEAMS_ACCESS_TOKEN
487 server-name: 'Primary'
489 - patchset-created-event:
490 exclude-drafts: 'true'
491 exclude-trivial-rebase: 'false'
492 exclude-no-code-change: 'false'
493 - draft-published-event
494 - comment-added-contains-event:
495 comment-contains-value: 'checkstylecheck'
496 - comment-added-contains-event:
497 comment-contains-value: 'docsonly'
498 - comment-added-contains-event:
499 comment-contains-value: 'recheck'
500 - comment-added-contains-event:
501 comment-contains-value: 'reverify'
502 # Following two are to cover missing functions of drafts
503 # going to review status
504 - comment-added-contains-event:
505 comment-contains-value: 'runtest'
506 - comment-added-contains-event:
507 comment-contains-value: 'This change is ready for review'
509 - project-compare-type: 'ANT'
510 project-pattern: '{project}'
512 - branch-compare-type: 'ANT'
513 branch-pattern: '**/{branch}'
515 - compare-type: REG_EXP
516 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
517 forbidden-file-paths:
518 - compare-type: REG_EXP
520 - compare-type: REG_EXP
521 pattern: .*extras\/emacs\/.*
522 disable-strict-forbidden-file-verification: 'true'
524 gerrit-build-notbuilt-verified-value: 0
525 gerrit-build-successful-verified-value: 1
526 # yamllint disable-line rule:line-length
527 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
528 # yamllint disable-line rule:line-length
529 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
530 successful-message: 'checkstyle_success'
540 - ../scripts/setup_executor_env.sh
543 - ../scripts/vpp/checkstyle.sh
546 - ../scripts/vpp/test-checkstyle.sh
549 - ../scripts/vpp/api-checkstyle.sh
552 - ../scripts/vpp/commitmsg.sh
557 # [end] VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
559 # VPP-VERIFY JOB TEMPLATE
561 name: 'vpp-verify-{stream}-{os}-{executor-arch}'
563 project-type: freestyle
564 node: 'builder-{os}-prod-{executor-arch}'
568 daysToKeep: '{build-days-to-keep}'
570 artifactDaysToKeep: '{build-artifact-days-to-keep}'
571 artifactNumToKeep: '{build-artifact-num-to-keep}'
573 # Please keep parameters in alphabetical order
577 - gerrit-refspec-parameter:
578 refspec: '{branch-head-refspec}'
579 - make-parallel-jobs-parameter:
580 make-parallel-jobs: '{make-parallel-jobs}'
585 - repo-name-parameter:
586 repo-name: '{repo-stream-part}.{repo-os-part}'
589 - workspace-archive-artifacts-parameter:
590 artifacts: '{archive-artifacts}'
593 - gerrit-trigger-scm:
594 credentials-id: 'jenkins-gerrit-credentials'
595 refspec: '$GERRIT_REFSPEC'
596 choosing-strategy: 'gerrit'
599 - fdio-infra-wrappers:
603 - gerrit-trigger-checkstyle:
610 - ../scripts/setup_executor_env.sh
613 - ../scripts/setup_vpp_ubuntu_docker_test.sh
616 - ../scripts/setup_vpp_dpdk_dev_env.sh
619 - ../scripts/vpp/build.sh
623 # [end] VPP-VERIFY JOB TEMPLATE
625 # VPP-DEBUG-VERIFY JOB TEMPLATE
627 name: 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
629 project-type: freestyle
630 node: 'builder-{os}-prod-{executor-arch}'
634 daysToKeep: '{build-days-to-keep}'
635 numToKeep: '{build-num-to-keep}'
636 artifactDaysToKeep: '{build-artifact-days-to-keep}'
637 artifactNumToKeep: '{build-artifact-num-to-keep}'
639 # Please keep parameters in alphabetical order
643 - gerrit-refspec-parameter:
644 refspec: '{branch-head-refspec}'
645 - make-parallel-jobs-parameter:
646 make-parallel-jobs: '{make-parallel-jobs}'
651 - repo-name-parameter:
652 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
655 - workspace-archive-artifacts-parameter:
656 artifacts: '{archive-artifacts}'
659 - gerrit-trigger-scm:
660 credentials-id: 'jenkins-gerrit-credentials'
661 refspec: '$GERRIT_REFSPEC'
662 choosing-strategy: 'gerrit'
665 - fdio-infra-wrappers:
666 build-timeout: '{build-timeout}'
669 # TODO: Ensure all supported jobs pass reliably before
671 - gerrit-trigger-checkstyle-nonvoting:
678 - ../scripts/setup_executor_env.sh
681 - ../scripts/setup_vpp_ubuntu_docker_test.sh
684 - ../scripts/setup_vpp_dpdk_dev_env.sh
687 - ../scripts/vpp/debug-build.sh
691 # [end] VPP-DEBUG-VERIFY JOB TEMPLATE
693 # VPP-MERGE JOB TEMPLATE
695 name: 'vpp-merge-{stream}-{os}-{executor-arch}'
697 project-type: freestyle
698 node: 'builder-{os}-prod-{executor-arch}'
701 daysToKeep: '{build-days-to-keep}'
703 artifactDaysToKeep: '{build-artifact-days-to-keep}'
704 artifactNumToKeep: '{build-artifact-num-to-keep}'
706 # Please keep parameters in alphabetical order
710 - make-parallel-jobs-parameter:
711 make-parallel-jobs: '{make-parallel-jobs}'
716 - repo-name-parameter:
717 repo-name: '{repo-stream-part}.{repo-os-part}'
720 - workspace-archive-artifacts-parameter:
721 artifacts: '{archive-artifacts}'
724 - gerrit-trigger-scm:
725 credentials-id: 'jenkins-gerrit-credentials'
727 choosing-strategy: 'default'
730 - fdio-infra-wrappers:
734 - gerrit-trigger-patch-merged:
739 - config-file-provider:
741 - file-id: '.packagecloud'
743 - config-file-provider:
745 - file-id: 'packagecloud_api'
749 - ../scripts/setup_executor_env.sh
752 - ../scripts/setup_vpp_ubuntu_docker_test.sh
755 - ../scripts/setup_vpp_dpdk_dev_env.sh
758 - ../scripts/vpp/build.sh
760 - provide-maven-settings:
761 settings-file: 'vpp-settings'
762 global-settings-file: 'global-settings'
765 - ../scripts/packagecloud_push.sh
769 # [end] VPP-MERGE JOB TEMPLATE
771 # VPP-BETA-VERIFY JOB TEMPLATE
773 name: 'vpp-beta-verify-{stream}-{os}-{executor-arch}'
775 project-type: freestyle
776 node: 'builder-{os}-prod-{executor-arch}'
780 daysToKeep: '{build-days-to-keep}'
782 artifactDaysToKeep: '{build-artifact-days-to-keep}'
783 artifactNumToKeep: '{build-artifact-num-to-keep}'
785 # Please keep parameters in alphabetical order
789 - gerrit-refspec-parameter:
790 refspec: '{branch-head-refspec}'
791 - make-parallel-jobs-parameter:
792 make-parallel-jobs: '{make-parallel-jobs}'
797 - repo-name-parameter:
798 repo-name: '{repo-stream-part}.{repo-os-part}'
801 - workspace-archive-artifacts-parameter:
802 artifacts: '{archive-artifacts}'
805 - gerrit-trigger-scm:
806 credentials-id: 'jenkins-gerrit-credentials'
807 refspec: '$GERRIT_REFSPEC'
808 choosing-strategy: 'gerrit'
811 - fdio-infra-wrappers:
815 - gerrit-trigger-manually-triggered:
816 comment-trigger-value: '{comment-trigger-value}'
823 - ../scripts/setup_executor_env.sh
826 - ../scripts/setup_vpp_ubuntu_docker_test.sh
829 - ../scripts/setup_vpp_dpdk_dev_env.sh
832 - ../scripts/vpp/build.sh
836 # [end] VPP-BETA-VERIFY JOB TEMPLATE
838 # VPP-BETA-MERGE JOB TEMPLATE
840 name: 'vpp-beta-merge-{stream}-{os}-{executor-arch}'
842 project-type: freestyle
843 node: 'builder-{os}-prod-{executor-arch}'
846 daysToKeep: '{build-days-to-keep}'
848 artifactDaysToKeep: '{build-artifact-days-to-keep}'
849 artifactNumToKeep: '{build-artifact-num-to-keep}'
851 # Please keep parameters in alphabetical order
855 - make-parallel-jobs-parameter:
856 make-parallel-jobs: '{make-parallel-jobs}'
861 - repo-name-parameter:
862 repo-name: '{repo-stream-part}.{repo-os-part}'
865 - workspace-archive-artifacts-parameter:
866 artifacts: '{archive-artifacts}'
869 - gerrit-trigger-scm:
870 credentials-id: 'jenkins-gerrit-credentials'
872 choosing-strategy: 'default'
875 - fdio-infra-wrappers:
876 build-timeout: '{build-timeout}'
879 - gerrit-trigger-manually-triggered:
880 comment-trigger-value: '{comment-trigger-value}'
885 - config-file-provider:
887 - file-id: '.packagecloud'
889 - config-file-provider:
891 - file-id: 'packagecloud_api'
895 - ../scripts/setup_executor_env.sh
898 - ../scripts/vpp/checkstyle.sh
901 - ../scripts/setup_vpp_ubuntu_docker_test.sh
904 - ../scripts/setup_vpp_dpdk_dev_env.sh
907 - ../scripts/vpp/build.sh
910 - ../scripts/packagecloud_push.sh
914 # [end] VPP-BETA-MERGE JOB TEMPLATE
916 # VPP-GCC-VERIFY JOB TEMPLATE
918 name: 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
920 project-type: freestyle
921 node: 'builder-{os}-prod-{executor-arch}'
925 daysToKeep: '{build-days-to-keep}'
927 artifactDaysToKeep: '{build-artifact-days-to-keep}'
928 artifactNumToKeep: '{build-artifact-num-to-keep}'
930 # Please keep parameters in alphabetical order
934 - gerrit-refspec-parameter:
935 refspec: '{branch-head-refspec}'
936 - make-parallel-jobs-parameter:
937 make-parallel-jobs: '{make-parallel-jobs}'
942 - repo-name-parameter:
943 repo-name: '{repo-stream-part}.{repo-os-part}'
946 - workspace-archive-artifacts-parameter:
947 artifacts: '{archive-artifacts}'
950 - gerrit-trigger-scm:
951 credentials-id: 'jenkins-gerrit-credentials'
952 refspec: '$GERRIT_REFSPEC'
953 choosing-strategy: 'gerrit'
956 - fdio-infra-wrappers:
960 - gerrit-trigger-checkstyle:
967 - ../scripts/setup_executor_env.sh
970 - ../scripts/setup_vpp_ubuntu_docker_test.sh
973 - ../scripts/setup_vpp_dpdk_dev_env.sh
976 - ../scripts/vpp/gcc-build.sh
980 # [end] VPP-GCC-VERIFY JOB TEMPLATE
982 # VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
984 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
989 <li>{device-executor}
993 project-type: freestyle
994 node: '{device-executor}'
996 archive-artifacts: '**/csit_current/**/*.*'
1000 daysToKeep: '{build-days-to-keep}'
1002 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1003 artifactNumToKeep: '{build-artifact-num-to-keep}'
1005 # Please keep parameters in alphabetical order
1007 - archive-artifacts-parameter:
1008 artifacts: '{archive-artifacts}'
1009 - gerrit-csit-refspec-parameter
1010 - gerrit-event-comment-text-parameter
1011 - gerrit-event-type-parameter
1014 - gerrit-refspec-parameter
1015 - make-parallel-jobs-parameter:
1016 make-parallel-jobs: '{make-parallel-jobs}'
1019 - project-parameter:
1020 project: '{project}'
1021 - repo-name-parameter:
1022 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1027 - gerrit-trigger-scm:
1028 credentials-id: 'jenkins-gerrit-credentials'
1029 refspec: '$GERRIT_REFSPEC'
1030 choosing-strategy: 'gerrit'
1033 - fdio-infra-wrappers:
1037 - 'gerrit-trigger-vpp-csit-devicetest-full':
1040 skip-vote: '{skip-vote}'
1044 !include-raw-escape:
1045 - ../scripts/setup_executor_env.sh
1047 !include-raw-escape:
1048 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1050 !include-raw-escape:
1051 - ../scripts/setup_vpp_dpdk_dev_env.sh
1053 !include-raw-escape:
1054 - ../scripts/vpp/csit-device.sh
1058 output-path: 'archives'
1060 - fdio-infra-shiplogs:
1061 maven-version: 'mvn36'
1062 # [end] VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
1064 # VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1066 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
1074 Contrary to csit-vpp job, this also measures the parent performance,
1075 and fails if performance regression is detected.
1076 See https://github.com/FDio/csit/blob/master/docs/cpta/methodology/perpatch_performance_tests.rst
1079 project-type: freestyle
1082 archive-artifacts: >
1083 **/csit_current/**/*.*
1084 **/csit_parent/**/*.*
1088 daysToKeep: '{build-days-to-keep}'
1090 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1091 artifactNumToKeep: '{build-artifact-num-to-keep}'
1093 # Please keep parameters in alphabetical order
1095 - archive-artifacts-parameter:
1096 artifacts: '{archive-artifacts}'
1097 - csit-perf-trial-duration-parameter:
1098 csit-perf-trial-duration: "10.0"
1099 - csit-perf-trial-multiplicity-parameter:
1100 csit-perf-trial-multiplicity: "5"
1101 - gerrit-csit-refspec-parameter
1102 - gerrit-event-comment-text-parameter
1103 - gerrit-event-type-parameter
1104 - gerrit-refspec-parameter
1107 - make-parallel-jobs-parameter:
1108 make-parallel-jobs: '{make-parallel-jobs}'
1111 - project-parameter:
1112 project: '{project}'
1113 - repo-name-parameter:
1114 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1119 - gerrit-trigger-scm:
1120 credentials-id: 'jenkins-gerrit-credentials'
1121 refspec: '$GERRIT_REFSPEC'
1122 choosing-strategy: 'gerrit'
1125 - fdio-infra-wrappers-non-activity-timeout:
1129 - gerrit-trigger-csit-perftest:
1130 project: '{project}'
1132 trigger-word: 'perftest-{node-arch}'
1137 !include-raw-escape:
1138 - ../scripts/setup_executor_env.sh
1140 !include-raw-escape:
1141 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1143 !include-raw-escape:
1144 - ../scripts/setup_vpp_dpdk_dev_env.sh
1146 !include-raw-escape:
1147 - ../scripts/vpp/csit-perf.sh
1151 output-path: 'csit_current/0/'
1153 - fdio-infra-shiplogs:
1154 maven-version: 'mvn36'
1155 # [end] VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1157 # VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1159 name: 'vpp-csit-verify-api-crc-{stream}'
1161 project-type: freestyle
1167 daysToKeep: '{build-days-to-keep}'
1169 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1170 artifactNumToKeep: '{build-artifact-num-to-keep}'
1172 # Please keep parameters in alphabetical order
1174 - archive-artifacts-parameter:
1175 artifacts: '{archive-artifacts}'
1176 # Not sure whether not failing has any useful usage,
1177 # but it does not hurt to have some flexibility for future.
1178 - csit-fail-on-crc-mismatch-parameter:
1179 fail-on-crc-mismatch: 'True'
1180 - gerrit-csit-refspec-parameter
1183 - gerrit-refspec-parameter
1184 - project-parameter:
1185 project: '{project}'
1190 - gerrit-trigger-scm:
1191 credentials-id: 'jenkins-gerrit-credentials'
1192 refspec: '$GERRIT_REFSPEC'
1193 choosing-strategy: 'gerrit'
1196 - fdio-infra-wrappers-non-activity-timeout:
1200 - gerrit-trigger-checkstyle:
1206 !include-raw-escape:
1207 - ../scripts/setup_executor_env.sh
1209 !include-raw-escape:
1210 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1212 !include-raw-escape:
1213 - ../scripts/vpp/check_crc.sh
1214 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1217 - fdio-infra-shiplogs:
1218 maven-version: 'mvn36'
1219 # [end] VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1220 # [end] JOB TEMPLATE DEFINITIONS