주소가 고정되어있던 SVN deploy 코드 폐기

This commit is contained in:
2018-02-03 05:22:07 +09:00
parent 9c6deadf11
commit 2516dd0166
7 changed files with 0 additions and 166 deletions
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
SAM=che
SRC=~/svn/trunk/sam/che/
TAR=~/www/sam/${SAM}/
ALT=~/www/sam/${SAM}/
if [ -e $TAR ]
then
echo The server is closed. Location: $TAR
rsync -av --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR
else
echo The server is on service. Location: $ALT
rsync -av --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT
fi
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash
SAM=hwe
SRC=~/svn/branches/che_devel/
TAR=~/www/sam/${SAM}/
ALT=~/www/sam/${SAM}/
if [ -e $TAR ]
then
echo The server is closed. Location: $TAR
rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR
else
echo The server is on service. Location: $ALT
rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT
fi
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash
SAM=kwe
SRC=~/svn/branches/che_devel/
TAR=~/www/sam/${SAM}/
ALT=~/www/sam/${SAM}/
if [ -e $TAR ]
then
echo The server is closed. Location: $TAR
rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR
else
echo The server is on service. Location: $ALT
rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT
fi
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash
SAM=pwe
SRC=~/svn/branches/che_devel/
TAR=~/www/sam/${SAM}/
ALT=~/www/sam/${SAM}/
if [ -e $TAR ]
then
echo The server is closed. Location: $TAR
rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR
else
echo The server is on service. Location: $ALT
rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT
fi
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash
SAM=twe
SRC=~/svn/branches/che_devel/
TAR=~/www/sam/${SAM}/
ALT=~/www/sam/${SAM}/
if [ -e $TAR ]
then
echo The server is closed. Location: $TAR
rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR
else
echo The server is on service. Location: $ALT
rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT
fi
-8
View File
@@ -1,8 +0,0 @@
#!/bin/bash
SRC=~/svn/trunk/sam/
TAR=~/www/sam/
echo Location: $SRC '<->' $TAR
rsync -avu --delete --exclude=.* --exclude=deploy* --exclude=d_* --exclude=e_* --exclude=che* --exclude=kwe* --exclude=pwe* --exclude=twe* --exclude=hwe* ~/svn/trunk/sam/ $TAR
-79
View File
@@ -1,79 +0,0 @@
#!/bin/bash
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] --- All start. ---
HOUR=`date -d "0 hours" "+%H"`
HOUR=`expr ${HOUR} + 0`
TAR=/home/jwh1807/www/sam/che/
if [ -e $TAR ]
then
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] che is closed.
else
curl 62che.com/sam/che/proc.php
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] che finish.
fi
if [ $HOUR -ge 9 -a $HOUR -lt 21 ]
then
TAR=/home/jwh1807/www/sam/kwe/
if [ -e $TAR ]
then
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] kwe is closed.
else
curl 62che.com/sam/kwe/proc.php
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] kwe finish.
fi
TAR=/home/jwh1807/www/sam/pwe/
if [ -e $TAR ]
then
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] pwe is closed.
else
curl 62che.com/sam/pwe/proc.php
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] pwe finish.
fi
TAR=/home/jwh1807/www/sam/twe/
if [ -e $TAR ]
then
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] twe is closed.
else
curl 62che.com/sam/twe/proc.php
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] twe finish.
fi
TAR=/home/jwh1807/www/sam/hwe/
if [ -e $TAR ]
then
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] hwe is closed.
else
curl 62che.com/sam/hwe/proc.php
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] hwe finish.
fi
else
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] Now is night.
fi
TIME=`date -d "0 hours" "+%H:%M:%S.%N"`
echo [$TIME] --- All finish. ---