gate-sahara-buildimages-ambari job fix

This job has been failing because we use ubuntu as base image OS
which is not supported in ambari version <= 2.1.1

Change-Id: I5feb11d94435bd48b8116be3986e588fca16f47c
Closes-bug: 1540318
This commit is contained in:
Michael Ionkin 2016-02-01 14:27:13 +03:00
parent d800a99c5b
commit e8e1d771d2
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ case "$PLUGIN" in
sudo rm -rf ~/.cache/image-create
done
;;
# this case is needed until we use ambari version <= 2.1.1
"ambari")
tox -e venv -- sahara-image-create -x -u -p $PLUGIN -i "centos"
;;
*)
tox -e venv -- sahara-image-create -x -u -p $PLUGIN
;;