Skip to content

Commit 86561c3

Browse files
committed
Enable neutron-lib for LIBS_FROM_GIT for backwards compat jobs
Change-Id: I8dd84c59d2ec3a7c01ff4f1aaf7fa61d7466cfd5
1 parent 29f1ebb commit 86561c3

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

lib/neutron-legacy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,13 @@ function init_neutron {
623623

624624
# install_neutron() - Collect source and prepare
625625
function install_neutron {
626+
# Install neutron-lib from git so we make sure we're testing
627+
# the latest code.
628+
if use_library_from_git "neutron-lib"; then
629+
git_clone_by_name "neutron-lib"
630+
setup_dev_lib "neutron-lib"
631+
fi
632+
626633
git_clone $NEUTRON_REPO $NEUTRON_DIR $NEUTRON_BRANCH
627634
setup_develop $NEUTRON_DIR
628635
if is_service_enabled q-fwaas; then

stackrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,11 @@ GITREPO["diskimage-builder"]=${DIB_REPO:-${GIT_BASE}/openstack/diskimage-builder
488488
GITBRANCH["diskimage-builder"]=${DIB_BRANCH:-master}
489489
GITDIR["diskimage-builder"]=$DEST/diskimage-builder
490490

491+
# neutron-lib library containing neutron stable non-REST interfaces
492+
GITREPO["neutron-lib"]=${NEUTRON_LIB_REPO:-${GIT_BASE}/openstack/neutron-lib.git}
493+
GITBRANCH["neutron-lib"]=${NEUTRON_LIB_BRANCH:-master}
494+
GITDIR["neutron-lib"]=$DEST/neutron-lib
495+
491496
##################
492497
#
493498
# TripleO / Heat Agent Components

tests/test_libs_from_pypi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ALL_LIBS+=" oslo.utils python-swiftclient"
4141
ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy"
4242
ALL_LIBS+=" debtcollector os-brick automaton futurist oslo.service"
4343
ALL_LIBS+=" oslo.cache oslo.reports osprofiler"
44-
ALL_LIBS+=" keystoneauth ironic-lib oslo.privsep"
44+
ALL_LIBS+=" keystoneauth ironic-lib neutron-lib oslo.privsep"
4545
ALL_LIBS+=" diskimage-builder"
4646

4747
# Generate the above list with

0 commit comments

Comments
 (0)