CIMANAGE-5: csit-vpp-verify-weekly scheduled job 57/1057/4
authorJan Gelety <jgelety@cisco.com>
Tue, 10 May 2016 21:15:28 +0000 (23:15 +0200)
committerJan Gelety <jgelety@cisco.com>
Fri, 13 May 2016 13:00:59 +0000 (15:00 +0200)
- test csit master branch against verified vpp build
- in case of success apply csit-verified tag to csit test cases
- sheduled to run every Sunday at 04:00 UTC
- manual trigger possible too

Change-Id: I1db550f0770681991fa1be0fa72533637ba41257
Signed-off-by: Jan Gelety <jgelety@cisco.com>
jjb/csit/csit-vpp-functional.yaml
jjb/csit/include-raw-csit-vpp-verify-master.sh [deleted file]
jjb/csit/include-raw-csit-vpp-verify-weekly.sh [new file with mode: 0644]

index 7e1ff5c..728d3f5 100644 (file)
@@ -5,7 +5,7 @@
     jobs:
         - 'csit-vpp-perf-hw-{type}'
         - 'csit-vpp-functional-virl'
-        - 'csit-vpp-master-verify-weekly'
+        - 'csit-vpp-verify-weekly'
 
     project: 'csit'
     branch: 'master'
             output-path: ''
 
 - job-template:
-    name: 'csit-vpp-master-verify-weekly'
+    name: 'csit-vpp-verify-weekly'
 
     project-type: freestyle
     node: verify
                 - '{ssh-credentials}'
 
     triggers:
-        - timed: 'H H * * 0'
+        - timed: '0 4 * * 0'
 
         - gerrit-trigger-manually-triggered:
-            comment-trigger-value: 'csit-weekly-verify'
+            comment-trigger-value: 'csit-vpp-ref-verify'
             name: '{project}'
             branch: '{branch}'
 
     builders:
         - shell:
-            !include-raw-escape jjb/csit/include-raw-csit-vpp-verify-master.sh
+            !include-raw-escape jjb/csit/include-raw-csit-vpp-verify-weekly.sh
 
     publishers:
         - archive-artifacts:
diff --git a/jjb/csit/include-raw-csit-vpp-verify-master.sh b/jjb/csit/include-raw-csit-vpp-verify-master.sh
deleted file mode 100644 (file)
index 8f5d005..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-# execute csit bootstrap script if it exists
-if [ -e bootstrap-verify-master.sh ]
-then
-    # make sure that bootstrap.sh is executable
-    chmod +x bootstrap-verify-master.sh
-    # run the script
-    ./bootstrap-verify-master.sh
-else
-    echo 'ERROR: No bootstrap-verify-master.sh found'
-    exit 1
-fi
-
-# vim: ts=4 ts=4 sts=4 et :
diff --git a/jjb/csit/include-raw-csit-vpp-verify-weekly.sh b/jjb/csit/include-raw-csit-vpp-verify-weekly.sh
new file mode 100644 (file)
index 0000000..6719933
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/bash
+set -xeu -o pipefail
+
+# Clone csit and start tests
+git clone https://gerrit.fd.io/r/csit --branch master
+
+cd csit
+
+# execute csit bootstrap script if it exists
+if [ -e bootstrap-vpp-verify-weekly.sh ]
+then
+    # make sure that bootstrap.sh is executable
+    chmod +x bootstrap-vpp-verify-weekly.sh
+    # run the script
+    ./bootstrap-vpp-verify-weekly.sh
+else
+    echo 'ERROR: No bootstrap-verify-master.sh found'
+    exit 1
+fi
+
+# vim: ts=4 ts=4 sts=4 et :