Fix Devstack and Magnum-ui interaction
Devstack always installs test-requirements, but we do not expect it for Magnum UI project. Moreover, such installation started failing with PIP versions 8.x Change that triggered bug is Devstack change at [1]. [1] I49658ce4056c773943321270defd461bbf3e9fb9 Change-Id: I02d24d9c11988d78a59f198d2048e6861f78d83f Closes-Bug: #1540188
This commit is contained in:
parent
bd4d8ad315
commit
8481bfb327
@ -3,7 +3,15 @@
|
||||
MAGNUM_UI_DIR=$(cd $(dirname $BASH_SOURCE)/.. && pwd)
|
||||
|
||||
function install_magnum_ui {
|
||||
# NOTE(shu-mutou): workaround for devstack bug: 1540328
|
||||
# where devstack install 'test-requirements' but should not do it
|
||||
# for magnum-ui project as it installs Horizon from url.
|
||||
# Remove following two 'mv' commands when mentioned bug is fixed.
|
||||
mv $MAGNUM_UI_DIR/test-requirements.txt $MAGNUM_UI_DIR/_test-requirements.txt
|
||||
|
||||
setup_develop ${MAGNUM_UI_DIR}
|
||||
|
||||
mv $MAGNUM_UI_DIR/_test-requirements.txt $MAGNUM_UI_DIR/test-requirements.txt
|
||||
}
|
||||
|
||||
function configure_magnum_ui {
|
||||
|
Loading…
Reference in New Issue
Block a user