Remove running of CLI tests on commit to mistral repo

We do not need to run CLI tests on every commit to the
main mistral repository.

Partial implements: blueprint mistral-making-dsvm-gates-voting

Change-Id: I05107ba67c2cd94a50ff6963ea69f5cf29e5cd5e
This commit is contained in:
Anastasia Kuznetsova 2015-11-26 11:46:17 +03:00 committed by Nikolay Mahotkin
parent c578969b55
commit b9c7f66345

View File

@ -18,24 +18,10 @@
RETVAL=0 RETVAL=0
sudo chmod -R a+rw /opt/stack/new/ sudo chmod -R a+rw /opt/stack/new/
cd /opt/stack/new/ cd /opt/stack/new/mistral
echo "Repository: $ZUUL_PROJECT" echo "Running Mistral API tests"
#Run API tests only for mistral repository
if [[ "$ZUUL_PROJECT" == "openstack/mistral" ]]; then
cd mistral/
echo "Run mistral API tests"
./functionaltests/run_tests.sh ./functionaltests/run_tests.sh
RETVAL=$? RETVAL=$?
fi
#Run client tests for both repositories: mistral and python-mistralclient
if [[ RETVAL -eq 0 ]]; then
cd /opt/stack/new/python-mistralclient/
echo "Run mistralclient tests"
./functionaltests/run_tests.sh
RETVAL=$?
fi
exit $RETVAL exit $RETVAL