mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
*.sh: cleanup all white noise
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
This commit is contained in:
@@ -76,7 +76,7 @@ function run_kube_apiserver() {
|
||||
}
|
||||
|
||||
# Runs run_kube_controller_manager
|
||||
#
|
||||
#
|
||||
# Exports:
|
||||
# CTLRMGR_PID
|
||||
function run_kube_controller_manager() {
|
||||
@@ -96,7 +96,7 @@ function run_kube_controller_manager() {
|
||||
|
||||
# Creates a node object with name 127.0.0.1. This is required because we do not
|
||||
# run kubelet.
|
||||
#
|
||||
#
|
||||
# Exports:
|
||||
# SUPPORTED_RESOURCES(Array of all resources supported by the apiserver).
|
||||
function create_node() {
|
||||
@@ -121,7 +121,7 @@ __EOF__
|
||||
# 2) $WHAT is not empty and kubeadm is part of $WHAT
|
||||
WHAT=${WHAT:-}
|
||||
if [[ ${WHAT} == "" || ${WHAT} =~ .*kubeadm.* ]] ; then
|
||||
kube::log::status "Running kubeadm tests"
|
||||
kube::log::status "Running kubeadm tests"
|
||||
|
||||
# build kubeadm
|
||||
make all -C "${KUBE_ROOT}" WHAT=cmd/kubeadm
|
||||
|
@@ -55,7 +55,7 @@ if [[ ! -d "${artifacts}" ]]; then
|
||||
fi
|
||||
echo "Test artifacts will be written to ${artifacts}"
|
||||
|
||||
# Test
|
||||
# Test
|
||||
kube::golang::verify_go_version
|
||||
|
||||
go run test/e2e_kubeadm/runner/local/run_local.go \
|
||||
|
@@ -46,7 +46,7 @@ extra_envs=${EXTRA_ENVS:-}
|
||||
|
||||
# Parse the flags to pass to ginkgo
|
||||
ginkgoflags=""
|
||||
if [[ ${parallelism} -gt 1 ]]; then
|
||||
if [[ ${parallelism} -gt 1 ]]; then
|
||||
ginkgoflags="${ginkgoflags} -nodes=${parallelism} "
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user