| ... | ... |
@@ -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}
|
| ... | ... |
@@ -263,6 +264,11 @@ function install_glanceclient {
|
| 263 | 263 |
|
| 264 | 264 |
# install_glance() - Collect source and prepare |
| 265 | 265 |
function install_glance {
|
| 266 |
+ # Install glance_store from git so we make sure we're testing |
|
| 267 |
+ # the latest code. |
|
| 268 |
+ git_clone $GLANCE_STORE_REPO $GLANCE_STORE_DIR $GLANCE_STORE_BRANCH |
|
| 269 |
+ setup_develop $GLANCE_STORE_DIR |
|
| 270 |
+ |
|
| 266 | 271 |
git_clone $GLANCE_REPO $GLANCE_DIR $GLANCE_BRANCH |
| 267 | 272 |
setup_develop $GLANCE_DIR |
| 268 | 273 |
} |
| ... | ... |
@@ -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}
|