Create a yardstick daily job to run on yardstick ericsson pod 49/3349/2
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 17 Nov 2015 15:35:34 +0000 (16:35 +0100)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 17 Nov 2015 22:36:49 +0000 (22:36 +0000)
Other changes are
- job for foreman is removed.
- stable/arno is removed.
- cron trigger for job on lf commented out to make it possible
to use macro.

Change-Id: Ib498a3daa2b5689446be2f3ea7352f995666d9ee
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/yardstick/yardstick.yml

index 50369ce..7c40096 100644 (file)
@@ -1,18 +1,23 @@
 - project:
     name: yardstick
 
-    installer:
-        - fuel:
+    project: 'yardstick'
+
+    pod:
+        - lf:
             node: 'opnfv-jump-2'
             installer_type: 'fuel'
             installer_ip: '10.20.0.2'
-        - foreman:
-            node: 'opnfv-jump-2'
-            installer_type: 'foreman'
-            installer_ip: '172.30.10.73'
+        - ericsson:
+            node: 'yardstick-pod'
+            installer_type: 'fuel'
+            installer_ip: '10.20.0.2'
+
+    installer:
+        - fuel
 
     jobs:
-        - 'yardstick-{installer}-{stream}'
+        - 'yardstick-{installer}-{pod}-{stream}'
         - 'yardstick-merge'
         - 'yardstick-verify'
 
     stream:
         - master:
             branch: 'master'
-        - stable-arno:
-            branch: 'stable/arno'
-            gs-pathname: '/arno'
-
-    project: 'yardstick'
 
 - job-template:
     name: 'yardstick-verify'
             deactivate
 
 - job-template:
-    name: 'yardstick-{installer}-{stream}'
+    name: 'yardstick-{installer}-{pod}-{stream}'
 
     project-type: freestyle
 
         artifactDaysToKeep: -1
         artifactNumToKeep: -1
 
+    triggers:
+        - 'yardstick-trigger-{pod}'
+
     builders:
         - 'yardstick-fetch-os-creds'
         - 'yardstick-daily'
     builders:
         - shell:
             !include-raw ../../utils/fetch_os_creds.sh
+
+########################
+# trigger macros
+########################
+- trigger:
+    name: yardstick-trigger-ericsson
+    triggers:
+        timed: "@midnight"
+
+- trigger:
+    name: yardstick-trigger-lf
+    triggers:
+        timed: "#@midnight"