diff options
author | Zuul <zuul@review.openstack.org> | 2019-04-11 00:12:37 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-04-11 00:12:37 +0000 |
commit | e7ef1dd72272f95c83b7f7d30037a4d7b3e9ed10 (patch) | |
tree | ae2227bdfcf50dd6b74e86548ef64213d0bc5a6d /devstack/plugin.sh | |
parent | ee0ed4de0d881b073541a66a10e9c01f92b0fdcc (diff) | |
parent | 4fe95fbaf36c3c441c83d67d2fbc6be4d305621a (diff) | |
download | trove-e7ef1dd72272f95c83b7f7d30037a4d7b3e9ed10.tar.gz |
Merge "Disable devstack image building for trove-scenario-mariadb-single CI job"
Diffstat (limited to 'devstack/plugin.sh')
-rw-r--r-- | devstack/plugin.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 5c545c15..66d9bdeb 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -357,9 +357,12 @@ function init_trove { --os-project-name ${ALT_TENANT_NAME} # build and upload sample Trove mysql instance if not set otherwise - if [[ ${TROVE_DISABLE_IMAGE_SETUP} != "TRUE" ]]; then - echo "Setup datastore image" + TROVE_DISABLE_IMAGE_SETUP=`echo ${TROVE_DISABLE_IMAGE_SETUP} | tr '[:upper:]' '[:lower:]'` + if [[ ${TROVE_DISABLE_IMAGE_SETUP} != "true" ]]; then + echo "Setup datastore image." _setup_minimal_image + else + echo "Skip datastore image building." fi # If no guest image is specified, skip remaining setup |