X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fvpp%2Fvpp.yaml;h=3221c610e4d1ca6557267da420f60c176f823b30;hb=827ae3f768fa42c9439a51546caa98985ba812b6;hp=c5272681bf5354fa2da164ac764f9e19a195b445;hpb=7034e35a01bd683da3eb28134e6b756eb9a1a7c3;p=ci-management.git diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index c5272681b..3221c610e 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -15,8 +15,6 @@ repo-os-part: 'ubuntu.xenial.main' - centos7: repo-os-part: 'centos7' - - opensuse: - repo-os-part: 'opensuse' stream: - master: @@ -28,6 +26,9 @@ - '1804': branch: 'stable/1804' repo-stream-part: 'stable.1804' + - '1807': + branch: 'stable/1807' + repo-stream-part: 'stable.1807' type: - short - long @@ -68,22 +69,27 @@ - '1804': branch: 'stable/1804' repo-stream-part: 'stable.1804' + - '1807': + branch: 'stable/1807' + repo-stream-part: 'stable.1807' os: ubuntu1604 - project: name: vpp-master-only jobs: - 'vpp-beta-verify-{stream}-{os}' + - 'vpp-beta-merge-{stream}-{os}' project: 'vpp' stream: - master: branch: 'master' repo-stream-part: 'master' + - '1807': + branch: 'stable/1807' + repo-stream-part: 'stable.1807' os: - ubuntu1804: repo-os-part: 'ubuntu.bionic.main' - - osleap15: - repo-os-part: 'osleap15' - project: name: vpp-arm @@ -98,6 +104,9 @@ - '1804': branch: 'stable/1804' repo-stream-part: 'stable.1804' + - '1807': + branch: 'stable/1807' + repo-stream-part: 'stable.1807' os: - ubuntu1604: repo-os-part: 'ubuntu-arm.xenial.main' @@ -109,28 +118,9 @@ node: '{os}-us' concurrent: true triggers: - - gerrit: - server-name: 'Primary' - trigger-on: - - patchset-uploaded-event: 'false' - - comment-added-contains-event: - comment-contains-value: 'betacheck' - - comment-added-contains-event: - comment-contains-value: 'checkstyle_success' - projects: - - project-compare-type: 'ANT' - project-pattern: '{project}' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/{branch}' - skip-vote: - successful: true - failed: true - unstable: true - notbuilt: true - override-votes: true - gerrit-build-notbuilt-verified-value: 0 - notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.' + - gerrit-trigger-checkstyle: + name: '{project}' + branch: '{branch}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -163,6 +153,7 @@ !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh - shell: !include-raw-escape: + - ../scripts/setup_vpp_dpdk_dev_env.sh - include-raw-vpp-build.sh publishers: - archive: @@ -179,6 +170,93 @@ max-failed-builds: 1 fixed-delay: 90 +- job-template: + name: 'vpp-beta-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-us' + + logrotate: + daysToKeep: '{build-days-to-keep}' + numToKeep: 100 + artifactDaysToKeep: '{build-artifact-days-to-keep}' + artifactNumToKeep: '{build-artifact-num-to-keep}' + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - os-parameter: + os: '{os}' + - maven-project-parameter: + maven: 'mvn33-new' + - maven-exec: + maven-version: 'mvn33-new' + - stream-parameter: + stream: '{stream}' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-merged: + name: '{project}' + branch: '{branch}' + + builders: + - config-file-provider: + files: + - file-id: '.packagecloud' + target: '/root' + - config-file-provider: + files: + - file-id: 'packagecloud_api' + target: '/root' + - maven-target: + maven-version: 'mvn33-new' + goals: '--version' + settings: 'vpp-settings' + settings-type: cfp + global-settings: 'global-settings' + global-settings-type: cfp + - shell: + !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh + - shell: + !include-raw-escape: + - ../scripts/setup_vpp_dpdk_dev_env.sh + - include-raw-vpp-build.sh + - provide-maven-settings: + settings-file: 'vpp-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh + - shell: + !include-raw-escape: + - ../scripts/maven_push_functions.sh + - include-raw-vpp-maven-push.sh + + + publishers: + - archive: + artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb' + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + - fdio-infra-shiplogs: + maven-version: 'mvn33-new' + - job-template: name: 'vpp-arm-verify-{stream}-{os}' @@ -213,7 +291,7 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-trivial-patch-submitted: + - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' @@ -234,10 +312,6 @@ - fdio-infra-shiplogs: maven-version: 'mvn33-new' archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core' - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - job-template: name: 'vpp-arm-merge-{stream}-{os}' @@ -324,10 +398,6 @@ default-excludes: false - fdio-infra-shiplogs: maven-version: 'mvn33-new' - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - job-template: name: 'vpp-checkstyle-verify-{stream}' @@ -366,14 +436,34 @@ - gerrit: server-name: 'Primary' trigger-on: + - patchset-created-event: + exclude-drafts: 'true' + exclude-trivial-rebase: 'false' + exclude-no-code-change: 'true' + - draft-published-event - comment-added-contains-event: comment-contains-value: 'checkstylecheck' + - comment-added-contains-event: + comment-contains-value: 'docsonly' + - comment-added-contains-event: + comment-contains-value: 'recheck' + - comment-added-contains-event: + comment-contains-value: 'reverify' projects: - project-compare-type: 'ANT' project-pattern: '{project}' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' + file-paths: + - compare-type: REG_EXP + pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$ + forbidden-file-paths: + - compare-type: REG_EXP + pattern: .*docs\/.* + - compare-type: REG_EXP + pattern: .*extras\/emacs\/.* + disable-strict-forbidden-file-verification: 'true' override-votes: true gerrit-build-notbuilt-verified-value: 0 gerrit-build-successful-verified-value: 1 @@ -401,6 +491,8 @@ max-failed-builds: 1 fixed-delay: 90 + + - job-template: name: 'vpp-verify-{stream}-{os}' @@ -435,15 +527,11 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-trivial-patch-submitted: + - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' builders: - - shell: - !include-raw-escape: include-raw-vpp-checkstyle.sh - - shell: - !include-raw-escape: include-raw-vpp-test-checkstyle.sh - shell: !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh - shell: @@ -499,7 +587,7 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-trivial-patch-submitted: + - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' @@ -650,7 +738,7 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-trivial-patch-submitted: + - gerrit-trigger-checkstyle-nonvoting: name: '{project}' branch: '{branch}' @@ -658,9 +746,6 @@ - shell: 'echo "VPP_BRANCH={branch}" > $WORKSPACE/variables.prop' - inject: properties-file: variables.prop - - shell: - !include-raw-escape: - - include-raw-vpp-checkstyle.sh - shell: !include-raw-escape: - ../scripts/setup_vpp_ubuntu_docker_test.sh @@ -726,23 +811,7 @@ server-name: 'Primary' trigger-on: - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-l2' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-ip4' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-ip6' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-lisp' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-vxlan' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-vhost' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-acl' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-memif' - - comment-added-contains-event: - comment-contains-value: 'vpp-verify-perf-ipsechw' + comment-contains-value: 'perftest' projects: - project-compare-type: 'ANT' project-pattern: '{project}' @@ -792,7 +861,7 @@ project-type: freestyle node: ubuntu1604-us - concurrent: true + concurrent: false logrotate: daysToKeep: '{build-days-to-keep}' @@ -821,7 +890,7 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-trivial-patch-submitted: + - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' @@ -972,7 +1041,7 @@ build-timeout: '{build-timeout}' triggers: - - gerrit-trigger-trivial-patch-submitted: + - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' @@ -1087,5 +1156,3 @@ rerun-unstable-builds: false max-failed-builds: 1 fixed-delay: 90 - -