Merge "CSIT-682 Usage of make-verify for vpp-csit-verify jobs"
[ci-management.git] / jjb / vpp / include-raw-vpp-csit-verify-perf.sh
index 965ded9..4a7480a 100644 (file)
@@ -1,7 +1,10 @@
 #!/bin/bash
 set -xeu -o pipefail
 
-export TEST_TAG="PERFTEST_${TYPE^^}"
+TRIGGER=`echo ${GERRIT_EVENT_COMMENT_TEXT} \
+    | grep -oE 'vpp-verify-perf-(l2|ip4|ip6|lisp|vxlan|vhost)' \
+    | awk '{print toupper($0)}'`
+export TEST_TAG=${TRIGGER}
 
 # Get CSIT branch from which to test from
 # running build-root/scripts/csit-test-branch
@@ -20,6 +23,13 @@ if [ $? != 0 ]; then
 fi
 
 cp build-root/*.deb csit/
+if [ -e dpdk/vpp-dpdk-dkms*.deb ]
+then
+    cp dpdk/vpp-dpdk-dkms*.deb csit/
+else
+    cp /var/cache/apt/archives/vpp-dpdk-dkms*.deb csit/
+fi
+
 cd csit
 # execute csit bootstrap script if it exists
 if [ ! -e bootstrap-verify-perf.sh ]