This makes it possible to run the script with different "flavors" of
"dsvm-functional" and "dsvm-fullstack". In particular, this is needed to
have a dsvm-functional-py34 gate running (see
https://review.openstack.org/#/c/233177/).
Change-Id: I38cadeecff6a8c0c55c103095c045a3e0c39bee1
Partial-Bug: #
1500400
sudo mv ./*.gz /opt/stack/logs/
fi
- if [ "$venv" == "dsvm-functional" ] || [ "$venv" == "dsvm-fullstack" ]
+ if [[ "$venv" == dsvm-functional* ]] || [[ "$venv" == dsvm-fullstack* ]]
then
generate_test_logs "/tmp/${venv}-logs"
fi
}
-if [ "$venv" == "dsvm-functional" ] || [ "$venv" == "dsvm-fullstack" ]
+if [[ "$venv" == dsvm-functional* ]] || [[ "$venv" == dsvm-fullstack* ]]
then
owner=stack
sudo_env=