X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2F3deploy_site.sh;h=2e998d505b48b48c211fcd846f1598eb44640692;hb=d7d4c2ffe5721bdfde00bc622061e50a4ea7af7e;hp=f1ef2317424317c29a6403e0b7483c2d9ff4735c;hpb=23f30c07e1b783f37c8df3c08e59bf045c3f5129;p=yaml_builds.git diff --git a/tools/3deploy_site.sh b/tools/3deploy_site.sh index f1ef231..2e998d5 100755 --- a/tools/3deploy_site.sh +++ b/tools/3deploy_site.sh @@ -17,7 +17,7 @@ set -xe -LOGDIR="/var/log/yaml_builds" +LOGDIR="/var/log/akraino" mkdir -p $LOGDIR LOGFILE="$LOGDIR/${1}_$(date +"%Y%m%d%H%M%z")_$(basename $0|cut -d. -f1)" echo "logging to $LOGFILE" @@ -39,14 +39,23 @@ source $(dirname $0)/env_$SITE.sh ssh $GENESIS_HOST << EOF cd /root/akraino - bash configs/promenade-bundle/genesis.sh + echo "#######################################################" + echo "# Running genesis.sh script " + echo "#######################################################" + bash genesis.sh # Shipyard takes time to really come up and start responding. date sleep 900 # Following is a workaround, tested on dell servers. # TODO to be removed when not required. + echo "#######################################################" + echo "# Updating iptables " + echo "#######################################################" bash update_iptables.sh - bash deploy_site.sh + echo "#######################################################" + echo "# Running deploy_site.sh script " + echo "#######################################################" + #bash deploy_site.sh EOF exec 2>&-