source ${CONFIG_FILE}
+ set -x
+
git add -A
- git commit -m"prepare for deploy"
+ if ! git diff --cached --exit-code ; then
+ git commit -m"prepare for deploy"
+ fi
for NODE in "${!NODES[@]}"
do
if test $NODE = localhost ; then
sudo ./provision.sh --config local.params --roles ${NODES[$NODE]}
else
- if ! ssh $NODE test -d arvados-setup.git ; then
+ if ! ssh $NODE test -d arvados-setup ; then
ssh $NODE git init --bare arvados-setup.git
git remote add $NODE $DEPLOY_USER@$NODE:arvados-setup.git
git push $NODE