From 18d1cca6cb1e56827e04c2f38c9db745b881f98a Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 18 Jun 2015 06:32:00 -0400 Subject: [PATCH] Add oslo.service to devstack Add the ability to switch on oslo.service master using LIBS_FROM_GIT Change-Id: I00fe7776aea005b6d4e0a84fce54f33a862b57e3 --- lib/oslo | 2 ++ stackrc | 4 ++++ tests/test_libs_from_pypi.sh | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/oslo b/lib/oslo index be26668dfb..554bec8945 100644 --- a/lib/oslo +++ b/lib/oslo @@ -37,6 +37,7 @@ GITDIR["oslo.middleware"]=$DEST/oslo.middleware GITDIR["oslo.policy"]=$DEST/oslo.policy GITDIR["oslo.rootwrap"]=$DEST/oslo.rootwrap GITDIR["oslo.serialization"]=$DEST/oslo.serialization +GITDIR["oslo.service"]=$DEST/oslo.service GITDIR["oslo.utils"]=$DEST/oslo.utils GITDIR["oslo.versionedobjects"]=$DEST/oslo.versionedobjects GITDIR["oslo.vmware"]=$DEST/oslo.vmware @@ -76,6 +77,7 @@ function install_oslo { _do_install_oslo_lib "oslo.policy" _do_install_oslo_lib "oslo.rootwrap" _do_install_oslo_lib "oslo.serialization" + _do_install_oslo_lib "oslo.service" _do_install_oslo_lib "oslo.utils" _do_install_oslo_lib "oslo.versionedobjects" _do_install_oslo_lib "oslo.vmware" diff --git a/stackrc b/stackrc index c16a9997a4..1ac1338f2c 100644 --- a/stackrc +++ b/stackrc @@ -382,6 +382,10 @@ GITBRANCH["oslo.rootwrap"]=${OSLORWRAP_BRANCH:-master} GITREPO["oslo.serialization"]=${OSLOSERIALIZATION_REPO:-${GIT_BASE}/openstack/oslo.serialization.git} GITBRANCH["oslo.serialization"]=${OSLOSERIALIZATION_BRANCH:-master} +# oslo.service +GITREPO["oslo.service"]=${OSLOSERVICE_REPO:-${GIT_BASE}/openstack/oslo.service.git} +GITBRANCH["oslo.service"]=${OSLOSERVICE_BRANCH:-master} + # oslo.utils GITREPO["oslo.utils"]=${OSLOUTILS_REPO:-${GIT_BASE}/openstack/oslo.utils.git} GITBRANCH["oslo.utils"]=${OSLOUTILS_BRANCH:-master} diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index 2f0b1febe4..fc6596789b 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -39,7 +39,7 @@ ALL_LIBS+=" oslo.serialization python-saharaclient django_openstack_auth" ALL_LIBS+=" python-openstackclient oslo.rootwrap oslo.i18n" ALL_LIBS+=" python-ceilometerclient oslo.utils python-swiftclient" ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy" -ALL_LIBS+=" debtcollector os-brick automaton futurist" +ALL_LIBS+=" debtcollector os-brick automaton futurist oslo.service" # Generate the above list with # echo ${!GITREPO[@]}