Skip to content

Commit 06f3639

Browse files
Dean Troyeremonty
andcommitted
Add os-client-config and osc-lib from source
There is currently a hole in our testing that lets os-client-config, which sits at the bottom of the dependency chain for some key pieces like neutronclient and python-openstackclient, introduce gate breakages. Step one in fixing this is allowing os-client-config to be optionally installed from source so that jobs can be put into its gate to exercise its master vs devstack installs. Additionally, osc-lib is a new and lovely library that's going to need the same things. We're putting both in install_oslo, even though they're not oslo libraries, because that'll make grenade work properly. Co-Authored-By: Monty Taylor <[email protected]> Change-Id: I747480b6063a62e82ca2b030f274d3e87bf28b3b
1 parent 9b8b922 commit 06f3639

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

lib/oslo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ GITDIR["automaton"]=$DEST/automaton
2626
GITDIR["cliff"]=$DEST/cliff
2727
GITDIR["debtcollector"]=$DEST/debtcollector
2828
GITDIR["futurist"]=$DEST/futurist
29+
GITDIR["os-client-config"]=$DEST/os-client-config
30+
GITDIR["osc-lib"]=$DEST/osc-lib
2931
GITDIR["oslo.cache"]=$DEST/oslo.cache
3032
GITDIR["oslo.concurrency"]=$DEST/oslo.concurrency
3133
GITDIR["oslo.config"]=$DEST/oslo.config
@@ -71,6 +73,8 @@ function install_oslo {
7173
_do_install_oslo_lib "cliff"
7274
_do_install_oslo_lib "debtcollector"
7375
_do_install_oslo_lib "futurist"
76+
_do_install_oslo_lib "osc-lib"
77+
_do_install_oslo_lib "os-client-config"
7478
_do_install_oslo_lib "oslo.cache"
7579
_do_install_oslo_lib "oslo.concurrency"
7680
_do_install_oslo_lib "oslo.config"

stackrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,19 @@ GITDIR["ceilometermiddleware"]=$DEST/ceilometermiddleware
508508
GITREPO["os-brick"]=${OS_BRICK_REPO:-${GIT_BASE}/openstack/os-brick.git}
509509
GITBRANCH["os-brick"]=${OS_BRICK_BRANCH:-master}
510510

511+
# os-client-config to manage clouds.yaml and friends
512+
GITREPO["os-client-config"]=${OS_CLIENT_CONFIG_REPO:-${GIT_BASE}/openstack/os-client-config.git}
513+
GITBRANCH["os-client-config"]=${OS_CLIENT_CONFIG_BRANCH:-master}
514+
GITDIR["os-client-config"]=$DEST/os-client-config
515+
511516
# os-vif library to communicate between Neutron to Nova
512517
GITREPO["os-vif"]=${OS_VIF_REPO:-${GIT_BASE}/openstack/os-vif.git}
513518
GITBRANCH["os-vif"]=${OS_VIF_BRANCH:-master}
514519

520+
# osc-lib OpenStackClient common lib
521+
GITREPO["osc-lib"]=${OSC_LIB_REPO:-${GIT_BASE}/openstack/osc-lib.git}
522+
GITBRANCH["osc-lib"]=${OSC_LIB_BRANCH:-master}
523+
515524
# ironic common lib
516525
GITREPO["ironic-lib"]=${IRONIC_LIB_REPO:-${GIT_BASE}/openstack/ironic-lib.git}
517526
GITBRANCH["ironic-lib"]=${IRONIC_LIB_BRANCH:-master}

tests/test_libs_from_pypi.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ ALL_LIBS+=" oslo.messaging oslo.log cliff python-heatclient stevedore"
3636
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"
39-
ALL_LIBS+=" python-openstackclient oslo.rootwrap oslo.i18n"
40-
ALL_LIBS+=" oslo.utils python-swiftclient"
39+
ALL_LIBS+=" python-openstackclient osc-lib os-client-config oslo.rootwrap"
40+
ALL_LIBS+=" oslo.i18n 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"

0 commit comments

Comments
 (0)