glance_store and saharaclient were missed in the last round, make
them install from released clients in this patch.
Change-Id: I2e0ed2b7fb5994ae6abd92612a67ce5fd82b3f7e
| ... | ... |
@@ -28,9 +28,9 @@ set +o xtrace |
| 28 | 28 |
|
| 29 | 29 |
# Set up default directories |
| 30 | 30 |
GITDIR["python-glanceclient"]=$DEST/python-glanceclient |
| 31 |
+GIRDIR["glance_store"]=$DEST/glance_store |
|
| 31 | 32 |
|
| 32 | 33 |
GLANCE_DIR=$DEST/glance |
| 33 |
-GLANCE_STORE_DIR=$DEST/glance_store |
|
| 34 | 34 |
GLANCE_CACHE_DIR=${GLANCE_CACHE_DIR:=$DATA_DIR/glance/cache}
|
| 35 | 35 |
GLANCE_IMAGE_DIR=${GLANCE_IMAGE_DIR:=$DATA_DIR/glance/images}
|
| 36 | 36 |
GLANCE_AUTH_CACHE_DIR=${GLANCE_AUTH_CACHE_DIR:-/var/cache/glance}
|
| ... | ... |
@@ -297,8 +297,10 @@ function install_glanceclient {
|
| 297 | 297 |
function install_glance {
|
| 298 | 298 |
# Install glance_store from git so we make sure we're testing |
| 299 | 299 |
# the latest code. |
| 300 |
- git_clone $GLANCE_STORE_REPO $GLANCE_STORE_DIR $GLANCE_STORE_BRANCH |
|
| 301 |
- setup_develop $GLANCE_STORE_DIR |
|
| 300 |
+ if use_library_from_git "glance_store"; then |
|
| 301 |
+ git_clone_by_name "glance_store" |
|
| 302 |
+ setup_dev_lib "glance_store" |
|
| 303 |
+ fi |
|
| 302 | 304 |
|
| 303 | 305 |
git_clone $GLANCE_REPO $GLANCE_DIR $GLANCE_BRANCH |
| 304 | 306 |
setup_develop $GLANCE_DIR |
| ... | ... |
@@ -22,15 +22,10 @@ set +o xtrace |
| 22 | 22 |
# -------- |
| 23 | 23 |
|
| 24 | 24 |
# Set up default repos |
| 25 |
-SAHARA_REPO=${SAHARA_REPO:-${GIT_BASE}/openstack/sahara.git}
|
|
| 26 |
-SAHARA_BRANCH=${SAHARA_BRANCH:-master}
|
|
| 27 |
- |
|
| 28 |
-SAHARA_PYTHONCLIENT_REPO=${SAHARA_PYTHONCLIENT_REPO:-${GIT_BASE}/openstack/python-saharaclient.git}
|
|
| 29 |
-SAHARA_PYTHONCLIENT_BRANCH=${SAHARA_PYTHONCLIENT_BRANCH:-master}
|
|
| 30 | 25 |
|
| 31 | 26 |
# Set up default directories |
| 27 |
+GITDIR["python-saharaclient"]=$DEST/python-saharaclient |
|
| 32 | 28 |
SAHARA_DIR=$DEST/sahara |
| 33 |
-SAHARA_PYTHONCLIENT_DIR=$DEST/python-saharaclient |
|
| 34 | 29 |
|
| 35 | 30 |
SAHARA_CONF_DIR=${SAHARA_CONF_DIR:-/etc/sahara}
|
| 36 | 31 |
SAHARA_CONF_FILE=${SAHARA_CONF_DIR}/sahara.conf
|
| ... | ... |
@@ -158,8 +153,10 @@ function install_sahara {
|
| 158 | 158 |
|
| 159 | 159 |
# install_python_saharaclient() - Collect source and prepare |
| 160 | 160 |
function install_python_saharaclient {
|
| 161 |
- git_clone $SAHARA_PYTHONCLIENT_REPO $SAHARA_PYTHONCLIENT_DIR $SAHARA_PYTHONCLIENT_BRANCH |
|
| 162 |
- setup_develop $SAHARA_PYTHONCLIENT_DIR |
|
| 161 |
+ if use_library_from_git "python-saharaclient"; then |
|
| 162 |
+ git_clone_by_name "python-saharaclient" |
|
| 163 |
+ setup_dev_lib "python-saharaclient" |
|
| 164 |
+ fi |
|
| 163 | 165 |
} |
| 164 | 166 |
|
| 165 | 167 |
# start_sahara() - Start running processes, including screen |
| ... | ... |
@@ -144,7 +144,7 @@ GIT_BASE=${GIT_BASE:-git://git.openstack.org}
|
| 144 | 144 |
CEILOMETER_REPO=${CEILOMETER_REPO:-${GIT_BASE}/openstack/ceilometer.git}
|
| 145 | 145 |
CEILOMETER_BRANCH=${CEILOMETER_BRANCH:-master}
|
| 146 | 146 |
|
| 147 |
-# volume service |
|
| 147 |
+# block storage service |
|
| 148 | 148 |
CINDER_REPO=${CINDER_REPO:-${GIT_BASE}/openstack/cinder.git}
|
| 149 | 149 |
CINDER_BRANCH=${CINDER_BRANCH:-master}
|
| 150 | 150 |
|
| ... | ... |
@@ -176,7 +176,11 @@ NEUTRON_BRANCH=${NEUTRON_BRANCH:-master}
|
| 176 | 176 |
NOVA_REPO=${NOVA_REPO:-${GIT_BASE}/openstack/nova.git}
|
| 177 | 177 |
NOVA_BRANCH=${NOVA_BRANCH:-master}
|
| 178 | 178 |
|
| 179 |
-# storage service |
|
| 179 |
+# data processing service |
|
| 180 |
+SAHARA_REPO=${SAHARA_REPO:-${GIT_BASE}/openstack/sahara.git}
|
|
| 181 |
+SAHARA_BRANCH=${SAHARA_BRANCH:-master}
|
|
| 182 |
+ |
|
| 183 |
+# object storage service |
|
| 180 | 184 |
SWIFT_REPO=${SWIFT_REPO:-${GIT_BASE}/openstack/swift.git}
|
| 181 | 185 |
SWIFT_BRANCH=${SWIFT_BRANCH:-master}
|
| 182 | 186 |
|
| ... | ... |
@@ -241,6 +245,10 @@ GITBRANCH["python-neutronclient"]=${NEUTRONCLIENT_BRANCH:-master}
|
| 241 | 241 |
GITREPO["python-novaclient"]=${NOVACLIENT_REPO:-${GIT_BASE}/openstack/python-novaclient.git}
|
| 242 | 242 |
GITBRANCH["python-novaclient"]=${NOVACLIENT_BRANCH:-master}
|
| 243 | 243 |
|
| 244 |
+# python saharaclient |
|
| 245 |
+GITREPO["python-saharaclient"]=${SAHARACLIENT_REPO:-${GIT_BASE}/openstack/python-saharaclient.git}
|
|
| 246 |
+GITBRANCH["python-saharaclient"]=${SAHARACLIENT_BRANCH:-master}
|
|
| 247 |
+ |
|
| 244 | 248 |
# python swift client library |
| 245 | 249 |
GITREPO["python-swiftclient"]=${SWIFTCLIENT_REPO:-${GIT_BASE}/openstack/python-swiftclient.git}
|
| 246 | 250 |
GITBRANCH["python-swiftclient"]=${SWIFTCLIENT_BRANCH:-master}
|
| ... | ... |
@@ -330,8 +338,8 @@ GITBRANCH["pbr"]=${PBR_BRANCH:-master}
|
| 330 | 330 |
################## |
| 331 | 331 |
|
| 332 | 332 |
# glance store library |
| 333 |
-GLANCE_STORE_REPO=${GLANCE_STORE_REPO:-${GIT_BASE}/openstack/glance_store.git}
|
|
| 334 |
-GLANCE_STORE_BRANCH=${GLANCE_STORE_BRANCH:-master}
|
|
| 333 |
+GITREPO["glance_store"]=${GLANCE_STORE_REPO:-${GIT_BASE}/openstack/glance_store.git}
|
|
| 334 |
+GITBRANCH["glance_store"]=${GLANCE_STORE_BRANCH:-master}
|
|
| 335 | 335 |
|
| 336 | 336 |
# heat-cfntools server agent |
| 337 | 337 |
HEAT_CFNTOOLS_REPO=${HEAT_CFNTOOLS_REPO:-${GIT_BASE}/openstack/heat-cfntools.git}
|