From c7791301be5e19ec7a84dffbf62c40e805483f43 Mon Sep 17 00:00:00 2001 From: melanie witt Date: Fri, 1 Oct 2021 17:24:10 +0000 Subject: [PATCH] Enable oslo.limit to be installed from git repo oslo.limit isn't currently in the list of libraries that can be installed from a git repo via LIBS_FROM_GIT. This adds oslo.limit to enable integrated testing against unmerged oslo.limit changes. Change-Id: I26cc567fdf4c84014040ae586bbb029b8de7a236 --- lib/libraries | 2 ++ stackrc | 4 ++++ tests/test_libs_from_pypi.sh | 1 + 3 files changed, 7 insertions(+) diff --git a/lib/libraries b/lib/libraries index 67ff21f41a..9ea32304fc 100755 --- a/lib/libraries +++ b/lib/libraries @@ -38,6 +38,7 @@ GITDIR["oslo.config"]=$DEST/oslo.config GITDIR["oslo.context"]=$DEST/oslo.context GITDIR["oslo.db"]=$DEST/oslo.db GITDIR["oslo.i18n"]=$DEST/oslo.i18n +GITDIR["oslo.limit"]=$DEST/oslo.limit GITDIR["oslo.log"]=$DEST/oslo.log GITDIR["oslo.messaging"]=$DEST/oslo.messaging GITDIR["oslo.middleware"]=$DEST/oslo.middleware @@ -102,6 +103,7 @@ function install_libs { _install_lib_from_source "oslo.context" _install_lib_from_source "oslo.db" _install_lib_from_source "oslo.i18n" + _install_lib_from_source "oslo.limit" _install_lib_from_source "oslo.log" _install_lib_from_source "oslo.messaging" _install_lib_from_source "oslo.middleware" diff --git a/stackrc b/stackrc index 3dc800af2d..e0d71dfa49 100755 --- a/stackrc +++ b/stackrc @@ -415,6 +415,10 @@ GITBRANCH["oslo.db"]=${OSLODB_BRANCH:-$TARGET_BRANCH} GITREPO["oslo.i18n"]=${OSLOI18N_REPO:-${GIT_BASE}/openstack/oslo.i18n.git} GITBRANCH["oslo.i18n"]=${OSLOI18N_BRANCH:-$TARGET_BRANCH} +# oslo.limit +GITREPO["oslo.limit"]=${OSLOLIMIT_REPO:-${GIT_BASE}/openstack/oslo.limit.git} +GITBRANCH["oslo.limit"]=${OSLOLIMIT_BRANCH:-$TARGET_BRANCH} + # oslo.log GITREPO["oslo.log"]=${OSLOLOG_REPO:-${GIT_BASE}/openstack/oslo.log.git} GITBRANCH["oslo.log"]=${OSLOLOG_BRANCH:-$TARGET_BRANCH} diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index ce1b34461c..839e3a1328 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -45,6 +45,7 @@ ALL_LIBS+=" oslo.cache oslo.reports osprofiler cursive" ALL_LIBS+=" keystoneauth ironic-lib neutron-lib oslo.privsep" ALL_LIBS+=" diskimage-builder os-vif python-brick-cinderclient-ext" ALL_LIBS+=" castellan python-barbicanclient ovsdbapp os-ken os-resource-classes" +ALL_LIBS+=" oslo.limit" # Generate the above list with # echo ${!GITREPO[@]}