Merge "Switch DMM job to manual trigger"
[ci-management.git] / jjb / csit / include-raw-csit-vpp-perf-check.sh
1 #!/bin/bash
2
3 TRIGGER=`echo ${GERRIT_EVENT_COMMENT_TEXT} \
4     | grep -oE 'verify-perf-(ndrdisc|pdrdisc|mrr)' \
5     | awk '{print toupper($0)}'`
6 export TEST_TAG=${TRIGGER}
7
8 # execute csit bootstrap script if it exists
9 if [ ! -e bootstrap-verify-perf.sh ]
10 then
11     echo 'ERROR: No bootstrap-verify-perf.sh found'
12     exit 1
13 fi
14
15 # make sure that bootstrap-verify-perf.sh is executable
16 chmod +x bootstrap-verify-perf.sh
17 # run the script
18 ./bootstrap-verify-perf.sh
19
20 # vim: ts=4 ts=4 sts=4 et :