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-refspec' attribute is used for sandbox testing.
22 # Use the get_gerrit_refspec() bash function in
23 # .../ci-management/extras/bash/sandbox_test_functions.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.
30 # VPP-CHECKSTYLE-X86_64 PROJECT
32 name: vpp-checkstyle-x86_64
34 - 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
41 repo-stream-part: 'master'
46 repo-stream-part: 'stable.2009'
52 repo-stream-part: 'stable.2101'
53 executor-arch: 'x86_64'
54 # [end] VPP-CHECKSTYLE-X86_64 PROJECT
60 - 'vpp-verify-{stream}-{os}-{executor-arch}'
61 - 'vpp-merge-{stream}-{os}-{executor-arch}'
63 make-parallel-jobs: '4'
64 archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
69 repo-stream-part: 'master'
73 repo-stream-part: 'stable.2009'
77 repo-stream-part: 'stable.2101'
80 repo-os-part: 'ubuntu.bionic.main'
81 executor-arch: 'x86_64'
82 # [end] VPP-X86_64 PROJECT
84 # VPP-OS-EOL-X86_64 PROJECT
86 name: vpp-os-eol-x86_64
88 - 'vpp-verify-{stream}-{os}-{executor-arch}'
89 - 'vpp-merge-{stream}-{os}-{executor-arch}'
91 make-parallel-jobs: '4'
92 archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
97 repo-stream-part: 'stable.2009'
100 repo-os-part: 'centos7'
102 repo-os-part: 'stretch'
103 executor-arch: 'x86_64'
104 # [end] VPP-OS-EOL-X86_64 PROJECT
106 # VPP-OS-IN-2009-X86_64 PROJECT
108 # This project is used to separate streams which are only
109 # supported on the OS in the release in which it was added
112 # For each 'os-in-XXXX', the stream for the release is
113 # added here in addition to the 'vpp-x86_64' project.
114 # Each subsequent release is also added to both.
116 # When all of the streams older than the 'os-in-XXXX" have
117 # been removed from the 'vpp-x86_64' project, then the OSes
118 # in this project get moved to the 'vpp-x86_64' project and
119 # this project gets deleted or commented out if it is only
120 # 'os-in-XXXX' project.
123 name: vpp-os-in-2009-x86_64
125 - 'vpp-verify-{stream}-{os}-{executor-arch}'
126 - 'vpp-merge-{stream}-{os}-{executor-arch}'
128 make-parallel-jobs: '4'
129 archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
134 repo-stream-part: 'master'
136 branch: 'stable/2009'
138 repo-stream-part: 'stable.2009'
140 branch: 'stable/2101'
142 repo-stream-part: 'stable.2101'
145 repo-os-part: 'centos8'
147 repo-os-part: 'buster'
149 repo-os-part: 'ubuntu.focal.main'
150 executor-arch: 'x86_64'
151 # [end] VPP-OS-IN-2009-X86_64 PROJECT
153 # VPP-DEBUG-X86_64 PROJECT
155 # Currently a periodic job due to intermittent failures.
156 # Limiting branches to master and 2009, since other branches
157 # may not get fixes for the intermittent failures.
160 name: vpp-debug-x86_64
162 - 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
164 make-parallel-jobs: '4'
165 archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
166 comment-trigger-value: 'debug-verify'
172 periodicity: 'H * * * *'
173 repo-stream-part: 'master'
175 branch: 'stable/2009'
178 periodicity: 'H H * * *'
179 repo-stream-part: 'stable.2009'
182 repo-os-part: 'ubuntu.focal.main'
183 executor-arch: 'x86_64'
184 # [end] VPP-DEBUG-X86_64 PROJECT
186 # VPP-BETA-X86_64 PROJECT
188 # Beta jobs are experimental jobs for testing new OS versions on master.
190 # They are only manually triggered. Either using the Jenkins WebUI
191 # 'Build with Parameters' to run a single job or adding 'beta-verify'
192 # or 'beta-merge' as a comment to run all beta verify or merge jobs.
194 # Once testing is complete, the os is moved to the current
195 # 'vpp-os-in-XXXX-x86_64' project. If no OSes are being
196 # tested then this project should be commented out.
199 # name: vpp-beta-x86_64
201 # - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
202 # comment-trigger-value: 'beta-verify'
203 # - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
204 # comment-trigger-value: 'beta-merge'
206 # make-parallel-jobs: '4'
207 # archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
212 # repo-stream-part: 'master'
215 # repo-os-part: 'buster'
216 # executor-arch: x86_64
217 # [end] VPP-BETA-X86_64 PROJECT
219 # VPP-GCC-X86_64 PROJECT
223 - 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
225 executor-arch: 'x86_64'
228 repo-os-part: 'ubuntu.focal.main'
233 repo-stream-part: 'master'
235 branch: 'stable/2009'
237 repo-stream-part: 'stable.2009'
239 branch: 'stable/2101'
241 repo-stream-part: 'stable.2101'
242 # [end] VPP-GCC-X86_64 PROJECT
244 # VPP-AARCH64 PROJECT
248 - 'vpp-verify-{stream}-{os}-{executor-arch}'
249 - 'vpp-merge-{stream}-{os}-{executor-arch}'
251 make-parallel-jobs: '16'
252 archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
257 repo-stream-part: 'master'
259 branch: 'stable/2009'
261 repo-stream-part: 'stable.2009'
263 branch: 'stable/2101'
265 repo-stream-part: 'stable.2101'
268 repo-os-part: 'centos8'
270 repo-os-part: 'ubuntu-arm.bionic.main'
271 executor-arch: 'aarch64'
273 # OS introduced after 2009
276 # OS introduced after 2101
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'
305 # archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
310 # repo-stream-part: 'master'
312 # branch: 'stable/2009'
314 # repo-stream-part: 'stable.2009'
317 # repo-os-part: 'ubuntu.focal.main'
318 # executor-arch: 'aarch64'
319 # [end] VPP-OS-IN-2009-AARCH64 PROJECT
321 # VPP-BETA-AARCH64 PROJECT
323 # Beta jobs are experimental jobs for testing new OS versions on master.
325 # They are only manually triggered. Either using the Jenkins WebUI
326 # 'Build with Parameters' to run a single job or adding 'beta-verify'
327 # or 'beta-merge' as a comment to run all beta verify or merge jobs.
329 # Once testing is complete, the os is moved to the current
330 # 'vpp-os-in-XXXX-aarch64' project. If no OSes are being
331 # tested then this project should be commented out.
334 name: vpp-beta-aarch64
336 - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
337 comment-trigger-value: 'beta-verify'
338 - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
339 comment-trigger-value: 'beta-merge'
341 make-parallel-jobs: '16'
342 archive-artifacts: '/tmp/vpp-failed-unittests/*/*'
347 repo-stream-part: 'master'
350 repo-os-part: 'ubuntu.focal.main'
351 executor-arch: aarch64
352 # [end] VPP-BETA-AARCH64 PROJECT
354 # VPP-CSIT-VERIFY PROJECT
356 name: vpp-csit-verify
358 - 'vpp-csit-verify-device-perpatch':
359 make-parallel-jobs: '32'
361 - device-node-arch: '1n-tx2'
362 - 'vpp-csit-verify-device-periodic':
363 make-parallel-jobs: '32'
364 periodicity: 'H * * * *'
366 comment-trigger-value: 'devicetest-periodic'
370 - device-node-arch: '1n-skx'
371 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
374 device-executor: 'vpp-csit-device'
381 repo-stream-part: 'master'
383 branch: 'stable/2009'
385 repo-stream-part: 'stable.2009'
387 branch: 'stable/2101'
389 repo-stream-part: 'stable.2101'
393 device-executor: 'vpp-csit-arm-ubuntu18'
403 executor: 'ubuntu1804arm-s'
404 make-parallel-jobs: '16'
406 executor: 'ubuntu1804arm-s'
407 make-parallel-jobs: '16'
409 # [end] VPP-CSIT-VERIFY PROJECT
411 # VPP-CSIT-API-CRC PROJECT
413 # Only master and LTS branches are supported.
416 name: vpp-csit-api-crc
418 - 'vpp-csit-verify-api-crc-{stream}'
420 executor: 'vpp-csit-device'
427 branch: 'stable/2009'
429 repo-stream-part: 'stable.2009'
431 branch: 'stable/2101'
433 repo-stream-part: 'stable.2101'
435 # [end] VPP-CSIT-API-CRC PROJECT
437 # LF RELENG VPP PROJECTS
442 - gerrit-info-yaml-verify
443 build-node: centos7-builder-2c-2g
452 # [end] LF RELENG VPP PROJECTS
453 # [end] PROJECT DEFINITIONS
455 # JOB TEMPLATE DEFINITIONS
457 # Please keep job templates in the same order as they are referenced
458 # in the project definitions above.
460 # VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
462 name: 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
464 project-type: freestyle
465 node: 'builder-{os}-prod-{executor-arch}'
469 daysToKeep: '{build-days-to-keep}'
470 numToKeep: '{build-num-to-keep}'
471 artifactDaysToKeep: '{build-artifact-days-to-keep}'
472 artifactNumToKeep: '{build-artifact-num-to-keep}'
474 # Please keep parameters in alphabetical order
478 - gerrit-refspec-parameter:
479 refspec: '{branch-refspec}'
484 - repo-name-parameter:
485 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
486 - workspace-archive-artifacts-parameter:
487 artifacts: '{archive-artifacts}'
490 - gerrit-trigger-scm:
491 credentials-id: 'jenkins-gerrit-credentials'
492 refspec: '$GERRIT_REFSPEC'
493 choosing-strategy: 'gerrit'
496 - fdio-infra-wrappers:
497 build-timeout: '{build-timeout}'
498 - credentials-binding:
500 credential-id: VppApiCompatNotify
501 variable: SECRET_WEBEX_TEAMS_ACCESS_TOKEN
505 server-name: 'Primary'
507 - patchset-created-event:
508 exclude-drafts: 'true'
509 exclude-trivial-rebase: 'false'
510 exclude-no-code-change: 'false'
511 - draft-published-event
512 - comment-added-contains-event:
513 comment-contains-value: 'checkstylecheck'
514 - comment-added-contains-event:
515 comment-contains-value: 'docsonly'
516 - comment-added-contains-event:
517 comment-contains-value: 'recheck'
518 - comment-added-contains-event:
519 comment-contains-value: 'reverify'
520 # Following two are to cover missing functions of drafts
521 # going to review status
522 - comment-added-contains-event:
523 comment-contains-value: 'runtest'
524 - comment-added-contains-event:
525 comment-contains-value: 'This change is ready for review'
527 - project-compare-type: 'ANT'
528 project-pattern: '{project}'
530 - branch-compare-type: 'ANT'
531 branch-pattern: '**/{branch}'
533 - compare-type: REG_EXP
534 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
535 forbidden-file-paths:
536 - compare-type: REG_EXP
538 - compare-type: REG_EXP
539 pattern: .*extras\/emacs\/.*
540 disable-strict-forbidden-file-verification: 'true'
542 gerrit-build-notbuilt-verified-value: 0
543 gerrit-build-successful-verified-value: 1
544 # yamllint disable-line rule:line-length
545 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
546 # yamllint disable-line rule:line-length
547 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
548 successful-message: 'checkstyle_success'
558 - ../scripts/setup_executor_env.sh
561 - ../scripts/vpp/checkstyle.sh
564 - ../scripts/vpp/test-checkstyle.sh
567 - ../scripts/vpp/api-checkstyle.sh
570 - ../scripts/vpp/commitmsg.sh
575 # [end] VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
577 # VPP-VERIFY JOB TEMPLATE
579 name: 'vpp-verify-{stream}-{os}-{executor-arch}'
581 project-type: freestyle
582 node: 'builder-{os}-prod-{executor-arch}'
586 daysToKeep: '{build-days-to-keep}'
588 artifactDaysToKeep: '{build-artifact-days-to-keep}'
589 artifactNumToKeep: '{build-artifact-num-to-keep}'
591 # Please keep parameters in alphabetical order
595 - gerrit-refspec-parameter:
596 refspec: '{branch-refspec}'
597 - make-parallel-jobs-parameter:
598 make-parallel-jobs: '{make-parallel-jobs}'
603 - repo-name-parameter:
604 repo-name: '{repo-stream-part}.{repo-os-part}'
607 - workspace-archive-artifacts-parameter:
608 artifacts: '{archive-artifacts}'
611 - gerrit-trigger-scm:
612 credentials-id: 'jenkins-gerrit-credentials'
613 refspec: '$GERRIT_REFSPEC'
614 choosing-strategy: 'gerrit'
617 - fdio-infra-wrappers:
621 - gerrit-trigger-checkstyle:
628 - ../scripts/setup_executor_env.sh
631 - ../scripts/setup_vpp_ubuntu_docker_test.sh
634 - ../scripts/setup_vpp_dpdk_dev_env.sh
637 - ../scripts/vpp/build.sh
641 # [end] VPP-VERIFY JOB TEMPLATE
643 # VPP-DEBUG-VERIFY JOB TEMPLATE
645 name: 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
647 project-type: freestyle
648 node: 'builder-{os}-prod-{executor-arch}'
652 daysToKeep: '{build-days-to-keep}'
653 numToKeep: '{build-num-to-keep}'
654 artifactDaysToKeep: '{build-artifact-days-to-keep}'
655 artifactNumToKeep: '{build-artifact-num-to-keep}'
657 # Please keep parameters in alphabetical order
661 - gerrit-refspec-parameter:
662 refspec: '{branch-refspec}'
663 - make-parallel-jobs-parameter:
664 make-parallel-jobs: '{make-parallel-jobs}'
669 - repo-name-parameter:
670 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
673 - workspace-archive-artifacts-parameter:
674 artifacts: '{archive-artifacts}'
677 - gerrit-trigger-scm:
678 credentials-id: 'jenkins-gerrit-credentials'
679 refspec: '$GERRIT_REFSPEC'
680 choosing-strategy: 'gerrit'
683 - fdio-infra-wrappers:
684 build-timeout: '{build-timeout}'
687 - timed: '{periodicity}'
688 - gerrit-trigger-manually-triggered:
689 comment-trigger-value: '{comment-trigger-value}'
696 - ../scripts/setup_executor_env.sh
699 - ../scripts/setup_vpp_ubuntu_docker_test.sh
702 - ../scripts/setup_vpp_dpdk_dev_env.sh
705 - ../scripts/vpp/debug-build.sh
709 # [end] VPP-DEBUG-VERIFY-PERIODIC JOB TEMPLATE
711 # VPP-MERGE JOB TEMPLATE
713 name: 'vpp-merge-{stream}-{os}-{executor-arch}'
715 project-type: freestyle
716 node: 'builder-{os}-prod-{executor-arch}'
719 daysToKeep: '{build-days-to-keep}'
721 artifactDaysToKeep: '{build-artifact-days-to-keep}'
722 artifactNumToKeep: '{build-artifact-num-to-keep}'
724 # Please keep parameters in alphabetical order
728 - make-parallel-jobs-parameter:
729 make-parallel-jobs: '{make-parallel-jobs}'
734 - repo-name-parameter:
735 repo-name: '{repo-stream-part}.{repo-os-part}'
738 - workspace-archive-artifacts-parameter:
739 artifacts: '{archive-artifacts}'
742 - gerrit-trigger-scm:
743 credentials-id: 'jenkins-gerrit-credentials'
745 choosing-strategy: 'default'
748 - fdio-infra-wrappers:
752 - gerrit-trigger-patch-merged:
757 - config-file-provider:
759 - file-id: '.packagecloud'
761 - config-file-provider:
763 - file-id: 'packagecloud_api'
767 - ../scripts/setup_executor_env.sh
770 - ../scripts/setup_vpp_ubuntu_docker_test.sh
773 - ../scripts/setup_vpp_dpdk_dev_env.sh
776 - ../scripts/vpp/build.sh
778 - provide-maven-settings:
779 settings-file: 'vpp-settings'
780 global-settings-file: 'global-settings'
783 - ../scripts/packagecloud_push.sh
787 # [end] VPP-MERGE JOB TEMPLATE
789 # VPP-BETA-VERIFY JOB TEMPLATE
791 name: 'vpp-beta-verify-{stream}-{os}-{executor-arch}'
793 project-type: freestyle
794 node: 'builder-{os}-prod-{executor-arch}'
798 daysToKeep: '{build-days-to-keep}'
800 artifactDaysToKeep: '{build-artifact-days-to-keep}'
801 artifactNumToKeep: '{build-artifact-num-to-keep}'
803 # Please keep parameters in alphabetical order
807 - gerrit-refspec-parameter:
808 refspec: '{branch-refspec}'
809 - make-parallel-jobs-parameter:
810 make-parallel-jobs: '{make-parallel-jobs}'
815 - repo-name-parameter:
816 repo-name: '{repo-stream-part}.{repo-os-part}'
819 - workspace-archive-artifacts-parameter:
820 artifacts: '{archive-artifacts}'
823 - gerrit-trigger-scm:
824 credentials-id: 'jenkins-gerrit-credentials'
825 refspec: '$GERRIT_REFSPEC'
826 choosing-strategy: 'gerrit'
829 - fdio-infra-wrappers:
833 - gerrit-trigger-manually-triggered:
834 comment-trigger-value: '{comment-trigger-value}'
841 - ../scripts/setup_executor_env.sh
844 - ../scripts/setup_vpp_ubuntu_docker_test.sh
847 - ../scripts/setup_vpp_dpdk_dev_env.sh
850 - ../scripts/vpp/build.sh
854 # [end] VPP-BETA-VERIFY JOB TEMPLATE
856 # VPP-BETA-MERGE JOB TEMPLATE
858 name: 'vpp-beta-merge-{stream}-{os}-{executor-arch}'
860 project-type: freestyle
861 node: 'builder-{os}-prod-{executor-arch}'
864 daysToKeep: '{build-days-to-keep}'
866 artifactDaysToKeep: '{build-artifact-days-to-keep}'
867 artifactNumToKeep: '{build-artifact-num-to-keep}'
869 # Please keep parameters in alphabetical order
873 - make-parallel-jobs-parameter:
874 make-parallel-jobs: '{make-parallel-jobs}'
879 - repo-name-parameter:
880 repo-name: '{repo-stream-part}.{repo-os-part}'
883 - workspace-archive-artifacts-parameter:
884 artifacts: '{archive-artifacts}'
887 - gerrit-trigger-scm:
888 credentials-id: 'jenkins-gerrit-credentials'
889 refspec: '$GERRIT_REFSPEC'
890 choosing-strategy: 'default'
893 - fdio-infra-wrappers:
894 build-timeout: '{build-timeout}'
897 - gerrit-trigger-manually-triggered:
898 comment-trigger-value: '{comment-trigger-value}'
903 - config-file-provider:
905 - file-id: '.packagecloud'
907 - config-file-provider:
909 - file-id: 'packagecloud_api'
913 - ../scripts/setup_executor_env.sh
916 - ../scripts/vpp/checkstyle.sh
919 - ../scripts/setup_vpp_ubuntu_docker_test.sh
922 - ../scripts/setup_vpp_dpdk_dev_env.sh
925 - ../scripts/vpp/build.sh
928 - ../scripts/packagecloud_push.sh
932 # [end] VPP-BETA-MERGE JOB TEMPLATE
934 # VPP-GCC-VERIFY JOB TEMPLATE
936 name: 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
938 project-type: freestyle
939 node: 'builder-{os}-prod-{executor-arch}'
943 daysToKeep: '{build-days-to-keep}'
945 artifactDaysToKeep: '{build-artifact-days-to-keep}'
946 artifactNumToKeep: '{build-artifact-num-to-keep}'
948 # Please keep parameters in alphabetical order
952 - gerrit-refspec-parameter:
953 refspec: '{branch-refspec}'
954 - make-parallel-jobs-parameter:
955 make-parallel-jobs: '{make-parallel-jobs}'
960 - repo-name-parameter:
961 repo-name: '{repo-stream-part}.{repo-os-part}'
964 - workspace-archive-artifacts-parameter:
965 artifacts: '{archive-artifacts}'
968 - gerrit-trigger-scm:
969 credentials-id: 'jenkins-gerrit-credentials'
970 refspec: '$GERRIT_REFSPEC'
971 choosing-strategy: 'gerrit'
974 - fdio-infra-wrappers:
978 - gerrit-trigger-checkstyle:
985 - ../scripts/setup_executor_env.sh
988 - ../scripts/setup_vpp_ubuntu_docker_test.sh
991 - ../scripts/setup_vpp_dpdk_dev_env.sh
994 - ../scripts/vpp/gcc-build.sh
998 # [end] VPP-GCC-VERIFY JOB TEMPLATE
1000 # VPP-CSIT-VERIFY-DEVICE-PERIODIC JOB TEMPLATE
1002 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
1003 id: 'vpp-csit-verify-device-periodic'
1008 <li>{device-executor}
1012 project-type: freestyle
1013 node: '{device-executor}'
1015 archive-artifacts: '**/csit_current/**/*.*'
1019 daysToKeep: '{build-days-to-keep}'
1021 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1022 artifactNumToKeep: '{build-artifact-num-to-keep}'
1024 # Please keep parameters in alphabetical order
1026 - archive-artifacts-parameter:
1027 artifacts: '{archive-artifacts}'
1028 - gerrit-csit-refspec-parameter
1029 - gerrit-event-comment-text-parameter
1030 - gerrit-event-type-parameter
1033 - gerrit-refspec-parameter:
1034 refspec: '{branch-refspec}'
1035 - make-parallel-jobs-parameter:
1036 make-parallel-jobs: '{make-parallel-jobs}'
1039 - project-parameter:
1040 project: '{project}'
1041 - repo-name-parameter:
1042 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1047 - gerrit-trigger-scm:
1048 credentials-id: 'jenkins-gerrit-credentials'
1049 refspec: '$GERRIT_REFSPEC'
1050 choosing-strategy: 'default'
1053 - fdio-infra-wrappers:
1057 - timed: '{periodicity}'
1058 - gerrit-trigger-manually-triggered:
1059 comment-trigger-value: '{comment-trigger-value}'
1065 !include-raw-escape:
1066 - ../scripts/setup_executor_env.sh
1068 !include-raw-escape:
1069 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1071 !include-raw-escape:
1072 - ../scripts/setup_vpp_dpdk_dev_env.sh
1074 !include-raw-escape:
1075 - ../scripts/vpp/csit-device.sh
1079 output-path: 'archives'
1081 - fdio-infra-shiplogs:
1082 maven-version: 'mvn36'
1083 # [end] VPP-CSIT-VERIFY-DEVICE-PERIODIC JOB TEMPLATE
1085 # VPP-CSIT-VERIFY-DEVICE-PERPATCH JOB TEMPLATE
1087 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
1088 id: 'vpp-csit-verify-device-perpatch'
1093 <li>{device-executor}
1097 project-type: freestyle
1098 node: '{device-executor}'
1100 archive-artifacts: '**/csit_current/**/*.*'
1104 daysToKeep: '{build-days-to-keep}'
1106 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1107 artifactNumToKeep: '{build-artifact-num-to-keep}'
1109 # Please keep parameters in alphabetical order
1111 - archive-artifacts-parameter:
1112 artifacts: '{archive-artifacts}'
1113 - gerrit-csit-refspec-parameter
1114 - gerrit-event-comment-text-parameter
1115 - gerrit-event-type-parameter
1118 - gerrit-refspec-parameter:
1119 refspec: '{branch-refspec}'
1120 - make-parallel-jobs-parameter:
1121 make-parallel-jobs: '{make-parallel-jobs}'
1124 - project-parameter:
1125 project: '{project}'
1126 - repo-name-parameter:
1127 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1132 - gerrit-trigger-scm:
1133 credentials-id: 'jenkins-gerrit-credentials'
1134 refspec: '$GERRIT_REFSPEC'
1135 choosing-strategy: 'gerrit'
1138 - fdio-infra-wrappers:
1142 - 'gerrit-trigger-vpp-csit-devicetest-full':
1145 skip-vote: '{skip-vote}'
1149 !include-raw-escape:
1150 - ../scripts/setup_executor_env.sh
1152 !include-raw-escape:
1153 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1155 !include-raw-escape:
1156 - ../scripts/setup_vpp_dpdk_dev_env.sh
1158 !include-raw-escape:
1159 - ../scripts/vpp/csit-device.sh
1163 output-path: 'archives'
1165 - fdio-infra-shiplogs:
1166 maven-version: 'mvn36'
1167 # [end] VPP-CSIT-VERIFY-DEVICE-PERPATCH JOB TEMPLATE
1169 # VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1171 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
1179 Contrary to csit-vpp job, this also measures the parent performance,
1180 and fails if performance regression is detected.
1181 See https://github.com/FDio/csit/blob/master/docs/cpta/methodology/perpatch_performance_tests.rst
1184 project-type: freestyle
1187 archive-artifacts: >
1188 **/csit_current/**/*.*
1189 **/csit_parent/**/*.*
1193 daysToKeep: '{build-days-to-keep}'
1195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1196 artifactNumToKeep: '{build-artifact-num-to-keep}'
1198 # Please keep parameters in alphabetical order
1200 - archive-artifacts-parameter:
1201 artifacts: '{archive-artifacts}'
1202 - csit-perf-trial-duration-parameter:
1203 csit-perf-trial-duration: "10.0"
1204 - csit-perf-trial-multiplicity-parameter:
1205 csit-perf-trial-multiplicity: "5"
1206 - gerrit-csit-refspec-parameter
1207 - gerrit-event-comment-text-parameter
1208 - gerrit-event-type-parameter
1209 - gerrit-refspec-parameter:
1210 refspec: '{branch-refspec}'
1213 - make-parallel-jobs-parameter:
1214 make-parallel-jobs: '{make-parallel-jobs}'
1217 - project-parameter:
1218 project: '{project}'
1219 - repo-name-parameter:
1220 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1225 - gerrit-trigger-scm:
1226 credentials-id: 'jenkins-gerrit-credentials'
1227 refspec: '$GERRIT_REFSPEC'
1228 choosing-strategy: 'gerrit'
1231 - fdio-infra-wrappers-non-activity-timeout:
1235 - gerrit-trigger-csit-perftest:
1236 project: '{project}'
1238 trigger-word: 'perftest-{node-arch}'
1243 !include-raw-escape:
1244 - ../scripts/setup_executor_env.sh
1246 !include-raw-escape:
1247 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1249 !include-raw-escape:
1250 - ../scripts/setup_vpp_dpdk_dev_env.sh
1252 !include-raw-escape:
1253 - ../scripts/vpp/csit-perf.sh
1257 output-path: 'csit_current/0/'
1259 - fdio-infra-shiplogs:
1260 maven-version: 'mvn36'
1261 # [end] VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1263 # VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1265 name: 'vpp-csit-verify-api-crc-{stream}'
1267 project-type: freestyle
1273 daysToKeep: '{build-days-to-keep}'
1275 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1276 artifactNumToKeep: '{build-artifact-num-to-keep}'
1278 # Please keep parameters in alphabetical order
1280 - archive-artifacts-parameter:
1281 artifacts: '{archive-artifacts}'
1282 # Not sure whether not failing has any useful usage,
1283 # but it does not hurt to have some flexibility for future.
1284 - csit-fail-on-crc-mismatch-parameter:
1285 fail-on-crc-mismatch: 'True'
1286 - gerrit-csit-refspec-parameter
1289 - gerrit-refspec-parameter:
1290 refspec: '{branch-refspec}'
1291 - project-parameter:
1292 project: '{project}'
1297 - gerrit-trigger-scm:
1298 credentials-id: 'jenkins-gerrit-credentials'
1299 refspec: '$GERRIT_REFSPEC'
1300 choosing-strategy: 'gerrit'
1303 - fdio-infra-wrappers-non-activity-timeout:
1307 - gerrit-trigger-checkstyle:
1313 !include-raw-escape:
1314 - ../scripts/setup_executor_env.sh
1316 !include-raw-escape:
1317 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1319 !include-raw-escape:
1320 - ../scripts/vpp/check_crc.sh
1321 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1324 - fdio-infra-shiplogs:
1325 maven-version: 'mvn36'
1326 # [end] VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1327 # [end] JOB TEMPLATE DEFINITIONS