-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(script): better update of stage / prod servers ... git reset, etc...
- Loading branch information
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## | ||
## will copy the gl/data (mbtiles junk) over to servers | ||
## | ||
BDIR=`dirname $0` | ||
. $BDIR/bolt-base.sh | ||
|
||
echo "clear the cache..." | ||
for m in $CACHE_SERVERS | ||
do | ||
cmd="bolt command run \"./scripts/purge_disk_cache\" --targets $CACHE_USER@$m" | ||
echo $cmd | ||
eval $cmd | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## | ||
## will copy the gl/data (mbtiles junk) over to servers | ||
## | ||
BDIR=`dirname $0` | ||
. $BDIR/bolt-base.sh | ||
|
||
echo "these are the target servers:" | ||
for m in $MACHINES | ||
do | ||
echo " $m" | ||
done | ||
|
||
echo | ||
echo "and these are the http/apache/cache servers: $CACHE_SERVERS" | ||
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters