From 2a9df0d59f2f1c25c20a87ed98ca7ac7c02a0e0f Mon Sep 17 00:00:00 2001 From: Ed Kern Date: Fri, 7 Feb 2020 12:22:47 -0700 Subject: [PATCH] VPP: add ubuntu20 and centos8 as manual beta Adding in centos8 and ubuntu20.04 as manual regex triggered verify jobs Change-Id: Id87f6e42dbd8137ec5747f0a0340c05001d7cc42 Signed-off-by: Ed Kern --- jjb/vpp/vpp.yaml | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 1b08c06f0..9f8975082 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -25,6 +25,23 @@ - '2001': branch: 'stable/2001' repo-stream-part: 'stable.2001' +- project: + name: vpp-beta + jobs: + - 'vpp-beta-verify-{stream}-{os}' + - 'vpp-beta-merge-{stream}-{os}' + + project: 'vpp' + os: + - ubuntu2004: + repo-os-part: 'ubuntu.focal.main' + - centos8: + repo-os-part: 'centos8' + + stream: + - master: + branch: 'master' + repo-stream-part: 'master' - project: name: vpp-clang @@ -580,6 +597,67 @@ max-failed-builds: 1 fixed-delay: 90 +- job-template: + name: 'vpp-beta-verify-{stream}-{os}' + + project-type: freestyle + node: '{os}-us' + concurrent: true + archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core' + + build-discarder: + 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}' + - repo-name-parameter: + repo-name: '{repo-stream-part}.{repo-os-part}' + - stream-parameter: + stream: '{stream}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + + wrappers: + - fdio-infra-wrappers: + build-timeout: 120 + + triggers: + - gerrit: + server-name: 'Primary' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'betacheck' + builders: + - shell: + !include-raw-escape: + - ../scripts/setup_vpp_ubuntu_docker_test.sh + - shell: + !include-raw-escape: + - ../scripts/setup_vpp_dpdk_dev_env.sh + - shell: + !include-raw-escape: + - ../scripts/vpp/build.sh + + publishers: + - fdio-infra-shiplogs: + maven-version: 'mvn36' + - job-template: name: 'vpp-verify-{stream}-{os}' @@ -886,6 +964,86 @@ max-failed-builds: 1 fixed-delay: 90 +- job-template: + name: 'vpp-beta-merge-{stream}-{os}' + + project-type: freestyle + node: '{os}-us' + + build-discarder: + 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}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. + + scm: + - gerrit-trigger-scm: + credentials-id: 'jenkins-gerrit-credentials' + refspec: '' + choosing-strategy: 'default' + + wrappers: + - fdio-infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit: + server-name: 'Primary' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'betamerge' + builders: + - config-file-provider: + files: + - file-id: '.packagecloud' + target: '/root' + - config-file-provider: + files: + - file-id: 'packagecloud_api' + target: '/root' + - shell: + !include-raw-escape: + - ../scripts/vpp/checkstyle.sh + - shell: + !include-raw-escape: + - ../scripts/setup_vpp_ubuntu_docker_test.sh + - shell: + !include-raw-escape: + - ../scripts/setup_vpp_dpdk_dev_env.sh + - shell: + !include-raw-escape: + - ../scripts/vpp/build.sh + - provide-maven-settings: + settings-file: 'vpp-settings' + global-settings-file: 'global-settings' + - shell: + !include-raw-escape: + - ../scripts/packagecloud_push.sh + + publishers: + - fdio-infra-shiplogs: + maven-version: 'mvn36' + - job-template: name: 'vpp-csit-verify-device-{stream}-{device-node-arch}' description: | -- 2.16.6