Browse code

Add castellan to LIBS_FROM_GIT

Allow castellan to be installed from git instead of pip.

Castellan has recently been moved under the oslo framework,
and the barbican-tempest-plugin tests which use castellan
would benefit from the ability to usd castellan from git
instead of pip.

Change-Id: I96edca90c61aec84637b7b1ce842eff04c521923

Brianna Poulos authored on 2017/04/15 00:33:56
Showing 3 changed files
... ...
@@ -23,6 +23,7 @@ set +o xtrace
23 23
 # Defaults
24 24
 # --------
25 25
 GITDIR["automaton"]=$DEST/automaton
26
+GITDIR["castellan"]=$DEST/castellan
26 27
 GITDIR["cliff"]=$DEST/cliff
27 28
 GITDIR["debtcollector"]=$DEST/debtcollector
28 29
 GITDIR["futurist"]=$DEST/futurist
... ...
@@ -71,6 +72,7 @@ function _do_install_oslo_lib {
71 71
 # install_oslo() - Collect source and prepare
72 72
 function install_oslo {
73 73
     _do_install_oslo_lib "automaton"
74
+    _do_install_oslo_lib "castellan"
74 75
     _do_install_oslo_lib "cliff"
75 76
     _do_install_oslo_lib "debtcollector"
76 77
     _do_install_oslo_lib "futurist"
... ...
@@ -364,6 +364,10 @@ GITDIR["python-openstackclient"]=$DEST/python-openstackclient
364 364
 #
365 365
 ###################
366 366
 
367
+# castellan key manager interface
368
+GITREPO["castellan"]=${CASTELLAN_REPO:-${GIT_BASE}/openstack/castellan.git}
369
+GITBRANCH["castellan"]=${CASTELLAN_BRANCH:-master}
370
+
367 371
 # cliff command line framework
368 372
 GITREPO["cliff"]=${CLIFF_REPO:-${GIT_BASE}/openstack/cliff.git}
369 373
 GITBRANCH["cliff"]=${CLIFF_BRANCH:-master}
... ...
@@ -43,6 +43,7 @@ ALL_LIBS+=" debtcollector os-brick automaton futurist oslo.service"
43 43
 ALL_LIBS+=" oslo.cache oslo.reports osprofiler"
44 44
 ALL_LIBS+=" keystoneauth ironic-lib neutron-lib oslo.privsep"
45 45
 ALL_LIBS+=" diskimage-builder os-vif python-brick-cinderclient-ext"
46
+ALL_LIBS+=" castellan"
46 47
 
47 48
 # Generate the above list with
48 49
 # echo ${!GITREPO[@]}