Fixed remote host and case condition
Change-Id: I57acbac9455dd2eac499c21ff0c5bdeb4234923a
This commit is contained in:
@@ -73,7 +73,7 @@ function prepare_component()
|
||||
return 1
|
||||
fi
|
||||
case $COMPONENT_NAME in
|
||||
murano-dashboard)
|
||||
"murano-dashboard")
|
||||
case $distro_based_on in
|
||||
"debian")
|
||||
WEB_SERVICE_SYSNAME="apache2"
|
||||
@@ -99,7 +99,7 @@ function prepare_component()
|
||||
fi
|
||||
service $WEB_SERVICE_SYSNAME restart || retval=$?
|
||||
;;
|
||||
murano-api)
|
||||
"murano-api")
|
||||
echo "Handling \"$COMPONENT_NAME\" for future use"
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -87,8 +87,8 @@ function run_component_deploy()
|
||||
retval=1
|
||||
else
|
||||
local component=$1
|
||||
echo "Running: sudo bash -x ${CI_ROOT_DIR}/infra/deploy_component_new.sh $ZUUL_REF $component noop $ZUUL_URL"
|
||||
sudo bash -x ${CI_ROOT_DIR}/infra/deploy_component_new.sh $ZUUL_REF $component noop $ZUUL_URL
|
||||
echo "Running: sudo bash -x ${CI_ROOT_DIR}/infra/deploy_component_new.sh $ZUUL_REF $component $KEYSTONE_URL $ZUUL_URL"
|
||||
sudo bash -x ${CI_ROOT_DIR}/infra/deploy_component_new.sh $ZUUL_REF $component $KEYSTONE_URL $ZUUL_URL
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "\"${FUNCNAME[0]}\" return error!"
|
||||
retval=1
|
||||
|
||||
Reference in New Issue
Block a user