未验证 提交 414bfe3c 编写于 作者: Q quicksilver 提交者: GitHub

[skip ci] Turn off logs display for docker remove kind network (#6425)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 99ed122d
......@@ -105,7 +105,7 @@ pipeline {
}
archiveArtifacts artifacts: "**.tar.gz", allowEmptyArchive: true
sh 'docker rm -f \$(docker network inspect -f \'{{ range \$key, \$value := .Containers }}{{ printf "%s " \$key}}{{ end }}\' kind) || true'
sh 'docker network rm kind 2>&1 > /dev/null || true'
sh 'docker network rm kind > /dev/null 2>&1 || true'
}
}
}
......
......@@ -111,7 +111,7 @@ pipeline {
}
archiveArtifacts artifacts: "**.tar.gz", allowEmptyArchive: true
sh 'docker rm -f \$(docker network inspect -f \'{{ range \$key, \$value := .Containers }}{{ printf "%s " \$key}}{{ end }}\' kind) || true'
sh 'docker network rm kind 2>&1 > /dev/null || true'
sh 'docker network rm kind > /dev/null 2>&1 || true'
}
}
}
......
......@@ -128,7 +128,7 @@ function cleanup_kind_cluster() {
if [[ -z "${SKIP_CLEANUP:-}" ]]; then
echo "Cleaning up kind cluster"
kind delete cluster --name "${NAME}" -v9 || true
docker network rm kind 2>&1 > /dev/null || true
docker network rm kind > /dev/null 2>&1 || true
fi
}
......@@ -163,7 +163,7 @@ function setup_kind_cluster() {
if ! (kind delete cluster --name="${NAME}" -v9) > /dev/null; then
echo "No existing kind cluster with name ${NAME}. Continue..."
else
docker network rm kind 2>&1 > /dev/null || true
docker network rm kind > /dev/null 2>&1 || true
fi
# explicitly disable shellcheck since we actually want $NAME to expand now
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册