4 # Please keep projects grouped in this order:
5 # vpp-x86_64, vpp-aarch64, vpp-csit
8 # - The 'branch-head-refspec' attribute is used for sandbox testing.
9 # Use the get_gerrit_refspec() bash function in
10 # .../ci-management/docker/scripts/lib_common.sh
11 # to query gerrit for the refspec of HEAD in a branch.
12 # TODO: see if there is a refspec that works without requiring
13 # use of get_gerrit_refspec and hand entering the result
14 # in the WebUI 'Build With Parameters' gerrit refspec field.
15 # - Use the following to import get_gerrit_refspec into a bash shell
16 # from the ci-management directory:
17 # $ eval "$(grep -A12 get_gerrit ./docker/scripts/lib_common.sh)"
20 # VPP-CHECKSTYLE-X86_64 PROJECT
22 name: vpp-checkstyle-x86_64
24 - 'vpp-checkstyle-verify-{stream}-{executor-arch}'
29 repo-stream-part: 'master'
30 branch-head-refspec: ''
33 repo-stream-part: 'stable.1908'
34 branch-head-refspec: ''
37 repo-stream-part: 'stable.2001'
38 branch-head-refspec: ''
41 repo-stream-part: 'stable.2005'
42 branch-head-refspec: ''
45 repo-stream-part: 'stable.2009'
46 branch-head-refspec: ''
48 executor-arch: 'x86_64'
49 # [end] VPP-CHECKSTYLE-X86_64 PROJECT
55 - 'vpp-verify-{stream}-{os}-{executor-arch}'
56 - 'vpp-merge-{stream}-{os}-{executor-arch}'
58 make-parallel-jobs: '4'
62 repo-stream-part: 'master'
63 branch-head-refspec: ''
66 repo-stream-part: 'stable.1908'
67 branch-head-refspec: ''
70 repo-stream-part: 'stable.2001'
71 branch-head-refspec: ''
74 repo-stream-part: 'stable.2005'
75 branch-head-refspec: ''
78 repo-stream-part: 'stable.2009'
79 branch-head-refspec: ''
82 repo-os-part: 'ubuntu.bionic.main'
84 repo-os-part: 'centos7'
85 executor-arch: 'x86_64'
86 # [end] VPP-X86_64 PROJECT
88 # VPP-OS-IN-2009-X86_64 PROJECT
90 # This project is used to separate streams which are only
91 # supported on the OS in the release in which it was added
94 # For each 'os-in-XXXX', the stream for the release is
95 # added here in addition to the 'vpp-x86_64' project.
96 # Each subsequent release is also added to both.
98 # When all of the streams older than the 'os-in-XXXX" have
99 # been removed from the 'vpp-x86_64' project, then the OSes
100 # in this project get moved to the 'vpp-x86_64' project and
101 # this project gets deleted or commented out if it is only
102 # 'os-in-XXXX' project.
105 name: vpp-os-in-2009-x86_64
107 - 'vpp-verify-{stream}-{os}-{executor-arch}'
108 - 'vpp-merge-{stream}-{os}-{executor-arch}'
110 make-parallel-jobs: '4'
114 repo-stream-part: 'master'
115 branch-head-refspec: ''
117 branch: 'stable/2009'
118 repo-stream-part: 'stable.2009'
119 branch-head-refspec: ''
122 repo-os-part: 'ubuntu.focal.main'
123 executor-arch: 'x86_64'
124 # [end] VPP-OS-IN-2009-X86_64 PROJECT
126 # VPP-DEBUG-X86_64 PROJECT
128 # Currently a Non-Voting job due to intermittent failures.
129 # Limiting branches to master and 2009, since other branches
130 # may not get fixes for the intermittent failures.
133 name: vpp-debug-x86_64
135 - 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
137 make-parallel-jobs: '4'
141 repo-stream-part: 'master'
142 branch-head-refspec: ''
144 branch: 'stable/2009'
145 repo-stream-part: 'stable.2009'
146 branch-head-refspec: ''
149 repo-os-part: 'ubuntu.bionic.main'
150 executor-arch: 'x86_64'
151 # [end] VPP-DEBUG-X86_64 PROJECT
153 # VPP-BETA-X86_64 PROJECT
155 # Beta jobs are experimental jobs for testing new OS versions on master.
157 # They are only manually triggered. Either using the Jenkins WebUI
158 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
159 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
161 # Once testing is complete, the os is moved to the current
162 # 'vpp-os-in-XXXX-x86_64' project. If no OSes are being
163 # tested then this project should be commented out.
166 name: vpp-beta-x86_64
168 - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
169 comment-trigger-value: 'vpp-beta-verify'
170 - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
171 comment-trigger-value: 'vpp-beta-merge'
173 make-parallel-jobs: '4'
177 repo-stream-part: 'master'
178 branch-head-refspec: ''
181 repo-os-part: 'centos8'
183 repo-os-part: 'stretch'
185 repo-os-part: 'buster'
186 executor-arch: x86_64
187 # [end] VPP-BETA-X86_64 PROJECT
189 # VPP-GCC-X86_64 PROJECT
193 - 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
195 executor-arch: 'x86_64'
198 repo-os-part: 'ubuntu.focal.main'
202 repo-stream-part: 'master'
204 branch: 'stable/2009'
205 repo-stream-part: 'stable.2009'
206 # [end] VPP-GCC-X86_64 PROJECT
208 # VPP-AARCH64 PROJECT
212 - 'vpp-verify-{stream}-{os}-{executor-arch}'
213 - 'vpp-merge-{stream}-{os}-{executor-arch}'
215 make-parallel-jobs: '16'
219 repo-stream-part: 'master'
220 branch-head-refspec: ''
222 branch: 'stable/1908'
223 repo-stream-part: 'stable.1908'
224 branch-head-refspec: ''
226 branch: 'stable/2001'
227 repo-stream-part: 'stable.2001'
228 branch-head-refspec: ''
230 branch: 'stable/2005'
231 repo-stream-part: 'stable.2005'
232 branch-head-refspec: ''
234 branch: 'stable/2009'
235 repo-stream-part: 'stable.2009'
236 branch-head-refspec: ''
239 repo-os-part: 'ubuntu-arm.bionic.main'
240 executor-arch: 'aarch64'
241 # [end] VPP-AARCH64 PROJECT
243 # VPP-OS-IN-2009-AARCH64 PROJECT
245 # This project is used to separate streams which are only
246 # supported on the OS in the release in which it was added
249 # For each 'os-in-XXXX', the stream for the release is
250 # added here in addition to the 'vpp-aarch64' project.
251 # Each subsequent release is also added to both.
253 # When all of the streams older than the 'os-in-XXXX" have
254 # been removed from the 'vpp-aarch64' project, then the OSes
255 # in this project get moved to the 'vpp-aarch64' project and
256 # this project gets deleted or commented out if it is only
257 # 'os-in-XXXX' project.
260 # name: vpp-os-in-2009-aarch64
262 # - 'vpp-verify-{stream}-{os}-{executor-arch}'
263 # - 'vpp-merge-{stream}-{os}-{executor-arch}'
266 # make-parallel-jobs: '16'
270 # repo-stream-part: 'master'
271 # branch-head-refspec: ''
273 # branch: 'stable/2009'
274 # repo-stream-part: 'stable.2009'
275 # branch-head-refspec: ''
278 # repo-os-part: 'ubuntu.focal.main'
279 # executor-arch: 'aarch64'
280 # [end] VPP-OS-IN-2009-AARCH64 PROJECT
282 # VPP-BETA-AARCH64 PROJECT
284 # Beta jobs are experimental jobs for testing new OS versions on master.
286 # They are only manually triggered. Either using the Jenkins WebUI
287 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
288 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
290 # Once testing is complete, the os is moved to the current
291 # 'vpp-os-in-XXXX-aarch64' project. If no OSes are being
292 # tested then this project should be commented out.
295 name: vpp-beta-aarch64
297 - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
298 comment-trigger-value: 'beta-verify'
299 - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
300 comment-trigger-value: 'beta-merge'
302 make-parallel-jobs: '16'
306 repo-stream-part: 'master'
307 branch-head-refspec: ''
310 repo-os-part: 'centos8'
312 repo-os-part: 'ubuntu.focal.main'
313 executor-arch: aarch64
314 # [end] VPP-BETA-AARCH64 PROJECT
316 # VPP-CSIT-PERPATCH PROJECT
318 name: vpp-csit-perpatch
320 - 'vpp-csit-verify-device-{stream}-{device-node-arch}':
321 make-parallel-jobs: '32'
322 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
325 device-executor: 'vpp-csit-device'
328 trigger: 'gerrit-trigger-vpp-csit-devicetest-full'
332 repo-stream-part: 'master'
334 branch: 'stable/1908'
335 repo-stream-part: 'stable.1908'
337 branch: 'stable/2001'
338 repo-stream-part: 'stable.2001'
340 branch: 'stable/2005'
341 repo-stream-part: 'stable.2005'
343 branch: 'stable/2009'
344 repo-stream-part: 'stable.2009'
348 device-executor: 'vpp-csit-arm-ubuntu18'
349 trigger: 'gerrit-trigger-vpp-csit-devicetest-manual'
359 executor: 'ubuntu1804arm-s'
360 make-parallel-jobs: '16'
361 # [end] VPP-CSIT-PERPATCH PROJECT
363 # VPP-CSIT-API-CRC PROJECT
365 # Only master and LTS branches are supported.
368 name: vpp-csit-api-crc
370 - 'vpp-csit-verify-api-crc-{stream}'
372 executor: 'vpp-csit-device'
376 branch: 'stable/1908'
377 repo-stream-part: 'stable.1908'
379 branch: 'stable/2009'
380 repo-stream-part: 'stable.2009'
384 # [end] VPP-CSIT-API-CRC PROJECT
386 # LF RELENG VPP PROJECTS
391 - gerrit-info-yaml-verify
392 build-node: centos7-builder-2c-2g
401 # [end] LF RELENG VPP PROJECTS
402 # [end] PROJECT DEFINITIONS
404 # JOB TEMPLATE DEFINITIONS
406 # Please keep job templates in the same order as they are referenced
407 # in the project definitions above.
409 # VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
411 name: 'vpp-checkstyle-verify-{stream}-{executor-arch}'
413 project-type: freestyle
414 node: 'builder-{os}-prod-{executor-arch}'
416 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
419 daysToKeep: '{build-days-to-keep}'
420 numToKeep: '{build-num-to-keep}'
421 artifactDaysToKeep: '{build-artifact-days-to-keep}'
422 artifactNumToKeep: '{build-artifact-num-to-keep}'
431 - repo-name-parameter:
432 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
433 - gerrit-refspec-parameter:
434 refspec: '{branch-head-refspec}'
437 - gerrit-trigger-scm:
438 credentials-id: 'jenkins-gerrit-credentials'
439 refspec: '$GERRIT_REFSPEC'
440 choosing-strategy: 'gerrit'
443 - fdio-infra-wrappers:
444 build-timeout: '{build-timeout}'
445 - credentials-binding:
447 credential-id: VppApiCompatNotify
448 variable: SECRET_WEBEX_TEAMS_ACCESS_TOKEN
452 server-name: 'Primary'
454 - patchset-created-event:
455 exclude-drafts: 'true'
456 exclude-trivial-rebase: 'false'
457 exclude-no-code-change: 'false'
458 - draft-published-event
459 - comment-added-contains-event:
460 comment-contains-value: 'checkstylecheck'
461 - comment-added-contains-event:
462 comment-contains-value: 'docsonly'
463 - comment-added-contains-event:
464 comment-contains-value: 'recheck'
465 - comment-added-contains-event:
466 comment-contains-value: 'reverify'
467 # Following two are to cover missing functions of drafts
468 # going to review status
469 - comment-added-contains-event:
470 comment-contains-value: 'runtest'
471 - comment-added-contains-event:
472 comment-contains-value: 'This change is ready for review'
474 - project-compare-type: 'ANT'
475 project-pattern: '{project}'
477 - branch-compare-type: 'ANT'
478 branch-pattern: '**/{branch}'
480 - compare-type: REG_EXP
481 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
482 forbidden-file-paths:
483 - compare-type: REG_EXP
485 - compare-type: REG_EXP
486 pattern: .*extras\/emacs\/.*
487 disable-strict-forbidden-file-verification: 'true'
489 gerrit-build-notbuilt-verified-value: 0
490 gerrit-build-successful-verified-value: 1
491 # yamllint disable-line rule:line-length
492 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
493 # yamllint disable-line rule:line-length
494 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
495 successful-message: 'checkstyle_success'
505 - ../scripts/vpp/checkstyle.sh
508 - ../scripts/vpp/test-checkstyle.sh
511 - ../scripts/vpp/api-checkstyle.sh
514 - ../scripts/vpp/commitmsg.sh
517 - fdio-infra-shiplogs:
518 maven-version: 'mvn36'
519 # [end] VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
521 # VPP-VERIFY JOB TEMPLATE
523 name: 'vpp-verify-{stream}-{os}-{executor-arch}'
525 project-type: freestyle
526 node: 'builder-{os}-prod-{executor-arch}'
528 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
531 daysToKeep: '{build-days-to-keep}'
533 artifactDaysToKeep: '{build-artifact-days-to-keep}'
534 artifactNumToKeep: '{build-artifact-num-to-keep}'
543 - repo-name-parameter:
544 repo-name: '{repo-stream-part}.{repo-os-part}'
548 name: ARCHIVE_ARTIFACTS
549 default: '{archive-artifacts}'
550 description: Artifacts to archive to the logs server.
551 - make-parallel-jobs-parameter:
552 make-parallel-jobs: '{make-parallel-jobs}'
553 - gerrit-refspec-parameter:
554 refspec: '{branch-head-refspec}'
557 - gerrit-trigger-scm:
558 credentials-id: 'jenkins-gerrit-credentials'
559 refspec: '$GERRIT_REFSPEC'
560 choosing-strategy: 'gerrit'
563 - fdio-infra-wrappers:
567 - gerrit-trigger-checkstyle:
574 - ../scripts/setup_vpp_ubuntu_docker_test.sh
577 - ../scripts/setup_vpp_dpdk_dev_env.sh
580 - ../scripts/vpp/build.sh
583 - fdio-infra-shiplogs:
584 maven-version: 'mvn36'
585 # [end] VPP-VERIFY JOB TEMPLATE
587 # VPP-DEBUG-VERIFY JOB TEMPLATE
589 name: 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
591 project-type: freestyle
592 node: 'builder-{os}-prod-{executor-arch}'
594 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
597 daysToKeep: '{build-days-to-keep}'
598 numToKeep: '{build-num-to-keep}'
599 artifactDaysToKeep: '{build-artifact-days-to-keep}'
600 artifactNumToKeep: '{build-artifact-num-to-keep}'
609 - repo-name-parameter:
610 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
613 - make-parallel-jobs-parameter:
614 make-parallel-jobs: '{make-parallel-jobs}'
615 - gerrit-refspec-parameter:
616 refspec: '{branch-head-refspec}'
619 - gerrit-trigger-scm:
620 credentials-id: 'jenkins-gerrit-credentials'
621 refspec: '$GERRIT_REFSPEC'
622 choosing-strategy: 'gerrit'
625 - fdio-infra-wrappers:
626 build-timeout: '{build-timeout}'
629 # TODO: Ensure all supported jobs pass reliably before
631 - gerrit-trigger-checkstyle-nonvoting:
638 - ../scripts/setup_vpp_ubuntu_docker_test.sh
641 - ../scripts/setup_vpp_dpdk_dev_env.sh
644 - ../scripts/vpp/debug-build.sh
647 - fdio-infra-shiplogs:
648 maven-version: 'mvn36'
649 # [end] VPP-DEBUG-VERIFY JOB TEMPLATE
651 # VPP-MERGE JOB TEMPLATE
653 name: 'vpp-merge-{stream}-{os}-{executor-arch}'
655 project-type: freestyle
656 node: 'builder-{os}-prod-{executor-arch}'
659 daysToKeep: '{build-days-to-keep}'
661 artifactDaysToKeep: '{build-artifact-days-to-keep}'
662 artifactNumToKeep: '{build-artifact-num-to-keep}'
671 - maven-project-parameter:
674 maven-version: 'mvn33-new'
677 - repo-name-parameter:
678 repo-name: '{repo-stream-part}.{repo-os-part}'
680 name: ARCHIVE_ARTIFACTS
681 default: '{archive-artifacts}'
682 description: Artifacts to archive to the logs server.
683 - make-parallel-jobs-parameter:
684 make-parallel-jobs: '{make-parallel-jobs}'
687 - gerrit-trigger-scm:
688 credentials-id: 'jenkins-gerrit-credentials'
690 choosing-strategy: 'default'
693 - fdio-infra-wrappers:
697 - gerrit-trigger-patch-merged:
702 - config-file-provider:
704 - file-id: '.packagecloud'
706 - config-file-provider:
708 - file-id: 'packagecloud_api'
712 - ../scripts/vpp/checkstyle.sh
715 - ../scripts/setup_vpp_ubuntu_docker_test.sh
718 - ../scripts/setup_vpp_dpdk_dev_env.sh
721 - ../scripts/vpp/build.sh
723 - provide-maven-settings:
724 settings-file: 'vpp-settings'
725 global-settings-file: 'global-settings'
728 - ../scripts/packagecloud_push.sh
731 - fdio-infra-shiplogs:
732 maven-version: 'mvn36'
733 # [end] VPP-MERGE JOB TEMPLATE
735 # VPP-BETA-VERIFY JOB TEMPLATE
737 name: 'vpp-beta-verify-{stream}-{os}-{executor-arch}'
739 project-type: freestyle
740 node: 'builder-{os}-prod-{executor-arch}'
742 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
745 daysToKeep: '{build-days-to-keep}'
747 artifactDaysToKeep: '{build-artifact-days-to-keep}'
748 artifactNumToKeep: '{build-artifact-num-to-keep}'
757 - repo-name-parameter:
758 repo-name: '{repo-stream-part}.{repo-os-part}'
762 name: ARCHIVE_ARTIFACTS
763 default: '{archive-artifacts}'
764 description: Artifacts to archive to the logs server.
765 - make-parallel-jobs-parameter:
766 make-parallel-jobs: '{make-parallel-jobs}'
767 - gerrit-refspec-parameter:
768 refspec: '{branch-head-refspec}'
771 - gerrit-trigger-scm:
772 credentials-id: 'jenkins-gerrit-credentials'
773 refspec: '$GERRIT_REFSPEC'
774 choosing-strategy: 'gerrit'
777 - fdio-infra-wrappers:
781 - gerrit-trigger-manually-triggered:
782 comment-trigger-value: '{comment-trigger-value}'
789 - ../scripts/setup_vpp_ubuntu_docker_test.sh
792 - ../scripts/setup_vpp_dpdk_dev_env.sh
795 - ../scripts/vpp/build.sh
798 - fdio-infra-shiplogs:
799 maven-version: 'mvn36'
800 # [end] VPP-BETA-VERIFY JOB TEMPLATE
802 # VPP-BETA-MERGE JOB TEMPLATE
804 name: 'vpp-beta-merge-{stream}-{os}-{executor-arch}'
806 project-type: freestyle
807 node: 'builder-{os}-prod-{executor-arch}'
810 daysToKeep: '{build-days-to-keep}'
812 artifactDaysToKeep: '{build-artifact-days-to-keep}'
813 artifactNumToKeep: '{build-artifact-num-to-keep}'
822 - maven-project-parameter:
825 maven-version: 'mvn33-new'
828 - repo-name-parameter:
829 repo-name: '{repo-stream-part}.{repo-os-part}'
831 name: ARCHIVE_ARTIFACTS
832 default: '{archive-artifacts}'
833 description: Artifacts to archive to the logs server.
834 - make-parallel-jobs-parameter:
835 make-parallel-jobs: '{make-parallel-jobs}'
838 - gerrit-trigger-scm:
839 credentials-id: 'jenkins-gerrit-credentials'
841 choosing-strategy: 'default'
844 - fdio-infra-wrappers:
845 build-timeout: '{build-timeout}'
848 - gerrit-trigger-manually-triggered:
849 comment-trigger-value: '{comment-trigger-value}'
854 - config-file-provider:
856 - file-id: '.packagecloud'
858 - config-file-provider:
860 - file-id: 'packagecloud_api'
864 - ../scripts/vpp/checkstyle.sh
867 - ../scripts/setup_vpp_ubuntu_docker_test.sh
870 - ../scripts/setup_vpp_dpdk_dev_env.sh
873 - ../scripts/vpp/build.sh
874 - provide-maven-settings:
875 settings-file: 'vpp-settings'
876 global-settings-file: 'global-settings'
879 - ../scripts/packagecloud_push.sh
882 - fdio-infra-shiplogs:
883 maven-version: 'mvn36'
884 # [end] VPP-BETA-MERGE JOB TEMPLATE
886 # VPP-GCC-VERIFY JOB TEMPLATE
888 name: 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
890 project-type: freestyle
891 node: 'builder-{os}-prod-{executor-arch}'
893 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
896 daysToKeep: '{build-days-to-keep}'
898 artifactDaysToKeep: '{build-artifact-days-to-keep}'
899 artifactNumToKeep: '{build-artifact-num-to-keep}'
908 - repo-name-parameter:
909 repo-name: '{repo-stream-part}.{repo-os-part}'
913 name: ARCHIVE_ARTIFACTS
914 default: '{archive-artifacts}'
915 description: Artifacts to archive to the logs server.
916 - make-parallel-jobs-parameter:
917 make-parallel-jobs: '{make-parallel-jobs}'
918 - gerrit-refspec-parameter
921 - gerrit-trigger-scm:
922 credentials-id: 'jenkins-gerrit-credentials'
923 refspec: '$GERRIT_REFSPEC'
924 choosing-strategy: 'gerrit'
927 - fdio-infra-wrappers:
931 - gerrit-trigger-checkstyle:
938 - ../scripts/setup_vpp_ubuntu_docker_test.sh
941 - ../scripts/setup_vpp_dpdk_dev_env.sh
944 - ../scripts/vpp/gcc-build.sh
947 - fdio-infra-shiplogs:
948 maven-version: 'mvn36'
949 # [end] VPP-GCC-VERIFY JOB TEMPLATE
951 # VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
953 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
958 <li>{device-executor}
962 project-type: freestyle
963 node: '{device-executor}'
965 archive-artifacts: '**/csit_current/**/*.*'
969 daysToKeep: '{build-days-to-keep}'
971 artifactDaysToKeep: '{build-artifact-days-to-keep}'
972 artifactNumToKeep: '{build-artifact-num-to-keep}'
981 - repo-name-parameter:
982 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
983 - gerrit-refspec-parameter
984 - gerrit-event-type-parameter
985 - gerrit-event-comment-text-parameter
986 - gerrit-csit-refspec-parameter
990 name: ARCHIVE_ARTIFACTS
991 default: '{archive-artifacts}'
992 description: Artifacts to archive to the logs server.
993 - make-parallel-jobs-parameter:
994 make-parallel-jobs: '{make-parallel-jobs}'
997 - gerrit-trigger-scm:
998 credentials-id: 'jenkins-gerrit-credentials'
999 refspec: '$GERRIT_REFSPEC'
1000 choosing-strategy: 'gerrit'
1003 - fdio-infra-wrappers:
1010 skip-vote: '{skip-vote}'
1014 !include-raw-escape:
1015 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1017 !include-raw-escape:
1018 - ../scripts/setup_vpp_dpdk_dev_env.sh
1020 !include-raw-escape:
1021 - ../scripts/vpp/csit-device.sh
1025 output-path: 'csit_current/'
1027 - fdio-infra-shiplogs:
1028 maven-version: 'mvn36'
1029 # [end] VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
1031 # VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1033 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
1041 Contrary to csit-vpp job, this also measures the parent performance,
1042 and fails if performance regression is detected.
1043 See https://github.com/FDio/csit/blob/master/docs/cpta/methodology/perpatch_performance_tests.rst
1046 project-type: freestyle
1049 archive-artifacts: >
1050 **/csit_current/**/*.*
1051 **/csit_parent/**/*.*
1055 daysToKeep: '{build-days-to-keep}'
1057 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1058 artifactNumToKeep: '{build-artifact-num-to-keep}'
1061 - project-parameter:
1062 project: '{project}'
1067 - repo-name-parameter:
1068 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1069 - gerrit-refspec-parameter
1070 - gerrit-event-type-parameter
1071 - gerrit-event-comment-text-parameter
1072 - gerrit-csit-refspec-parameter
1073 - csit-perf-trial-duration-parameter:
1074 csit-perf-trial-duration: "10.0"
1075 - csit-perf-trial-multiplicity-parameter:
1076 csit-perf-trial-multiplicity: "5"
1080 name: ARCHIVE_ARTIFACTS
1081 default: '{archive-artifacts}'
1082 description: Artifacts to archive to the logs server.
1083 - make-parallel-jobs-parameter:
1084 make-parallel-jobs: '{make-parallel-jobs}'
1087 - gerrit-trigger-scm:
1088 credentials-id: 'jenkins-gerrit-credentials'
1089 refspec: '$GERRIT_REFSPEC'
1090 choosing-strategy: 'gerrit'
1093 - fdio-infra-wrappers-non-activity-timeout:
1097 - gerrit-trigger-csit-perftest:
1098 project: '{project}'
1100 trigger-word: 'perftest-{node-arch}'
1105 !include-raw-escape:
1106 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1108 !include-raw-escape:
1109 - ../scripts/setup_vpp_dpdk_dev_env.sh
1111 !include-raw-escape:
1112 - ../scripts/vpp/csit-perf.sh
1116 output-path: 'csit_current/0/'
1119 # [end] VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1121 # VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1123 name: 'vpp-csit-verify-api-crc-{stream}'
1125 project-type: freestyle
1128 archive-artifacts: ''
1132 daysToKeep: '{build-days-to-keep}'
1134 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1135 artifactNumToKeep: '{build-artifact-num-to-keep}'
1138 - project-parameter:
1139 project: '{project}'
1142 - gerrit-refspec-parameter
1143 - gerrit-csit-refspec-parameter
1147 name: ARCHIVE_ARTIFACTS
1148 default: '{archive-artifacts}'
1149 description: Artifacts to archive to the logs server.
1150 # Not sure whether not failing has any useful usage,
1151 # but it does not hurt to have some flexibility for future.
1152 - csit-fail-on-crc-mismatch-parameter:
1153 fail-on-crc-mismatch: 'True'
1156 - gerrit-trigger-scm:
1157 credentials-id: 'jenkins-gerrit-credentials'
1158 refspec: '$GERRIT_REFSPEC'
1159 choosing-strategy: 'gerrit'
1162 - fdio-infra-wrappers-non-activity-timeout:
1166 # TODO: Make other verify jobs trigger on success of this one,
1167 # without breaking verification for VPP branches before stable/1908.
1168 - gerrit-trigger-checkstyle:
1174 !include-raw-escape:
1175 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1177 !include-raw-escape:
1178 - ../scripts/vpp/check_crc.sh
1179 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1182 - fdio-infra-shiplogs:
1183 maven-version: 'mvn36'
1184 # [end] VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1185 # [end] JOB TEMPLATE DEFINITIONS