Set git info for python-karborclient

Change-Id: Icc8d7d94922148160f0069c8c48560351a60a31d
This commit is contained in:
Yuval Brik 2017-05-09 15:51:26 +03:00
parent b69b8f14f7
commit 935e6fab5f
2 changed files with 5 additions and 2 deletions

View File

@ -153,8 +153,8 @@ function create_karbor_cache_dir {
function install_karborclient {
if use_library_from_git "python-karborclient"; then
echo_summary "Installing Karbor Client from git"
git_clone_by_name "python-karborclient"
setup_dev_lib "python-karborclient"
git_clone $KARBORCLIENT_REPO $KARBORCLIENT_DIR $KARBORCLIENT_BRANCH
setup_develop $KARBORCLIENT_DIR
fi
}

View File

@ -2,6 +2,9 @@
KARBOR_REPO=${KARBOR_REPO:-https://git.openstack.org/cgit/openstack/karbor/}
KARBOR_DIR=$DEST/karbor
KARBOR_BRANCH=${KARBOR_BRANCH:-master}
KARBORCLIENT_REPO=${KARBORCLIENT_REPO:-"https://git.openstack.org/cgit/openstack/python-karborclient/"}
KARBORCLIENT_DIR=$DEST/python-karborclient
KARBORCLIENT_BRANCH=${KARBORCLIENT_BRANCH:-master}
# Toggle for deploying Karbor under apache2 in mod_wsgi
KARBOR_USE_MOD_WSGI=${KARBOR_USE_MOD_WSGI:-True}