--- - project: name: vpp jobs: - 'vpp-verify-{stream}-{os}' - 'vpp-merge-{stream}-{os}' project: 'vpp' os: - ubuntu1804: repo-os-part: 'ubuntu.bionic.main' - centos7: repo-os-part: 'centos7' stream: - master: branch: 'master' repo-stream-part: 'master' - '1904': branch: 'stable/1904' repo-stream-part: 'stable.1904' - '1908': branch: 'stable/1908' repo-stream-part: 'stable.1908' - '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 jobs: - 'vpp-verify-{stream}-clang' - 'vpp-coverity-{stream}' project: 'vpp' os: - ubuntu1804: repo-os-part: 'ubuntu.bionic.main' - centos7: repo-os-part: 'centos7' - opensuse: repo-os-part: 'opensuse' stream: - master: branch: 'master' repo-stream-part: 'master' - project: name: vpp-misc jobs: - 'vpp-checkstyle-verify-{stream}' project: 'vpp' stream: - master: branch: 'master' repo-stream-part: 'master' - '1901': branch: 'stable/1901' repo-stream-part: 'stable.1901' - '1904': branch: 'stable/1904' repo-stream-part: 'stable.1904' - '1908': branch: 'stable/1908' repo-stream-part: 'stable.1908' - '2001': branch: 'stable/2001' repo-stream-part: 'stable.2001' os: ubuntu1804 - project: name: vpp-perpatch jobs: - 'vpp-csit-verify-device-{stream}-{device-node-arch}' - 'vpp-csit-verify-perf-{stream}-{node-arch}' project: 'vpp' os: ubuntu1804 device-executor: 'vpp-csit-device' executor: '{os}-us' skip-vote: 'true' trigger: 'gerrit-trigger-vpp-csit-devicetest-full' stream: - master: branch: 'master' repo-stream-part: 'master' - '1904': branch: 'stable/1904' repo-stream-part: 'stable.1904' - '1908': branch: 'stable/1908' repo-stream-part: 'stable.1908' - '2001': branch: 'stable/2001' repo-stream-part: 'stable.2001' device-node-arch: - 1n-skx - 1n-tx2: device-executor: 'vpp-csit-arm-ubuntu18' trigger: 'gerrit-trigger-vpp-csit-devicetest-manual' node-arch: - 2n-clx - 2n-skx - 3n-skx - 3n-hsw - 2n-dnv - 3n-dnv - 3n-tsh: executor: 'ubuntu1804arm-s' exclude: - stream: '1904' os: 'ubuntu1804' device-node-arch: '1n-tx2' - project: name: vpp-older-only jobs: - 'vpp-historic-verify-{stream}-{os}' - 'vpp-historic-merge-{stream}-{os}' project: 'vpp' stream: - '1901': branch: 'stable/1901' repo-stream-part: 'stable.1901' - '1904': branch: 'stable/1904' repo-stream-part: 'stable.1904' - '1908': branch: 'stable/1908' repo-stream-part: 'stable.1908' - '2001': branch: 'stable/2001' repo-stream-part: 'stable.2001' os: - ubuntu1604: repo-os-part: 'ubuntu.xenial.main' - project: name: vpp-arm jobs: - 'vpp-arm-verify-{stream}-{os}' - 'vpp-arm-merge-{stream}-{os}' project: 'vpp' stream: - master: branch: 'master' repo-stream-part: 'master' - '1901': branch: 'stable/1901' repo-stream-part: 'stable.1901' - '1904': branch: 'stable/1904' repo-stream-part: 'stable.1904' - '1908': branch: 'stable/1908' repo-stream-part: 'stable.1908' - '2001': branch: 'stable/2001' repo-stream-part: 'stable.2001' os: - ubuntu1804: repo-os-part: 'ubuntu-arm.bionic.main' # TODO: Merge with (e.g.) vpp-perpatch or similar, # when number of stable branches supported matches. - project: name: vpp-api-crc jobs: - 'vpp-csit-verify-api-crc-{stream}' project: 'vpp' executor: 'vpp-csit-device' skip-vote: 'false' stream: # Only master and LTS branches. - '1908': branch: 'stable/1908' repo-stream-part: 'stable.1908' - master: branch: 'master' os: ubuntu1804 - project: name: vpp-info project-name: vpp jobs: - gerrit-info-yaml-verify build-node: centos7-builder-2c-2g project: vpp branch: master - project: name: vpp-view views: - project-view project-name: vpp - job-template: name: 'vpp-historic-verify-{stream}-{os}' project-type: freestyle node: '{os}-us' concurrent: true archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core' triggers: - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' 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: '75' 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-historic-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: 120 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' - 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-arm-verify-{stream}-{os}' project-type: freestyle node: '{os}arm-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-trigger-checkstyle: name: '{project}' branch: '{branch}' builders: - shell: !include-raw-escape: - ../scripts/setup_vpp_ubuntu_arm_test.sh - shell: !include-raw-escape: - ../scripts/setup_vpp_dpdk_dev_env.sh - shell: !include-raw-escape: - ../scripts/vpp/parallel-vars.sh # Do not split, the line below wants env vars from the line above. - ../scripts/vpp/arm-build.sh publishers: - fdio-infra-shiplogs: maven-version: 'mvn36' - job-template: name: 'vpp-arm-merge-{stream}-{os}' project-type: freestyle node: '{os}arm-m' 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: 120 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' - shell: !include-raw-escape: - ../scripts/setup_vpp_ubuntu_arm_test.sh - shell: !include-raw-escape: - ../scripts/setup_vpp_dpdk_dev_env.sh - shell: !include-raw-escape: - ../scripts/vpp/parallel-vars.sh # Do not split, the line below wants env vars from the line above. - ../scripts/vpp/arm-build-no-test.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-checkstyle-verify-{stream}' project-type: freestyle node: '{os}-us' concurrent: true archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core' build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' 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}.ubuntu.bionic.main' scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit: server-name: 'Primary' trigger-on: - patchset-created-event: exclude-drafts: 'true' exclude-trivial-rebase: 'false' exclude-no-code-change: 'false' - 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' # Following two are to cover missing functions of drafts going to review status - comment-added-contains-event: comment-contains-value: 'runtest' - comment-added-contains-event: comment-contains-value: 'This change is ready for review' 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 # yamllint disable-line rule:line-length notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.' # yamllint disable-line rule:line-length failed-message: 'Checkstyle failed. No further verify jobs will be started.' successful-message: 'checkstyle_success' skip-vote: successful: true failed: false unstable: false notbuilt: false builders: - shell: !include-raw-escape: - ../scripts/vpp/checkstyle.sh - shell: !include-raw-escape: - ../scripts/vpp/test-checkstyle.sh - shell: !include-raw-escape: - ../scripts/vpp/commitmsg.sh publishers: - fdio-infra-shiplogs: maven-version: 'mvn36' - 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-trigger-manually-triggered: comment-trigger-value: 'betacheck' name: '{project}' branch: '{branch}' 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}' 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-trigger-checkstyle: name: '{project}' branch: '{branch}' 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}-clang' project-type: freestyle node: 'ubuntu1804-us' concurrent: true archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core' build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - os-parameter: os: 'ubuntu1804' - repo-name-parameter: repo-name: '{repo-stream-part}.ubuntu.bionic.main' - stream-parameter: stream: '{stream}' scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit-trigger-checkstyle: name: '{project}' branch: '{branch}' 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/clang-build.sh publishers: - fdio-infra-shiplogs: maven-version: 'mvn36' - job-template: name: 'vpp-coverity-{stream}' project-type: freestyle node: 'ubuntu1804-us' concurrent: true archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core' build-discarder: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - project-parameter: project: '{project}' - gerrit-parameter: branch: '{branch}' - os-parameter: os: 'ubuntu1804' - repo-name-parameter: repo-name: '{repo-stream-part}.ubuntu.bionic.main' - stream-parameter: stream: '{stream}' scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' refspec: '' choosing-strategy: 'gerrit' wrappers: - fdio-infra-wrappers: build-timeout: '{build-timeout}' triggers: - timed: '0 14 * * *' builders: - shell: command: !include-raw-escape: ../scripts/vpp/coverity.sh unstable-return: 42 publishers: - email-ext: # yamllint disable-line rule:line-length recipients: 'ejk@cisco.com' reply-to: '' content-type: 'text' subject: 'Coverity run passing as of $BUILD_TIMESTAMP' # yamllint disable-line rule:line-length body: | Coverity run passing. ${{FILE,path="output.txt"}} failure: false success: true - email-ext: # yamllint disable-line rule:line-length recipients: 'ejk@cisco.com' reply-to: '' content-type: 'text' subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP' # yamllint disable-line rule:line-length body: | Coverity run UNSTABLE. Something went wrong with daily scan. failure: false unstable: true - email-ext: # yamllint disable-line rule:line-length recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com' reply-to: '' content-type: 'text' subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP' # yamllint disable-line rule:line-length body: | Coverity run failed today. ${{FILE,path="output.txt"}} failure: true - email-ext: # yamllint disable-line rule:line-length recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com' reply-to: '' content-type: 'text' subject: 'Coverity run as of $BUILD_TIMESTAMP' # yamllint disable-line rule:line-length body: | Coverity run fixed today. ${{FILE,path="output.txt"}} failure: false fixed: true - fdio-infra-shiplogs: maven-version: 'mvn36' - job-template: name: 'vpp-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-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' - 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-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-trigger-manually-triggered: comment-trigger-value: 'betamerge' name: '{project}' branch: '{branch}' 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: |