5 if [[ ${GERRIT_EVENT_TYPE} == 'comment-added' ]]; then
6 TRIGGER=`echo ${GERRIT_EVENT_COMMENT_TEXT} \
7 | grep -oE '(perftest$|perftest[[:space:]].+$)'`
12 # grep to see where minion is running
13 grep search /etc/resolv.conf || true
15 # Export test tags as string.
16 export TEST_TAG_STRING=${TRIGGER#$"perftest"}
18 # execute csit bootstrap script if it exists
19 if [ ! -e bootstrap-verify-perf.sh ]
21 echo 'ERROR: No bootstrap-verify-perf.sh found'
25 # make sure that bootstrap-verify-perf.sh is executable
26 chmod +x bootstrap-verify-perf.sh
28 ./bootstrap-verify-perf.sh
30 # vim: ts=4 ts=4 sts=4 et :