Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
bc279da8
Commit
bc279da8
authored
Apr 04, 2019
by
SataQiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some shellcheck failures of cluster/*.sh
parent
4da579b6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
clientbin.sh
cluster/clientbin.sh
+1
-1
common.sh
cluster/common.sh
+1
-1
log-dump.sh
cluster/log-dump/log-dump.sh
+1
-1
util.sh
cluster/pre-existing/util.sh
+1
-1
test-e2e.sh
cluster/test-e2e.sh
+1
-1
test-network.sh
cluster/test-network.sh
+1
-1
test-smoke.sh
cluster/test-smoke.sh
+1
-1
validate-cluster.sh
cluster/validate-cluster.sh
+1
-1
No files found.
cluster/clientbin.sh
View file @
bc279da8
...
...
@@ -18,7 +18,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
${
KUBE_ROOT
:-$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
}
KUBE_ROOT
=
${
KUBE_ROOT
:-$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
}
# Detect the OS name/arch so that we can find our binary
case
"
$(
uname
-s
)
"
in
...
...
cluster/common.sh
View file @
bc279da8
...
...
@@ -20,7 +20,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
cd
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
&&
pwd
)
KUBE_ROOT
=
$(
cd
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
&&
pwd
)
DEFAULT_KUBECONFIG
=
"
${
HOME
:-
.
}
/.kube/config"
...
...
cluster/log-dump/log-dump.sh
View file @
bc279da8
...
...
@@ -63,7 +63,7 @@ readonly max_dump_processes=25
# TODO: Get rid of all the sourcing of bash dependencies eventually.
function
setup
()
{
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
if
[[
-z
"
${
use_custom_instance_list
}
"
]]
;
then
:
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
echo
"Sourcing kube-util.sh"
...
...
cluster/pre-existing/util.sh
View file @
bc279da8
...
...
@@ -18,7 +18,7 @@
# pre-existing Kubernetes master. See test/kubemark/pre-existing/README.md
# for me details on using a pre-existing provider.
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
source
"
${
KUBE_ROOT
}
/cluster/common.sh"
source
"
${
KUBE_ROOT
}
/hack/lib/util.sh"
...
...
cluster/test-e2e.sh
View file @
bc279da8
...
...
@@ -21,7 +21,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
source
"
${
KUBE_ROOT
}
/cluster/kube-util.sh"
echo
"Testing cluster with provider:
${
KUBERNETES_PROVIDER
}
"
1>&2
...
...
cluster/test-network.sh
View file @
bc279da8
...
...
@@ -24,7 +24,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
KUBE_CONFIG_FILE
=
"config-default.sh"
${
KUBE_ROOT
}
/hack/ginkgo-e2e.sh
--ginkgo
.focus
=
Networking
cluster/test-smoke.sh
View file @
bc279da8
...
...
@@ -23,7 +23,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
TEST_ARGS
=
"
$@
"
...
...
cluster/validate-cluster.sh
View file @
bc279da8
...
...
@@ -24,7 +24,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
if
[
-f
"
${
KUBE_ROOT
}
/cluster/env.sh"
]
;
then
source
"
${
KUBE_ROOT
}
/cluster/env.sh"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment