commit a0b382bf60dfba2066a795a91fba4ad3b7339f2f
parent 90c91e5ee6a05a79d4457ebeebc69a30d856fe48
Author: parazyd <parazyd@dyne.org>
Date: Wed, 28 Jun 2017 20:09:17 +0200
be more informational when rsyncing
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/orchestrate.sh b/orchestrate.sh
@@ -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