enable branch selection in devstack installation
With this patch, user can specify the installation version.. Change-Id: Icde4143d84f50b5b4199403070bf5dab12751682
This commit is contained in:
parent
fcdb495619
commit
f4758c9173
@ -27,8 +27,11 @@ declare -r -g _CYBORG_DEVSTACK_LIB=1
|
|||||||
# Defaults
|
# Defaults
|
||||||
# --------
|
# --------
|
||||||
|
|
||||||
# Set up default directories
|
# Set up default repos
|
||||||
|
CYBORG_REPO=${CYBORG_REPO:-${GIT_BASE}/openstack/cyborg.git}
|
||||||
|
CYBORG_BRANCH=${CYBORG_BRANCH:-master}
|
||||||
|
|
||||||
|
# Set up default directories
|
||||||
CYBORG_DIR=$DEST/cyborg
|
CYBORG_DIR=$DEST/cyborg
|
||||||
CYBORG_DEVSTACK_DIR=$CYBORG_DIR/devstack
|
CYBORG_DEVSTACK_DIR=$CYBORG_DIR/devstack
|
||||||
CYBORG_DEVSTACK_FILES_DIR=$CYBORG_DEVSTACK_DIR/files
|
CYBORG_DEVSTACK_FILES_DIR=$CYBORG_DEVSTACK_DIR/files
|
||||||
@ -78,6 +81,9 @@ function install_cyborg_in_controller {
|
|||||||
function install_cyborg {
|
function install_cyborg {
|
||||||
# make sure all needed services are enabled
|
# make sure all needed services are enabled
|
||||||
install_cyborg_in_controller
|
install_cyborg_in_controller
|
||||||
|
|
||||||
|
git_clone $CYBORG_REPO $CYBORG_DIR $CYBORG_BRANCH
|
||||||
|
|
||||||
setup_develop $CYBORG_DIR
|
setup_develop $CYBORG_DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user