apex, cperf: Adds cperf job to Apex 63/15663/8
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 15 Jun 2016 21:33:48 +0000 (14:33 -0700)
committerTim Rozet <trozet@redhat.com>
Thu, 14 Jul 2016 14:12:14 +0000 (10:12 -0400)
New job allows execution of deployment + cperf test on intel-pod2.  Job
will automatically pull the latest RPM by default but can be overridden
in jenkins.  Once we validate this job works, we can add it to be part
of the daily.

Change-Id: I8ecd4cc175e206e9ff2d8798530a5fabf3d47cfc
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Marcus G. K. Williams <marcus.williams@intel.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex.yml

index 3ba8842..edc669e 100644 (file)
                 failure-threshold: 'never'
                 unstable-threshold: 'FAILURE'
 
+- job-template:
+    name: 'apex-runner-cperf-{stream1}'
+
+    # runner cperf job
+
+    node: 'intel-pod2'
+
+    disabled: false
+
+    parameters:
+        - apex-parameter:
+            gs-pathname: '{gs-pathname}'
+        - project-parameter:
+            project: '{project}'
+        - gerrit-parameter:
+            branch: '{branch}'
+        - string:
+            name: GIT_BASE
+            default: https://gerrit.opnfv.org/gerrit/$PROJECT
+            description: "Used for overriding the GIT URL coming from parameters macro."
+
+    scm:
+        - gerrit-trigger-scm:
+            credentials-id: '{ssh-credentials}'
+            refspec: ''
+            choosing-strategy: 'default'
+
+    properties:
+        - build-blocker:
+            use-build-blocker: false
+            block-level: 'NODE'
+            blocking-jobs:
+                - 'apex-deploy.*{stream}'
+        - throttle:
+            max-per-node: 1
+            max-total: 10
+            option: 'project'
+
+    builders:
+        - trigger-builds:
+          - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
+            predefined-parameters:
+              OPNFV_CLEAN=yes
+            git-revision: false
+            block: true
+        - trigger-builds:
+          - project: 'cperf-apex-intel-pod2-daily-{stream1}'
+            predefined-parameters:
+              DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
+            block: true
+            same-node: true
+
 - job-template:
     name: 'apex-build-{stream}'