deb_dpdk: add new 18.08.x branch
[ci-management.git] / jjb / csit / csit.yaml
index 368149f..632b30c 100644 (file)
@@ -37,6 +37,7 @@
         - 'csit-report-merge-1801_2'
         - 'csit-trending-daily-master'
         - 'csit-dpdk-perf-{stream}-{type}'
+        - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
         - 'csit-dpdk-perf-mrr-weekly-master'
         - 'csit-ligato-perf-{stream}-{type}'
         - 'csit-vpp-perf-{stream}-{type}'
@@ -47,7 +48,7 @@
         - 'csit-nsh_sfc-verify-perf-{stream}'
         - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
         - 'csit-tldk-verify-func-{stream}-{os}-virl'
-        - 'csit-dmm-functional-{stream}-{os}-virl'
+        - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
 
     project: 'csit'
     branch: 'master'
@@ -59,6 +60,9 @@
         - master:
             branch: 'master'
             branch-id: 'oper'
+        - '1807':
+            branch: 'rls1807'
+            branch-id: 'oper-rls1807'
     stream:
         - master:
             branch: 'master'
@@ -75,6 +79,9 @@
         - '1804':
             branch: 'rls1804'
             branch-id: 'oper-rls1804'
+        - '1807':
+            branch: 'rls1807'
+            branch-id: 'oper-rls1807'
 
 
 - job-template:
         - fdio-infra-shiplogs:
             maven-version: 'mvn33-new'
 
+- job-template:
+    name: 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
+
+    description: |
+      <ul>
+          <li>objective
+              <ul>
+                  <li>perf verify - per csit gerrit patch
+              </ul>
+          <li>job
+              <ul>
+                  <li>name: <b>csit-dpdk-perf-verify-{stream}-{topo}-{arch}</b>
+                  <li>trigger: keyword in comment to csit patch:
+                      <b>csit-dpdk-{topo}-{arch}-perftest tag_list</b>
+              </ul>
+          <li>perf test-cases selection
+              <ul>
+                  <li>test-cases selected using trigger keyword followed by tags
+                  <li>all test-cases are labelled with CSIT RF topic tags
+                      defined in <i>csit/docs/tag_documentation.rst</i>
+              </ul>
+          <li>default tags for dpdk perf test type
+              <ul>
+                  <li>IP4BASE, L2XCBASE
+                  <li>64B: 64B packet size
+                  <li>1C: one core
+                  <li>X710: x710 Fortville NIC
+                  <li>MRR: MRR throughput
+              </ul>
+          <li>results
+              <ul>
+                  <li>jjb verify: PASS/FAIL
+                  <li>present: no
+                  <li>analyse: no
+              </ul>
+      </ul>
+
+    project-type: freestyle
+    node: 'ubuntu1604-basebuild-4c-4g'
+    concurrent: true
+
+    logrotate:
+        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}'
+
+    scm:
+        - gerrit-trigger-scm:
+            credentials-id: 'jenkins-gerrit-credentials'
+            refspec: '$GERRIT_REFSPEC'
+            choosing-strategy: 'gerrit'
+
+    wrappers:
+        - fdio-infra-wrappers-non-activity-timeout:
+            build-timeout: '{build-timeout}'
+
+    triggers:
+        - gerrit:
+            server-name: 'Primary'
+            trigger-on:
+                - comment-added-contains-event:
+                    comment-contains-value: 'csit-dpdk-{topo}-{arch}-perftest'
+            projects:
+              - project-compare-type: 'ANT'
+                project-pattern: '{project}'
+                branches:
+                  - branch-compare-type: 'ANT'
+                    branch-pattern: '**/{branch}'
+            skip-vote:
+                successful: false
+                failed: false
+                unstable: false
+                notbuilt: false
+
+    builders:
+        - shell:
+            !include-raw-escape: jjb/csit/include-raw-csit-dpdk-perf-verify.sh
+
+    publishers:
+        - archive-artifacts:
+            artifacts: 'archive/*.*'
+            latest-only: false
+
+        - robot:
+            output-path: archive
+            other-files:
+              - '*.*'
+
+        - fdio-infra-shiplogs:
+            maven-version: 'mvn33-new'
+
 - job-template:
     name: 'csit-vpp-perf-{stream}-{type}'
 
             build-timeout: '{build-timeout}'
 
     triggers:
-        - timed: '0 2,16 * * *'
+        # - timed: '0 2,16 * * *'
+        - timed: '0 16 * * 1,3,5'
 
     builders:
         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
                   <li>analyse: no
               </ul>
       </ul>
+
     project-type: freestyle
-    node: 'ubuntu1604-basebuild-4c-4g'
-    concurrent: false
+    node: 'ubuntu1604-basebuild-8c-32g'
+    concurrent: true
 
     logrotate:
         daysToKeep: '{build-days-to-keep}'
             maven-version: 'mvn33-new'
 
 - job-template:
-    name: 'csit-dmm-functional-{stream}-{os}-virl'
+    name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
 
     project-type: freestyle
-    node: '{os}-basebuild-4c-4g'
+    node: 'ubuntu1604-basebuild-4c-4g'
     concurrent: true
 
     logrotate: