Fix zaqar client gate
It's related to devstack bug bug: 1540328, where devstack install 'test-requirements' but should not do it for zaqar-ui project as it installs Horizon from url. Remove following two 'mv' commands when mentioned bug is fixed. Change-Id: Ib4d0abe3b083d996556f615943d3b1185c9f882a
This commit is contained in:
parent
aa0889a1c1
commit
7fb030e6de
@ -203,11 +203,17 @@ function install_zaqar {
|
|||||||
|
|
||||||
function install_zaqarui {
|
function install_zaqarui {
|
||||||
git_clone $ZAQARUI_REPO $ZAQARUI_DIR $ZAQARUI_BRANCH
|
git_clone $ZAQARUI_REPO $ZAQARUI_DIR $ZAQARUI_BRANCH
|
||||||
|
# NOTE(flwang): Workaround for devstack bug: 1540328
|
||||||
|
# where devstack install 'test-requirements' but should not do it
|
||||||
|
# for zaqar-ui project as it installs Horizon from url.
|
||||||
|
# Remove following two 'mv' commands when mentioned bug is fixed.
|
||||||
|
mv $ZAQARUI_DIR/test-requirements.txt $ZAQARUI_DIR/_test-requirements.txt
|
||||||
setup_develop $ZAQARUI_DIR
|
setup_develop $ZAQARUI_DIR
|
||||||
|
mv $ZAQARUI_DIR/_test-requirements.txt $ZAQARUI_DIR/test-requirements.txt
|
||||||
ln -fs $ZAQARUI_DIR/zaqar_ui/enabled/_1510_project_messaging_group.py $HORIZON_DIR/openstack_dashboard/local/enabled/_1510_project_messaging_group.py
|
ln -fs $ZAQARUI_DIR/zaqar_ui/enabled/_1510_project_messaging_group.py $HORIZON_DIR/openstack_dashboard/local/enabled/_1510_project_messaging_group.py
|
||||||
ln -fs $ZAQARUI_DIR/zaqar_ui/enabled/_1520_project_queues.py $HORIZON_DIR/openstack_dashboard/local/enabled/_1520_project_queues.py
|
ln -fs $ZAQARUI_DIR/zaqar_ui/enabled/_1520_project_queues.py $HORIZON_DIR/openstack_dashboard/local/enabled/_1520_project_queues.py
|
||||||
if [ -d $ZAQARUI_DIR/zaqar_ui/locale ]; then
|
if [ -d $ZAQARUI_DIR/zaqar-ui/locale ]; then
|
||||||
(cd $ZAQARUI_DIR/zaqar_ui; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
|
(cd $ZAQARUI_DIR/zaqar-ui; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user