Browse code

Test against latest glance_store code

Install glance_store from git so we can test Glance against master. This
is useful for both, glance and glance_store gates, to make sure nothing
is broken there.

Change-Id: I6c01165c4384c41f46f2c32d64475703b3178dab

Flavio Percoco authored on 2014/09/09 16:37:42
Showing 2 changed files
... ...
@@ -28,6 +28,7 @@ set +o xtrace
28 28
 
29 29
 # Set up default directories
30 30
 GLANCE_DIR=$DEST/glance
31
+GLANCE_STORE_DIR=$DEST/glance_store
31 32
 GLANCECLIENT_DIR=$DEST/python-glanceclient
32 33
 GLANCE_CACHE_DIR=${GLANCE_CACHE_DIR:=$DATA_DIR/glance/cache}
33 34
 GLANCE_IMAGE_DIR=${GLANCE_IMAGE_DIR:=$DATA_DIR/glance/images}
... ...
@@ -252,6 +253,11 @@ function install_glanceclient {
252 252
 
253 253
 # install_glance() - Collect source and prepare
254 254
 function install_glance {
255
+    # Install glance_store from git so we make sure we're testing
256
+    # the latest code.
257
+    git_clone $GLANCE_STORE_REPO $GLANCE_STORE_DIR $GLANCE_STORE_BRANCH
258
+    setup_develop $GLANCE_STORE_DIR
259
+
255 260
     git_clone $GLANCE_REPO $GLANCE_DIR $GLANCE_BRANCH
256 261
     setup_develop $GLANCE_DIR
257 262
 }
... ...
@@ -144,6 +144,9 @@ DIB_BRANCH=${DIB_BRANCH:-master}
144 144
 GLANCE_REPO=${GLANCE_REPO:-${GIT_BASE}/openstack/glance.git}
145 145
 GLANCE_BRANCH=${GLANCE_BRANCH:-master}
146 146
 
147
+GLANCE_STORE_REPO=${GLANCE_STORE_REPO:-${GIT_BASE}/openstack/glance_store.git}
148
+GLANCE_STORE_BRANCH=${GLANCE_STORE_BRANCH:-master}
149
+
147 150
 # python glance client library
148 151
 GLANCECLIENT_REPO=${GLANCECLIENT_REPO:-${GIT_BASE}/openstack/python-glanceclient.git}
149 152
 GLANCECLIENT_BRANCH=${GLANCECLIENT_BRANCH:-master}