960ed550 by Adam Heath

Do a sanity 'docker-compose ls' at the start, to make certain the

docker-compose files are syntactically valid.
1 parent 22831374
...@@ -19,7 +19,9 @@ case "$1" in ...@@ -19,7 +19,9 @@ case "$1" in
19 exit 1 19 exit 1
20 ;; 20 ;;
21 esac 21 esac
22 22 if ! _compose ls 1>/dev/null 2>/dev/null; then
23 _compose ls
24 fi
23 "$APISERVER_DIR/scripts/ensure-certs.sh" "$CONTEXT_DIR" 25 "$APISERVER_DIR/scripts/ensure-certs.sh" "$CONTEXT_DIR"
24 "$APISERVER_DIR/scripts/wait-for-etcd.sh" "$CONTEXT_DIR" 26 "$APISERVER_DIR/scripts/wait-for-etcd.sh" "$CONTEXT_DIR"
25 27
......