Do a sanity 'docker-compose ls' at the start, to make certain the
docker-compose files are syntactically valid.
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment