improve robustness of spin_up_deployment.sh
Merge branch 'master' of https://github.com/simonsdave/yar