tbe more informational when rsyncing - amprolla - devuan's apt repo merger
HTML git clone git://parazyd.org/amprolla.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a0b382bf60dfba2066a795a91fba4ad3b7339f2f
DIR parent 90c91e5ee6a05a79d4457ebeebc69a30d856fe48
HTML Author: parazyd <parazyd@dyne.org>
Date: Wed, 28 Jun 2017 20:09:17 +0200
be more informational when rsyncing
Diffstat:
M orchestrate.sh | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/orchestrate.sh b/orchestrate.sh
t@@ -11,8 +11,12 @@ while true; do
ln -snf "$REPO_ROOT"/merged-staging "$REPO_ROOT"/merged
# the break call is temporary to catch unhandled exceptions in the testing phase
python3 "$AMPROLLA_UPDATE" || break
+ printf "rsyncing volatile to production...\n"
rsync --delete -raX "$REPO_ROOT"/merged-volatile/* "$REPO_ROOT"/merged-production
+ printf "done!\n"
ln -snf "$REPO_ROOT"/merged-production "$REPO_ROOT"/merged
+ printf "rsyncing volatile to staging...\n"
rsync --delete -raX "$REPO_ROOT"/merged-volatile/* "$REPO_ROOT"/merged-staging
+ printf "done!\n"
sleep 3600
done