Added hot_deploy to deploy script
This commit is contained in:
parent
edb1473f13
commit
438cb1d7e0
@ -160,3 +160,19 @@ chmod -R 777 ${OPENSHIFT_REPO}.openshift/cron/minutely/poller
|
|||||||
echo "chmod done, permissions set to 777 on poller script."
|
echo "chmod done, permissions set to 777 on poller script."
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
|
echo "Check for the hot deploy marker at .openshift/markers/hot_deploy , if not created - create it"
|
||||||
|
|
||||||
|
if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy ]; then
|
||||||
|
|
||||||
|
touch ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy
|
||||||
|
|
||||||
|
echo "Done creating file .openshift/cron/minutely/poller"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "The hot deploy marker already exists"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
####
|
||||||
|
Reference in New Issue
Block a user