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
dd7acdcd
Commit
dd7acdcd
authored
Feb 18, 2019
by
xichengliudui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make more of the shell pass lints
parent
197941a6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
31 deletions
+24
-31
.shellcheck_failures
hack/.shellcheck_failures
+0
-7
e2e-cluster-size.sh
hack/e2e-internal/e2e-cluster-size.sh
+3
-3
e2e-down.sh
hack/e2e-internal/e2e-down.sh
+3
-3
e2e-grow-cluster.sh
hack/e2e-internal/e2e-grow-cluster.sh
+5
-5
e2e-shrink-cluster.sh
hack/e2e-internal/e2e-shrink-cluster.sh
+5
-5
e2e-status.sh
hack/e2e-internal/e2e-status.sh
+3
-3
e2e-up.sh
hack/e2e-internal/e2e-up.sh
+3
-3
e2e-node-test.sh
hack/e2e-node-test.sh
+2
-2
No files found.
hack/.shellcheck_failures
View file @
dd7acdcd
...
@@ -45,13 +45,6 @@
...
@@ -45,13 +45,6 @@
./hack/build-cross.sh
./hack/build-cross.sh
./hack/build-go.sh
./hack/build-go.sh
./hack/cherry_pick_pull.sh
./hack/cherry_pick_pull.sh
./hack/e2e-internal/e2e-cluster-size.sh
./hack/e2e-internal/e2e-down.sh
./hack/e2e-internal/e2e-grow-cluster.sh
./hack/e2e-internal/e2e-shrink-cluster.sh
./hack/e2e-internal/e2e-status.sh
./hack/e2e-internal/e2e-up.sh
./hack/e2e-node-test.sh
./hack/generate-bindata.sh
./hack/generate-bindata.sh
./hack/generate-docs.sh
./hack/generate-docs.sh
./hack/get-build.sh
./hack/get-build.sh
...
...
hack/e2e-internal/e2e-cluster-size.sh
View file @
dd7acdcd
...
@@ -18,10 +18,10 @@ set -o errexit
...
@@ -18,10 +18,10 @@ set -o errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
:
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
:
"
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
"
:
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
:
"
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
"
export
KUBECTL KUBE_CONFIG_FILE
export
KUBECTL KUBE_CONFIG_FILE
...
...
hack/e2e-internal/e2e-down.sh
View file @
dd7acdcd
...
@@ -18,10 +18,10 @@ set -o errexit
...
@@ -18,10 +18,10 @@ set -o errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
:
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
:
"
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
"
:
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
:
"
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
"
export
KUBECTL KUBE_CONFIG_FILE
export
KUBECTL KUBE_CONFIG_FILE
...
...
hack/e2e-internal/e2e-grow-cluster.sh
View file @
dd7acdcd
...
@@ -14,18 +14,18 @@
...
@@ -14,18 +14,18 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
if
[[
!
-z
"
${
1
:-}
"
]]
;
then
if
[[
-n
"
${
1
:-}
"
]]
;
then
export
KUBE_GCE_ZONE
=
"
${
1
}
"
export
KUBE_GCE_ZONE
=
"
${
1
}
"
fi
fi
if
[[
!
-z
"
${
2
:-}
"
]]
;
then
if
[[
-n
"
${
2
:-}
"
]]
;
then
export
MULTIZONE
=
"
${
2
}
"
export
MULTIZONE
=
"
${
2
}
"
fi
fi
if
[[
!
-z
"
${
3
:-}
"
]]
;
then
if
[[
-n
"
${
3
:-}
"
]]
;
then
export
KUBE_REPLICATE_EXISTING_MASTER
=
"
${
3
}
"
export
KUBE_REPLICATE_EXISTING_MASTER
=
"
${
3
}
"
fi
fi
if
[[
!
-z
"
${
4
:-}
"
]]
;
then
if
[[
-n
"
${
4
:-}
"
]]
;
then
export
KUBE_USE_EXISTING_MASTER
=
"
${
4
}
"
export
KUBE_USE_EXISTING_MASTER
=
"
${
4
}
"
fi
fi
if
[[
-z
"
${
NUM_NODES
:-}
"
]]
;
then
if
[[
-z
"
${
NUM_NODES
:-}
"
]]
;
then
...
...
hack/e2e-internal/e2e-shrink-cluster.sh
View file @
dd7acdcd
...
@@ -14,18 +14,18 @@
...
@@ -14,18 +14,18 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
if
[[
!
-z
"
${
1
:-}
"
]]
;
then
if
[[
-n
"
${
1
:-}
"
]]
;
then
export
KUBE_GCE_ZONE
=
"
${
1
}
"
export
KUBE_GCE_ZONE
=
"
${
1
}
"
fi
fi
if
[[
!
-z
"
${
2
:-}
"
]]
;
then
if
[[
-n
"
${
2
:-}
"
]]
;
then
export
MULTIZONE
=
"
${
2
}
"
export
MULTIZONE
=
"
${
2
}
"
fi
fi
if
[[
!
-z
"
${
3
:-}
"
]]
;
then
if
[[
-n
"
${
3
:-}
"
]]
;
then
export
KUBE_DELETE_NODES
=
"
${
3
}
"
export
KUBE_DELETE_NODES
=
"
${
3
}
"
fi
fi
if
[[
!
-z
"
${
4
:-}
"
]]
;
then
if
[[
-n
"
${
4
:-}
"
]]
;
then
export
KUBE_USE_EXISTING_MASTER
=
"
${
4
}
"
export
KUBE_USE_EXISTING_MASTER
=
"
${
4
}
"
fi
fi
...
...
hack/e2e-internal/e2e-status.sh
View file @
dd7acdcd
...
@@ -18,10 +18,10 @@ set -o errexit
...
@@ -18,10 +18,10 @@ set -o errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
:
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
:
"
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
"
:
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
:
"
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
"
export
KUBECTL KUBE_CONFIG_FILE
export
KUBECTL KUBE_CONFIG_FILE
...
...
hack/e2e-internal/e2e-up.sh
View file @
dd7acdcd
...
@@ -18,10 +18,10 @@ set -o errexit
...
@@ -18,10 +18,10 @@ set -o errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/../..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/../..
:
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
:
"
${
KUBECTL
:
=
${
KUBE_ROOT
}
/cluster/kubectl.sh
}
"
:
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
:
"
${
KUBE_CONFIG_FILE
:
=
"config-test.sh"
}
"
export
KUBECTL KUBE_CONFIG_FILE
export
KUBECTL KUBE_CONFIG_FILE
...
...
hack/e2e-node-test.sh
View file @
dd7acdcd
...
@@ -20,7 +20,7 @@ set -o errexit
...
@@ -20,7 +20,7 @@ set -o errexit
set
-o
nounset
set
-o
nounset
set
-o
pipefail
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
# For help output
# For help output
ARGHELP
=
""
ARGHELP
=
""
...
@@ -40,4 +40,4 @@ echo "The equivalent of this invocation is: "
...
@@ -40,4 +40,4 @@ echo "The equivalent of this invocation is: "
echo
" make test-e2e-node
${
ARGHELP
}
"
echo
" make test-e2e-node
${
ARGHELP
}
"
echo
echo
echo
echo
make
--no-print-directory
-C
"
${
KUBE_ROOT
}
"
test-e2e-node
FOCUS
=
${
FOCUS
:-}
SKIP
=
${
SKIP
:-}
make
--no-print-directory
-C
"
${
KUBE_ROOT
}
"
test-e2e-node
FOCUS
=
"
${
FOCUS
:-}
"
SKIP
=
"
${
SKIP
:-}
"
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