Install all apps from ./meta directory on devstack
Change-Id: I3c04c1f191b6c91a411aeccbc2faa2687d6c5d40 Partial-bug: #1624379
This commit is contained in:
parent
a54072af73
commit
cac1243709
|
@ -307,12 +307,17 @@ function configure_service_broker {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function prepare_core_library() {
|
function prepare_core_apps() {
|
||||||
cd $MURANO_DIR/meta/io.murano && zip -r io.murano.zip .
|
cd $MURANO_DIR/meta
|
||||||
|
for i in */
|
||||||
|
do pushd ./"$i"
|
||||||
|
zip -r ../"${i%/}.zip" *
|
||||||
|
popd
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_core_library_zip() {
|
function remove_core_apps_zip() {
|
||||||
rm -f $MURANO_DIR/meta/io.murano/io.murano.zip
|
rm -f $MURANO_DIR/meta/*.zip
|
||||||
}
|
}
|
||||||
|
|
||||||
# init_murano() - Initialize databases, etc.
|
# init_murano() - Initialize databases, etc.
|
||||||
|
@ -335,7 +340,7 @@ function init_murano_cfapi() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_core_library() {
|
function setup_core_library() {
|
||||||
prepare_core_library
|
prepare_core_apps
|
||||||
|
|
||||||
set_packages_service_backend
|
set_packages_service_backend
|
||||||
|
|
||||||
|
@ -347,9 +352,10 @@ function setup_core_library() {
|
||||||
--murano-url http://127.0.0.1:8082 \
|
--murano-url http://127.0.0.1:8082 \
|
||||||
--glare-url $GLANCE_SERVICE_PROTOCOL://$GLANCE_GLARE_HOSTPORT \
|
--glare-url $GLANCE_SERVICE_PROTOCOL://$GLANCE_GLARE_HOSTPORT \
|
||||||
--murano-packages-service $MURANO_PACKAGES_SERVICE \
|
--murano-packages-service $MURANO_PACKAGES_SERVICE \
|
||||||
package-import $MURANO_DIR/meta/io.murano/io.murano.zip \
|
package-import $MURANO_DIR/meta/*.zip \
|
||||||
--is-public
|
--is-public
|
||||||
remove_core_library_zip
|
|
||||||
|
remove_core_apps_zip
|
||||||
|
|
||||||
}
|
}
|
||||||
# install_murano() - Collect source and prepare
|
# install_murano() - Collect source and prepare
|
||||||
|
|
Loading…
Reference in New Issue