Install os-xenapi from local repo
If there is os-xenapi changes included in the ZUUL_CHANGES, install os-xenapi from local repo so the os-xenapi changes will be verified by CI. As the dev release package is later than the released os-xenapi, so it won't be overridden when install nova's dependences. Change-Id: I01c419a8cb053038c15d44415b9154f83e981b9c
This commit is contained in:
parent
b704473926
commit
e4771ef949
10
run_tests.sh
10
run_tests.sh
@ -338,6 +338,16 @@ cache_images = all
|
||||
EOF
|
||||
)
|
||||
|
||||
# If os-xenapi is in the patch list(include watched change on os-xenapi and
|
||||
# the change depended by other changes), pip install it from local repo. So
|
||||
# the os-xenapi changes will be verified via CI tests.
|
||||
(
|
||||
OS_XENAPI_DIR=/opt/stack/new/os-xenapi
|
||||
if [ -d $OS_XENAPI_DIR -a -n "$(echo $ZUUL_CHANGES | grep openstack/os-xenapi)" ]; then
|
||||
sudo -H pip install -e $OS_XENAPI_DIR
|
||||
fi
|
||||
)
|
||||
|
||||
# delete folders to save disk space
|
||||
sudo rm -rf /opt/git
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user