parent
c9345b0d18
commit
30b349ea49
12
run.sh
12
run.sh
@ -121,6 +121,12 @@ while true; do
|
|||||||
$EXTRA_UNDEPLOY_OPTS \
|
$EXTRA_UNDEPLOY_OPTS \
|
||||||
$UPDATE_OPTS \
|
$UPDATE_OPTS \
|
||||||
--discover
|
--discover
|
||||||
|
rc=$?
|
||||||
|
if [ $rc -eq 0 ]; then
|
||||||
|
echo "############ UNDEPLOY SUCCESS #############"
|
||||||
|
else
|
||||||
|
echo "############ UNDEPLOY FAILURE $rc #############"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "############ DEPLOY #############"
|
echo "############ DEPLOY #############"
|
||||||
laconic-so deploy-webapp-from-registry \
|
laconic-so deploy-webapp-from-registry \
|
||||||
@ -139,6 +145,12 @@ while true; do
|
|||||||
$EXTRA_DEPLOY_OPTS \
|
$EXTRA_DEPLOY_OPTS \
|
||||||
$UPDATE_OPTS \
|
$UPDATE_OPTS \
|
||||||
--discover
|
--discover
|
||||||
|
rc=$?
|
||||||
|
if [ $rc -eq 0 ]; then
|
||||||
|
echo "############ DEPLOY SUCCESS #############"
|
||||||
|
else
|
||||||
|
echo "############ DEPLOY FAILURE $rc #############"
|
||||||
|
fi
|
||||||
|
|
||||||
# Cleanup any build leftovers
|
# Cleanup any build leftovers
|
||||||
if [[ "${SYSTEM_PRUNE:-false}" == "true" ]]; then
|
if [[ "${SYSTEM_PRUNE:-false}" == "true" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user