Gate: Set tests to run only if a deployment of OSH is performed

This PS updates the gate script to only run tests of OSH if it is
actually deployed.

Change-Id: Iaf89bbfffb01ca3c7ba7bfc5b5867794c6bfd5e8
This commit is contained in:
Pete Birley 2017-08-10 09:40:14 -05:00
parent c4050ba375
commit 920cb9aae5

View File

@ -88,9 +88,11 @@ elif [ "x$INTEGRATION_TYPE" == "xarmada" ]; then
bash ${WORK_DIR}/tools/gate/armada_launch.sh
fi
# Run Basic Funtional Full Stack Intergation Tests
if [ "x$INTEGRATION" == "xaio" ]; then
bash ${WORK_DIR}/tools/gate/openstack_aio_launch.sh
if ! [ "x$INTEGRATION_TYPE" == "x" ]; then
# Run Basic Full Stack Tests
if [ "x$INTEGRATION" == "xaio" ]; then
bash ${WORK_DIR}/tools/gate/openstack_aio_launch.sh
fi
# Collect all logs from the environment
bash ${WORK_DIR}/tools/gate/dump_logs.sh 0
fi
bash ${WORK_DIR}/tools/gate/dump_logs.sh 0