未验证 提交 bcba7349 编写于 作者: J Jenny Li 提交者: GitHub

[skip ci] Check docker before setup kind cluster (#11780)

Signed-off-by: NJenny Li <jing.li@zilliz.com>
上级 95eae52b
......@@ -255,6 +255,11 @@ if [[ -z "${SKIP_SETUP:-}" ]]; then
export DEFAULT_CLUSTER_YAML="${ROOT}/build/config/topology/trustworthy-jwt.yaml"
export METRICS_SERVER_CONFIG_DIR="${ROOT}/build/config/metrics"
if ! docker info > /dev/null 2>&1; then
echo "KinD need docker to set up cluster - please start docker and try again!"
exit 1
fi
if [[ "${TOPOLOGY}" == "SINGLE_CLUSTER" ]]; then
trace "setup kind cluster" setup_kind_cluster "${SINGLE_CLUSTER_NAME}" "${NODE_IMAGE}" "${KIND_CONFIG}"
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册