X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fcsit%2Fcsit-vpp-device.yaml;h=cb5a9b245646ba6898a762dc03d39141d7cb394c;hb=HEAD;hp=8fc37e84daac4dbde2e73ffd96ddb8398676cb6b;hpb=ae77b676266ab77ded9b5bbbc79627b5af6dfcbf;p=ci-management.git diff --git a/jjb/csit/csit-vpp-device.yaml b/jjb/csit/csit-vpp-device.yaml index 8fc37e84d..cb5a9b245 100644 --- a/jjb/csit/csit-vpp-device.yaml +++ b/jjb/csit/csit-vpp-device.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -15,42 +15,26 @@ - project: name: csit-vpp-device description: 'CSIT jenkins jobs.' + jobs: + - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}' + - 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}' + - 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}' + - 'csit-vpp-device-report-coverage-{stream}-{node-arch}': + stream: + - '2406': + branch: 'rls2406' + branch-id: 'oper-rls2406' node-arch: - - '1n-skx': - os: 'ubuntu2004' - executor-arch: 'x86_64' + - '1n-alt': + os: 'ubuntu2204' + executor-arch: 'aarch64' make-parallel-jobs: '32' skip-vote: 'false' - - '1n-tx2': - os: 'ubuntu2004' - executor-arch: 'aarch64' + - '1n-spr': + os: 'ubuntu2204' + executor-arch: 'x86_64' make-parallel-jobs: '32' skip-vote: 'true' - jobs: - - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}' - - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly': - stream: - - master: - branch: 'master' - branch-id: 'oper' - - '2106': - branch: 'rls2106' - branch-id: 'oper-rls2106' - - '2110': - branch: 'rls2110' - branch-id: 'oper-rls2110' - - 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly': - stream: - - master: - branch: 'master' - branch-id: 'oper' - - '2106': - branch: 'rls2106' - branch-id: 'oper-rls2106' - - '2110': - branch: 'rls2110' - branch-id: 'oper-rls2110' - project: 'csit' branch: 'master' branch-id: 'oper' @@ -58,12 +42,65 @@ - master: branch: 'master' branch-id: 'oper' - - '2106': - branch: 'rls2106' - branch-id: 'oper-rls2106' - - '2110': - branch: 'rls2110' - branch-id: 'oper-rls2110' + - '2406': + branch: 'rls2406' + branch-id: 'oper-rls2406' + +- job-template: + name: 'csit-vpp-device-report-coverage-{stream}-{node-arch}' + + project-type: freestyle + node: 'csit-builder-{os}-prod-{executor-arch}' + concurrent: true + latest-only: false + + properties: + - lf-infra-properties: + build-days-to-keep: "{build-days-to-keep}" + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - make-parallel-jobs-parameter: + make-parallel-jobs: '{make-parallel-jobs}' + - os-parameter: + os: '{os}' + - gerrit-refspec-parameter: + refspec: '$GERRIT_REFSPEC' + - gerrit-event-type-parameter + - gerrit-event-comment-text-parameter + - csit-fail-on-crc-mismatch-parameter: + fail-on-crc-mismatch: 'True' + + 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-csit-perftest: + project: '{project}' + branch: '{branch}' + trigger-word: 'csit-vpp-report-dev-{node-arch}' + skip-vote: false + + builders: + - shell: + !include-raw-escape: + - ../scripts/setup_executor_env.sh + - shell: + !include-raw-escape: + - ../scripts/csit/device-verify.sh + + publishers: + - fdio-infra-publish - job-template: name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}' @@ -86,7 +123,8 @@ make-parallel-jobs: '{make-parallel-jobs}' - os-parameter: os: '{os}' - - gerrit-refspec-parameter + - gerrit-refspec-parameter: + refspec: '$GERRIT_REFSPEC' - gerrit-event-type-parameter - gerrit-event-comment-text-parameter # This is an automatic verify job, part of API coverage. @@ -123,7 +161,7 @@ - fdio-infra-publish - job-template: - name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-semiweekly' + name: 'csit-vpp-device-semiweekly-{stream}-{os}-{executor-arch}-{node-arch}' project-type: freestyle node: 'csit-builder-{os}-prod-{executor-arch}' @@ -171,7 +209,7 @@ - fdio-infra-publish - job-template: - name: 'csit-vpp-device-{stream}-{os}-{executor-arch}-{node-arch}-weekly' + name: 'csit-vpp-device-weekly-{stream}-{os}-{executor-arch}-{node-arch}' project-type: freestyle node: 'csit-builder-{os}-prod-{executor-arch}'