git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution@131568 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a95e62e3af
commit
f21010a225
|
@ -48,14 +48,14 @@ fi
|
||||||
echo -e "\nRemoving resource profiles from the Information System\n"
|
echo -e "\nRemoving resource profiles from the Information System\n"
|
||||||
|
|
||||||
source ./load-env
|
source ./load-env
|
||||||
java org.gcube.smartgears.utils.sweeper.AppSweeperClient $apps 1>/dev/null
|
#java org.gcube.smartgears.utils.sweeper.AppSweeperClient $apps 1>/dev/null
|
||||||
|
|
||||||
if [ "$?" != "0" ]; then
|
#if [ "$?" != "0" ]; then
|
||||||
echo -e "\nCould no correctly sweep the profiles from the Information System"
|
# echo -e "\nCould no correctly sweep the profiles from the Information System"
|
||||||
echo -e "\nIn case of production deployment please contact the production admin"
|
# echo -e "\nIn case of production deployment please contact the production admin"
|
||||||
echo -e "\nIn case of dev deployment you can remove the state by hand by removing the $GHN_HOME/state/$apps folder"
|
# echo -e "\nIn case of dev deployment you can remove the state by hand by removing the $GHN_HOME/state/$apps folder"
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
echo "Removing application state $ghnhome/state/$apps"
|
echo "Removing application state $ghnhome/state/$apps"
|
||||||
|
|
|
@ -34,14 +34,15 @@ fi
|
||||||
echo -e "\nRemoving resource profiles from the Information System\n"
|
echo -e "\nRemoving resource profiles from the Information System\n"
|
||||||
|
|
||||||
source ./load-env
|
source ./load-env
|
||||||
java org.gcube.smartgears.utils.sweeper.ContainerSweeperClient 1>/dev/null
|
|
||||||
|
|
||||||
if [ "$?" != "0" ]; then
|
#java org.gcube.smartgears.utils.sweeper.ContainerSweeperClient 1>/dev/null
|
||||||
echo -e "\nCould no correctly sweep the profiles from the Information System"
|
|
||||||
echo -e "\nIn case of production deployment please contact the production admin"
|
#if [ "$?" != "0" ]; then
|
||||||
echo -e "\nIn case of dev deployment you can remove the state by hand by removing the $GHN_HOME/state folder"
|
# echo -e "\nCould no correctly sweep the profiles from the Information System"
|
||||||
exit 1
|
# echo -e "\nIn case of production deployment please contact the production admin"
|
||||||
fi
|
# echo -e "\nIn case of dev deployment you can remove the state by hand by removing the $GHN_HOME/state folder"
|
||||||
|
# exit 1
|
||||||
|
#fi
|
||||||
|
|
||||||
echo "Removing container state $ghnhome"
|
echo "Removing container state $ghnhome"
|
||||||
#removing folder
|
#removing folder
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue