3 # Parse optional arguments from gerrit comment trigger
4 for i in ${GERRIT_EVENT_COMMENT_TEXT}; do
7 hc_version=`echo "${i}" | cut -d = -f2-`
14 # If HC variable is set, check honeycomb version.
15 if [[ -n "${hc_version}" ]]; then
16 if [[ "${hc_version}" == *"-release" ]]; then
17 # we are going to test release build. All release
18 # packages should be already present in release repo
20 echo "STREAM set to: ${STREAM}"
24 # execute csit bootstrap script if it exists
25 if [[ ! -e bootstrap-hc2vpp-integration.sh ]]
27 echo 'ERROR: No bootstrap-hc2vpp-integration.sh found'
30 # make sure that bootstrap.sh is executable
31 chmod +x bootstrap-hc2vpp-integration.sh
33 ./bootstrap-hc2vpp-integration.sh ${STREAM} ${OS}
36 # vim: ts=4 ts=4 sts=4 et :