Skip to content

Commit 9fecc2a

Browse files
author
Dean Troyer
committed
Add OpenStackSDK as a lib install
This is required to install python-openstacksdk from source for testing other projects against master. Change-Id: Iee7b043ac7d381dadf89d26098f69e935ed81d6b
1 parent 03fbc0d commit 9fecc2a

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

lib/oslo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ GITDIR["oslo.versionedobjects"]=$DEST/oslo.versionedobjects
4848
GITDIR["oslo.vmware"]=$DEST/oslo.vmware
4949
GITDIR["osprofiler"]=$DEST/osprofiler
5050
GITDIR["pycadf"]=$DEST/pycadf
51+
GITDIR["python-openstacksdk"]=$DEST/python-openstacksdk
5152
GITDIR["stevedore"]=$DEST/stevedore
5253
GITDIR["taskflow"]=$DEST/taskflow
5354
GITDIR["tooz"]=$DEST/tooz
@@ -95,6 +96,7 @@ function install_oslo {
9596
_do_install_oslo_lib "oslo.vmware"
9697
_do_install_oslo_lib "osprofiler"
9798
_do_install_oslo_lib "pycadf"
99+
_do_install_oslo_lib "python-openstacksdk"
98100
_do_install_oslo_lib "stevedore"
99101
_do_install_oslo_lib "taskflow"
100102
_do_install_oslo_lib "tooz"

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,10 @@ GITBRANCH["os-vif"]=${OS_VIF_BRANCH:-master}
529529
GITREPO["osc-lib"]=${OSC_LIB_REPO:-${GIT_BASE}/openstack/osc-lib.git}
530530
GITBRANCH["osc-lib"]=${OSC_LIB_BRANCH:-master}
531531

532+
# python-openstacksdk OpenStack Python SDK
533+
GITREPO["python-openstacksdk"]=${OPENSTACKSDK_REPO:-${GIT_BASE}/openstack/python-openstacksdk.git}
534+
GITBRANCH["python-openstacksdk"]=${OPENSTACKSDK_BRANCH:-master}
535+
532536
# ironic common lib
533537
GITREPO["ironic-lib"]=${IRONIC_LIB_REPO:-${GIT_BASE}/openstack/ironic-lib.git}
534538
GITBRANCH["ironic-lib"]=${IRONIC_LIB_BRANCH:-master}

tests/test_libs_from_pypi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ALL_LIBS+=" python-cinderclient glance_store oslo.concurrency oslo.db"
3737
ALL_LIBS+=" oslo.versionedobjects oslo.vmware keystonemiddleware"
3838
ALL_LIBS+=" oslo.serialization django_openstack_auth"
3939
ALL_LIBS+=" python-openstackclient osc-lib os-client-config oslo.rootwrap"
40-
ALL_LIBS+=" oslo.i18n oslo.utils python-swiftclient"
40+
ALL_LIBS+=" oslo.i18n oslo.utils python-openstacksdk 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"

0 commit comments

Comments
 (0)