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}-{os}-{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.2005'
38 branch-head-refspec: ''
41 repo-stream-part: 'stable.2009'
42 branch-head-refspec: ''
45 repo-stream-part: 'stable.2101'
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.2005'
71 branch-head-refspec: ''
74 repo-stream-part: 'stable.2009'
75 branch-head-refspec: ''
78 repo-stream-part: 'stable.2101'
79 branch-head-refspec: ''
82 repo-os-part: 'ubuntu.bionic.main'
83 executor-arch: 'x86_64'
84 # [end] VPP-X86_64 PROJECT
86 # VPP-OS-EOL-X86_64 PROJECT
88 name: vpp-os-eol-x86_64
90 - 'vpp-verify-{stream}-{os}-{executor-arch}'
91 - 'vpp-merge-{stream}-{os}-{executor-arch}'
93 make-parallel-jobs: '4'
97 repo-stream-part: 'stable.1908'
98 branch-head-refspec: ''
100 branch: 'stable/2005'
101 repo-stream-part: 'stable.2005'
102 branch-head-refspec: ''
104 branch: 'stable/2009'
105 repo-stream-part: 'stable.2009'
106 branch-head-refspec: ''
109 repo-os-part: 'centos7'
110 executor-arch: 'x86_64'
111 # [end] VPP-OS-EOL-X86_64 PROJECT
113 # VPP-OS-IN-2009-X86_64 PROJECT
115 # This project is used to separate streams which are only
116 # supported on the OS in the release in which it was added
119 # For each 'os-in-XXXX', the stream for the release is
120 # added here in addition to the 'vpp-x86_64' project.
121 # Each subsequent release is also added to both.
123 # When all of the streams older than the 'os-in-XXXX" have
124 # been removed from the 'vpp-x86_64' project, then the OSes
125 # in this project get moved to the 'vpp-x86_64' project and
126 # this project gets deleted or commented out if it is only
127 # 'os-in-XXXX' project.
130 name: vpp-os-in-2009-x86_64
132 - 'vpp-verify-{stream}-{os}-{executor-arch}'
133 - 'vpp-merge-{stream}-{os}-{executor-arch}'
135 make-parallel-jobs: '4'
139 repo-stream-part: 'master'
140 branch-head-refspec: ''
142 branch: 'stable/2009'
143 repo-stream-part: 'stable.2009'
144 branch-head-refspec: ''
146 branch: 'stable/2101'
147 repo-stream-part: 'stable.2101'
148 branch-head-refspec: ''
152 repo-os-part: 'centos8'
154 repo-os-part: 'stretch'
156 repo-os-part: 'buster'
158 repo-os-part: 'ubuntu.focal.main'
159 executor-arch: 'x86_64'
160 # [end] VPP-OS-IN-2009-X86_64 PROJECT
162 # VPP-DEBUG-X86_64 PROJECT
164 # Currently a Non-Voting job due to intermittent failures.
165 # Limiting branches to master and 2009, since other branches
166 # may not get fixes for the intermittent failures.
169 name: vpp-debug-x86_64
171 - 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
173 make-parallel-jobs: '4'
177 repo-stream-part: 'master'
178 branch-head-refspec: ''
180 branch: 'stable/2009'
181 repo-stream-part: 'stable.2009'
182 branch-head-refspec: ''
185 repo-os-part: 'ubuntu.bionic.main'
186 executor-arch: 'x86_64'
187 # [end] VPP-DEBUG-X86_64 PROJECT
189 # VPP-BETA-X86_64 PROJECT
191 # Beta jobs are experimental jobs for testing new OS versions on master.
193 # They are only manually triggered. Either using the Jenkins WebUI
194 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
195 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
197 # Once testing is complete, the os is moved to the current
198 # 'vpp-os-in-XXXX-x86_64' project. If no OSes are being
199 # tested then this project should be commented out.
202 # name: vpp-beta-x86_64
204 # - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
205 # comment-trigger-value: 'vpp-beta-verify'
206 # - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
207 # comment-trigger-value: 'vpp-beta-merge'
209 # make-parallel-jobs: '4'
213 # repo-stream-part: 'master'
214 # branch-head-refspec: ''
217 # repo-os-part: 'buster'
218 # executor-arch: x86_64
219 # [end] VPP-BETA-X86_64 PROJECT
221 # VPP-GCC-X86_64 PROJECT
225 - 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
227 executor-arch: 'x86_64'
230 repo-os-part: 'ubuntu.focal.main'
234 repo-stream-part: 'master'
235 branch-head-refspec: ''
237 branch: 'stable/2009'
238 repo-stream-part: 'stable.2009'
239 branch-head-refspec: ''
241 branch: 'stable/2101'
242 repo-stream-part: 'stable.2101'
243 branch-head-refspec: ''
244 # [end] VPP-GCC-X86_64 PROJECT
246 # VPP-AARCH64 PROJECT
250 - 'vpp-verify-{stream}-{os}-{executor-arch}'
251 - 'vpp-merge-{stream}-{os}-{executor-arch}'
253 make-parallel-jobs: '16'
257 repo-stream-part: 'master'
258 branch-head-refspec: ''
260 branch: 'stable/1908'
261 repo-stream-part: 'stable.1908'
262 branch-head-refspec: ''
264 branch: 'stable/2005'
265 repo-stream-part: 'stable.2005'
266 branch-head-refspec: ''
268 branch: 'stable/2009'
269 repo-stream-part: 'stable.2009'
270 branch-head-refspec: ''
272 branch: 'stable/2101'
273 repo-stream-part: 'stable.2101'
274 branch-head-refspec: ''
277 repo-os-part: 'ubuntu-arm.bionic.main'
278 executor-arch: 'aarch64'
279 # [end] VPP-AARCH64 PROJECT
281 # VPP-OS-IN-2009-AARCH64 PROJECT
283 # This project is used to separate streams which are only
284 # supported on the OS in the release in which it was added
287 # For each 'os-in-XXXX', the stream for the release is
288 # added here in addition to the 'vpp-aarch64' project.
289 # Each subsequent release is also added to both.
291 # When all of the streams older than the 'os-in-XXXX" have
292 # been removed from the 'vpp-aarch64' project, then the OSes
293 # in this project get moved to the 'vpp-aarch64' project and
294 # this project gets deleted or commented out if it is only
295 # 'os-in-XXXX' project.
298 # name: vpp-os-in-2009-aarch64
300 # - 'vpp-verify-{stream}-{os}-{executor-arch}'
301 # - 'vpp-merge-{stream}-{os}-{executor-arch}'
304 # make-parallel-jobs: '16'
308 # repo-stream-part: 'master'
309 # branch-head-refspec: ''
311 # branch: 'stable/2009'
312 # repo-stream-part: 'stable.2009'
313 # branch-head-refspec: ''
316 # repo-os-part: 'ubuntu.focal.main'
317 # executor-arch: 'aarch64'
318 # [end] VPP-OS-IN-2009-AARCH64 PROJECT
320 # VPP-BETA-AARCH64 PROJECT
322 # Beta jobs are experimental jobs for testing new OS versions on master.
324 # They are only manually triggered. Either using the Jenkins WebUI
325 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
326 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
328 # Once testing is complete, the os is moved to the current
329 # 'vpp-os-in-XXXX-aarch64' project. If no OSes are being
330 # tested then this project should be commented out.
333 name: vpp-beta-aarch64
335 - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
336 comment-trigger-value: 'beta-verify'
337 - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
338 comment-trigger-value: 'beta-merge'
340 make-parallel-jobs: '16'
344 repo-stream-part: 'master'
345 branch-head-refspec: ''
348 repo-os-part: 'centos8'
350 repo-os-part: 'ubuntu.focal.main'
351 executor-arch: aarch64
352 # [end] VPP-BETA-AARCH64 PROJECT
354 # VPP-CSIT-PERPATCH PROJECT
356 name: vpp-csit-perpatch
358 - 'vpp-csit-verify-device-{stream}-{device-node-arch}':
359 make-parallel-jobs: '32'
360 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
363 device-executor: 'vpp-csit-device'
369 repo-stream-part: 'master'
371 branch: 'stable/1908'
372 repo-stream-part: 'stable.1908'
374 branch: 'stable/2005'
375 repo-stream-part: 'stable.2005'
377 branch: 'stable/2009'
378 repo-stream-part: 'stable.2009'
380 branch: 'stable/2101'
381 repo-stream-part: 'stable.2101'
385 device-executor: 'vpp-csit-arm-ubuntu18'
396 executor: 'ubuntu1804arm-s'
397 make-parallel-jobs: '16'
400 device-node-arch: '1n-tx2'
402 device-node-arch: '1n-tx2'
404 device-node-arch: '1n-tx2'
406 # [end] VPP-CSIT-PERPATCH PROJECT
408 # VPP-CSIT-API-CRC PROJECT
410 # Only master and LTS branches are supported.
413 name: vpp-csit-api-crc
415 - 'vpp-csit-verify-api-crc-{stream}'
417 executor: 'vpp-csit-device'
421 branch: 'stable/1908'
422 repo-stream-part: 'stable.1908'
424 branch: 'stable/2009'
425 repo-stream-part: 'stable.2009'
427 branch: 'stable/2101'
428 repo-stream-part: 'stable.2101'
432 # [end] VPP-CSIT-API-CRC PROJECT
434 # LF RELENG VPP PROJECTS
439 - gerrit-info-yaml-verify
440 build-node: centos7-builder-2c-2g
449 # [end] LF RELENG VPP PROJECTS
450 # [end] PROJECT DEFINITIONS
452 # JOB TEMPLATE DEFINITIONS
454 # Please keep job templates in the same order as they are referenced
455 # in the project definitions above.
457 # VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
459 name: 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
461 project-type: freestyle
462 node: 'builder-{os}-prod-{executor-arch}'
464 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
467 daysToKeep: '{build-days-to-keep}'
468 numToKeep: '{build-num-to-keep}'
469 artifactDaysToKeep: '{build-artifact-days-to-keep}'
470 artifactNumToKeep: '{build-artifact-num-to-keep}'
479 - repo-name-parameter:
480 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
481 - gerrit-refspec-parameter:
482 refspec: '{branch-head-refspec}'
485 - gerrit-trigger-scm:
486 credentials-id: 'jenkins-gerrit-credentials'
487 refspec: '$GERRIT_REFSPEC'
488 choosing-strategy: 'gerrit'
491 - fdio-infra-wrappers:
492 build-timeout: '{build-timeout}'
493 - credentials-binding:
495 credential-id: VppApiCompatNotify
496 variable: SECRET_WEBEX_TEAMS_ACCESS_TOKEN
500 server-name: 'Primary'
502 - patchset-created-event:
503 exclude-drafts: 'true'
504 exclude-trivial-rebase: 'false'
505 exclude-no-code-change: 'false'
506 - draft-published-event
507 - comment-added-contains-event:
508 comment-contains-value: 'checkstylecheck'
509 - comment-added-contains-event:
510 comment-contains-value: 'docsonly'
511 - comment-added-contains-event:
512 comment-contains-value: 'recheck'
513 - comment-added-contains-event:
514 comment-contains-value: 'reverify'
515 # Following two are to cover missing functions of drafts
516 # going to review status
517 - comment-added-contains-event:
518 comment-contains-value: 'runtest'
519 - comment-added-contains-event:
520 comment-contains-value: 'This change is ready for review'
522 - project-compare-type: 'ANT'
523 project-pattern: '{project}'
525 - branch-compare-type: 'ANT'
526 branch-pattern: '**/{branch}'
528 - compare-type: REG_EXP
529 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
530 forbidden-file-paths:
531 - compare-type: REG_EXP
533 - compare-type: REG_EXP
534 pattern: .*extras\/emacs\/.*
535 disable-strict-forbidden-file-verification: 'true'
537 gerrit-build-notbuilt-verified-value: 0
538 gerrit-build-successful-verified-value: 1
539 # yamllint disable-line rule:line-length
540 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
541 # yamllint disable-line rule:line-length
542 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
543 successful-message: 'checkstyle_success'
553 - ../scripts/setup_executor_env.sh
556 - ../scripts/vpp/checkstyle.sh
559 - ../scripts/vpp/test-checkstyle.sh
562 - ../scripts/vpp/api-checkstyle.sh
565 - ../scripts/vpp/commitmsg.sh
568 - fdio-infra-shiplogs:
569 maven-version: 'mvn36'
570 # [end] VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
572 # VPP-VERIFY JOB TEMPLATE
574 name: 'vpp-verify-{stream}-{os}-{executor-arch}'
576 project-type: freestyle
577 node: 'builder-{os}-prod-{executor-arch}'
579 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
582 daysToKeep: '{build-days-to-keep}'
584 artifactDaysToKeep: '{build-artifact-days-to-keep}'
585 artifactNumToKeep: '{build-artifact-num-to-keep}'
594 - repo-name-parameter:
595 repo-name: '{repo-stream-part}.{repo-os-part}'
599 name: ARCHIVE_ARTIFACTS
600 default: '{archive-artifacts}'
601 description: Artifacts to archive to the logs server.
602 - make-parallel-jobs-parameter:
603 make-parallel-jobs: '{make-parallel-jobs}'
604 - gerrit-refspec-parameter:
605 refspec: '{branch-head-refspec}'
608 - gerrit-trigger-scm:
609 credentials-id: 'jenkins-gerrit-credentials'
610 refspec: '$GERRIT_REFSPEC'
611 choosing-strategy: 'gerrit'
614 - fdio-infra-wrappers:
618 - gerrit-trigger-checkstyle:
625 - ../scripts/setup_executor_env.sh
628 - ../scripts/setup_vpp_ubuntu_docker_test.sh
631 - ../scripts/setup_vpp_dpdk_dev_env.sh
634 - ../scripts/vpp/build.sh
637 - fdio-infra-shiplogs:
638 maven-version: 'mvn36'
639 # [end] VPP-VERIFY JOB TEMPLATE
641 # VPP-DEBUG-VERIFY JOB TEMPLATE
643 name: 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
645 project-type: freestyle
646 node: 'builder-{os}-prod-{executor-arch}'
648 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
651 daysToKeep: '{build-days-to-keep}'
652 numToKeep: '{build-num-to-keep}'
653 artifactDaysToKeep: '{build-artifact-days-to-keep}'
654 artifactNumToKeep: '{build-artifact-num-to-keep}'
663 - repo-name-parameter:
664 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
667 - make-parallel-jobs-parameter:
668 make-parallel-jobs: '{make-parallel-jobs}'
669 - gerrit-refspec-parameter:
670 refspec: '{branch-head-refspec}'
673 - gerrit-trigger-scm:
674 credentials-id: 'jenkins-gerrit-credentials'
675 refspec: '$GERRIT_REFSPEC'
676 choosing-strategy: 'gerrit'
679 - fdio-infra-wrappers:
680 build-timeout: '{build-timeout}'
683 # TODO: Ensure all supported jobs pass reliably before
685 - gerrit-trigger-checkstyle-nonvoting:
692 - ../scripts/setup_executor_env.sh
695 - ../scripts/setup_vpp_ubuntu_docker_test.sh
698 - ../scripts/setup_vpp_dpdk_dev_env.sh
701 - ../scripts/vpp/debug-build.sh
704 - fdio-infra-shiplogs:
705 maven-version: 'mvn36'
706 # [end] VPP-DEBUG-VERIFY JOB TEMPLATE
708 # VPP-MERGE JOB TEMPLATE
710 name: 'vpp-merge-{stream}-{os}-{executor-arch}'
712 project-type: freestyle
713 node: 'builder-{os}-prod-{executor-arch}'
716 daysToKeep: '{build-days-to-keep}'
718 artifactDaysToKeep: '{build-artifact-days-to-keep}'
719 artifactNumToKeep: '{build-artifact-num-to-keep}'
728 - maven-project-parameter:
731 maven-version: 'mvn33-new'
734 - repo-name-parameter:
735 repo-name: '{repo-stream-part}.{repo-os-part}'
737 name: ARCHIVE_ARTIFACTS
738 default: '{archive-artifacts}'
739 description: Artifacts to archive to the logs server.
740 - make-parallel-jobs-parameter:
741 make-parallel-jobs: '{make-parallel-jobs}'
744 - gerrit-trigger-scm:
745 credentials-id: 'jenkins-gerrit-credentials'
747 choosing-strategy: 'default'
750 - fdio-infra-wrappers:
754 - gerrit-trigger-patch-merged:
759 - config-file-provider:
761 - file-id: '.packagecloud'
763 - config-file-provider:
765 - file-id: 'packagecloud_api'
769 - ../scripts/setup_executor_env.sh
772 - ../scripts/setup_vpp_ubuntu_docker_test.sh
775 - ../scripts/setup_vpp_dpdk_dev_env.sh
778 - ../scripts/vpp/build.sh
780 - provide-maven-settings:
781 settings-file: 'vpp-settings'
782 global-settings-file: 'global-settings'
785 - ../scripts/packagecloud_push.sh
788 - fdio-infra-shiplogs:
789 maven-version: 'mvn36'
790 # [end] VPP-MERGE JOB TEMPLATE
792 # VPP-BETA-VERIFY JOB TEMPLATE
794 name: 'vpp-beta-verify-{stream}-{os}-{executor-arch}'
796 project-type: freestyle
797 node: 'builder-{os}-prod-{executor-arch}'
799 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
802 daysToKeep: '{build-days-to-keep}'
804 artifactDaysToKeep: '{build-artifact-days-to-keep}'
805 artifactNumToKeep: '{build-artifact-num-to-keep}'
814 - repo-name-parameter:
815 repo-name: '{repo-stream-part}.{repo-os-part}'
819 name: ARCHIVE_ARTIFACTS
820 default: '{archive-artifacts}'
821 description: Artifacts to archive to the logs server.
822 - make-parallel-jobs-parameter:
823 make-parallel-jobs: '{make-parallel-jobs}'
824 - gerrit-refspec-parameter:
825 refspec: '{branch-head-refspec}'
828 - gerrit-trigger-scm:
829 credentials-id: 'jenkins-gerrit-credentials'
830 refspec: '$GERRIT_REFSPEC'
831 choosing-strategy: 'gerrit'
834 - fdio-infra-wrappers:
838 - gerrit-trigger-manually-triggered:
839 comment-trigger-value: '{comment-trigger-value}'
846 - ../scripts/setup_executor_env.sh
849 - ../scripts/setup_vpp_ubuntu_docker_test.sh
852 - ../scripts/setup_vpp_dpdk_dev_env.sh
855 - ../scripts/vpp/build.sh
858 - fdio-infra-shiplogs:
859 maven-version: 'mvn36'
860 # [end] VPP-BETA-VERIFY JOB TEMPLATE
862 # VPP-BETA-MERGE JOB TEMPLATE
864 name: 'vpp-beta-merge-{stream}-{os}-{executor-arch}'
866 project-type: freestyle
867 node: 'builder-{os}-prod-{executor-arch}'
870 daysToKeep: '{build-days-to-keep}'
872 artifactDaysToKeep: '{build-artifact-days-to-keep}'
873 artifactNumToKeep: '{build-artifact-num-to-keep}'
882 - maven-project-parameter:
885 maven-version: 'mvn33-new'
888 - repo-name-parameter:
889 repo-name: '{repo-stream-part}.{repo-os-part}'
891 name: ARCHIVE_ARTIFACTS
892 default: '{archive-artifacts}'
893 description: Artifacts to archive to the logs server.
894 - make-parallel-jobs-parameter:
895 make-parallel-jobs: '{make-parallel-jobs}'
898 - gerrit-trigger-scm:
899 credentials-id: 'jenkins-gerrit-credentials'
901 choosing-strategy: 'default'
904 - fdio-infra-wrappers:
905 build-timeout: '{build-timeout}'
908 - gerrit-trigger-manually-triggered:
909 comment-trigger-value: '{comment-trigger-value}'
914 - config-file-provider:
916 - file-id: '.packagecloud'
918 - config-file-provider:
920 - file-id: 'packagecloud_api'
924 - ../scripts/setup_executor_env.sh
927 - ../scripts/vpp/checkstyle.sh
930 - ../scripts/setup_vpp_ubuntu_docker_test.sh
933 - ../scripts/setup_vpp_dpdk_dev_env.sh
936 - ../scripts/vpp/build.sh
937 - provide-maven-settings:
938 settings-file: 'vpp-settings'
939 global-settings-file: 'global-settings'
942 - ../scripts/packagecloud_push.sh
945 - fdio-infra-shiplogs:
946 maven-version: 'mvn36'
947 # [end] VPP-BETA-MERGE JOB TEMPLATE
949 # VPP-GCC-VERIFY JOB TEMPLATE
951 name: 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
953 project-type: freestyle
954 node: 'builder-{os}-prod-{executor-arch}'
956 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
959 daysToKeep: '{build-days-to-keep}'
961 artifactDaysToKeep: '{build-artifact-days-to-keep}'
962 artifactNumToKeep: '{build-artifact-num-to-keep}'
971 - repo-name-parameter:
972 repo-name: '{repo-stream-part}.{repo-os-part}'
976 name: ARCHIVE_ARTIFACTS
977 default: '{archive-artifacts}'
978 description: Artifacts to archive to the logs server.
979 - make-parallel-jobs-parameter:
980 make-parallel-jobs: '{make-parallel-jobs}'
981 - gerrit-refspec-parameter:
982 refspec: '{branch-head-refspec}'
985 - gerrit-trigger-scm:
986 credentials-id: 'jenkins-gerrit-credentials'
987 refspec: '$GERRIT_REFSPEC'
988 choosing-strategy: 'gerrit'
991 - fdio-infra-wrappers:
995 - gerrit-trigger-checkstyle:
1001 !include-raw-escape:
1002 - ../scripts/setup_executor_env.sh
1004 !include-raw-escape:
1005 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1007 !include-raw-escape:
1008 - ../scripts/setup_vpp_dpdk_dev_env.sh
1010 !include-raw-escape:
1011 - ../scripts/vpp/gcc-build.sh
1014 - fdio-infra-shiplogs:
1015 maven-version: 'mvn36'
1016 # [end] VPP-GCC-VERIFY JOB TEMPLATE
1018 # VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
1020 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
1025 <li>{device-executor}
1029 project-type: freestyle
1030 node: '{device-executor}'
1032 archive-artifacts: '**/csit_current/**/*.*'
1036 daysToKeep: '{build-days-to-keep}'
1038 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1039 artifactNumToKeep: '{build-artifact-num-to-keep}'
1042 - project-parameter:
1043 project: '{project}'
1048 - repo-name-parameter:
1049 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1050 - gerrit-refspec-parameter
1051 - gerrit-event-type-parameter
1052 - gerrit-event-comment-text-parameter
1053 - gerrit-csit-refspec-parameter
1057 name: ARCHIVE_ARTIFACTS
1058 default: '{archive-artifacts}'
1059 description: Artifacts to archive to the logs server.
1060 - make-parallel-jobs-parameter:
1061 make-parallel-jobs: '{make-parallel-jobs}'
1064 - gerrit-trigger-scm:
1065 credentials-id: 'jenkins-gerrit-credentials'
1066 refspec: '$GERRIT_REFSPEC'
1067 choosing-strategy: 'gerrit'
1070 - fdio-infra-wrappers:
1074 - 'gerrit-trigger-vpp-csit-devicetest-full':
1077 skip-vote: '{skip-vote}'
1081 !include-raw-escape:
1082 - ../scripts/setup_executor_env.sh
1084 !include-raw-escape:
1085 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1087 !include-raw-escape:
1088 - ../scripts/setup_vpp_dpdk_dev_env.sh
1090 !include-raw-escape:
1091 - ../scripts/vpp/csit-device.sh
1095 output-path: 'archives'
1097 - fdio-infra-shiplogs:
1098 maven-version: 'mvn36'
1099 # [end] VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
1101 # VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1103 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
1111 Contrary to csit-vpp job, this also measures the parent performance,
1112 and fails if performance regression is detected.
1113 See https://github.com/FDio/csit/blob/master/docs/cpta/methodology/perpatch_performance_tests.rst
1116 project-type: freestyle
1119 archive-artifacts: >
1120 **/csit_current/**/*.*
1121 **/csit_parent/**/*.*
1125 daysToKeep: '{build-days-to-keep}'
1127 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1128 artifactNumToKeep: '{build-artifact-num-to-keep}'
1131 - project-parameter:
1132 project: '{project}'
1137 - repo-name-parameter:
1138 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1139 - gerrit-refspec-parameter
1140 - gerrit-event-type-parameter
1141 - gerrit-event-comment-text-parameter
1142 - gerrit-csit-refspec-parameter
1143 - csit-perf-trial-duration-parameter:
1144 csit-perf-trial-duration: "10.0"
1145 - csit-perf-trial-multiplicity-parameter:
1146 csit-perf-trial-multiplicity: "5"
1150 name: ARCHIVE_ARTIFACTS
1151 default: '{archive-artifacts}'
1152 description: Artifacts to archive to the logs server.
1153 - make-parallel-jobs-parameter:
1154 make-parallel-jobs: '{make-parallel-jobs}'
1157 - gerrit-trigger-scm:
1158 credentials-id: 'jenkins-gerrit-credentials'
1159 refspec: '$GERRIT_REFSPEC'
1160 choosing-strategy: 'gerrit'
1163 - fdio-infra-wrappers-non-activity-timeout:
1167 - gerrit-trigger-csit-perftest:
1168 project: '{project}'
1170 trigger-word: 'perftest-{node-arch}'
1175 !include-raw-escape:
1176 - ../scripts/setup_executor_env.sh
1178 !include-raw-escape:
1179 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1181 !include-raw-escape:
1182 - ../scripts/setup_vpp_dpdk_dev_env.sh
1184 !include-raw-escape:
1185 - ../scripts/vpp/csit-perf.sh
1189 output-path: 'csit_current/0/'
1192 # [end] VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1194 # VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1196 name: 'vpp-csit-verify-api-crc-{stream}'
1198 project-type: freestyle
1201 archive-artifacts: ''
1205 daysToKeep: '{build-days-to-keep}'
1207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1208 artifactNumToKeep: '{build-artifact-num-to-keep}'
1211 - project-parameter:
1212 project: '{project}'
1215 - gerrit-refspec-parameter
1216 - gerrit-csit-refspec-parameter
1220 name: ARCHIVE_ARTIFACTS
1221 default: '{archive-artifacts}'
1222 description: Artifacts to archive to the logs server.
1223 # Not sure whether not failing has any useful usage,
1224 # but it does not hurt to have some flexibility for future.
1225 - csit-fail-on-crc-mismatch-parameter:
1226 fail-on-crc-mismatch: 'True'
1229 - gerrit-trigger-scm:
1230 credentials-id: 'jenkins-gerrit-credentials'
1231 refspec: '$GERRIT_REFSPEC'
1232 choosing-strategy: 'gerrit'
1235 - fdio-infra-wrappers-non-activity-timeout:
1239 # TODO: Make other verify jobs trigger on success of this one,
1240 # without breaking verification for VPP branches before stable/1908.
1241 - gerrit-trigger-checkstyle:
1247 !include-raw-escape:
1248 - ../scripts/setup_executor_env.sh
1250 !include-raw-escape:
1251 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1253 !include-raw-escape:
1254 - ../scripts/vpp/check_crc.sh
1255 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1258 - fdio-infra-shiplogs:
1259 maven-version: 'mvn36'
1260 # [end] VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1261 # [end] JOB TEMPLATE DEFINITIONS