Skip to content

Commit ee9064b

Browse files
author
Joshua Harlow
committed
Add debtcollector to lib/oslo and stackrc
Ensure that the debtcollector library is pulled in like the other oslo libraries so that devstack can use it where appropriate. Also fixes 'test_libs_from_pypi.sh' to not have a huge single line of libraries; and splits it into multiple lines so the diffs and code can be easily looked at. Change-Id: I35ab0ed0e20b6092a41ecb3b6f1aaf0a05f5180e
1 parent 231a3e5 commit ee9064b

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

lib/oslo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ set +o xtrace
2323
# Defaults
2424
# --------
2525
GITDIR["cliff"]=$DEST/cliff
26+
GITDIR["debtcollector"]=$DEST/debtcollector
2627
GITDIR["oslo.concurrency"]=$DEST/oslo.concurrency
2728
GITDIR["oslo.config"]=$DEST/oslo.config
2829
GITDIR["oslo.context"]=$DEST/oslo.context
@@ -58,6 +59,7 @@ function _do_install_oslo_lib {
5859
# install_oslo() - Collect source and prepare
5960
function install_oslo {
6061
_do_install_oslo_lib "cliff"
62+
_do_install_oslo_lib "debtcollector"
6163
_do_install_oslo_lib "oslo.concurrency"
6264
_do_install_oslo_lib "oslo.config"
6365
_do_install_oslo_lib "oslo.context"

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ GITDIR["python-openstackclient"]=$DEST/python-openstackclient
314314
GITREPO["cliff"]=${CLIFF_REPO:-${GIT_BASE}/openstack/cliff.git}
315315
GITBRANCH["cliff"]=${CLIFF_BRANCH:-master}
316316

317+
# debtcollector deprecation framework/helpers
318+
GITREPO["debtcollector"]=${DEBTCOLLECTOR_REPO:-${GIT_BASE}/openstack/debtcollector.git}
319+
GITBRANCH["debtcollector"]=${DEBTCOLLECTOR_BRANCH:-master}
320+
317321
# oslo.concurrency
318322
GITREPO["oslo.concurrency"]=${OSLOCON_REPO:-${GIT_BASE}/openstack/oslo.concurrency.git}
319323
GITBRANCH["oslo.concurrency"]=${OSLOCON_BRANCH:-master}

tests/test_libs_from_pypi.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,17 @@ for i in $TOP/lib/*; do
2929
fi
3030
done
3131

32-
ALL_LIBS="python-novaclient oslo.config pbr oslo.context python-troveclient python-keystoneclient taskflow oslo.middleware pycadf python-glanceclient python-ironicclient tempest-lib oslo.messaging oslo.log cliff python-heatclient stevedore python-cinderclient glance_store oslo.concurrency oslo.db oslo.vmware keystonemiddleware oslo.serialization python-saharaclient django_openstack_auth python-openstackclient oslo.rootwrap oslo.i18n python-ceilometerclient oslo.utils python-swiftclient python-neutronclient tooz ceilometermiddleware oslo.policy"
32+
ALL_LIBS="python-novaclient oslo.config pbr oslo.context python-troveclient"
33+
ALL_LIBS+=" python-keystoneclient taskflow oslo.middleware pycadf"
34+
ALL_LIBS+=" python-glanceclient python-ironicclient tempest-lib"
35+
ALL_LIBS+=" oslo.messaging oslo.log cliff python-heatclient stevedore"
36+
ALL_LIBS+=" python-cinderclient glance_store oslo.concurrency oslo.db"
37+
ALL_LIBS+=" oslo.vmware keystonemiddleware oslo.serialization"
38+
ALL_LIBS+=" python-saharaclient django_openstack_auth"
39+
ALL_LIBS+=" python-openstackclient oslo.rootwrap oslo.i18n"
40+
ALL_LIBS+=" python-ceilometerclient oslo.utils python-swiftclient"
41+
ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy"
42+
ALL_LIBS+=" debtcollector"
3343

3444
# Generate the above list with
3545
# echo ${!GITREPO[@]}

0 commit comments

Comments
 (0)