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
51b5d28c
Unverified
Commit
51b5d28c
authored
Mar 21, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74333 from SataQiu/fix-shell-20190221
Fix some shellcheck failures in hack
parents
4c16fb78
112af136
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
12 deletions
+15
-12
.shellcheck_failures
hack/.shellcheck_failures
+0
-3
list-feature-tests.sh
hack/list-feature-tests.sh
+1
-1
verify-govet.sh
hack/verify-govet.sh
+10
-3
verify-staging-meta-files.sh
hack/verify-staging-meta-files.sh
+4
-5
No files found.
hack/.shellcheck_failures
View file @
51b5d28c
...
...
@@ -41,7 +41,6 @@
./hack/lib/swagger.sh
./hack/lib/test.sh
./hack/lib/version.sh
./hack/list-feature-tests.sh
./hack/local-up-cluster.sh
./hack/make-rules/clean.sh
./hack/make-rules/helpers/cache_go_dirs.sh
...
...
@@ -71,12 +70,10 @@
./hack/verify-codegen.sh
./hack/verify-description.sh
./hack/verify-golint.sh
./hack/verify-govet.sh
./hack/verify-import-boss.sh
./hack/verify-no-vendor-cycles.sh
./hack/verify-openapi-spec.sh
./hack/verify-readonly-packages.sh
./hack/verify-staging-meta-files.sh
./hack/verify-test-featuregates.sh
./test/cmd/apply.sh
./test/cmd/apps.sh
...
...
hack/list-feature-tests.sh
View file @
51b5d28c
...
...
@@ -19,5 +19,5 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
grep
"
\[
Feature:
\w
+
\]
"
"
${
KUBE_ROOT
}
"
/test/e2e/
**
/
*
.go
-Eoh
|
LC_ALL
=
C
sort
-u
hack/verify-govet.sh
View file @
51b5d28c
...
...
@@ -20,12 +20,19 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
# For help output
ARGHELP
=
""
if
[[
"$#"
-gt
0
]]
;
then
ARGHELP
=
"WHAT='
$
@
'"
ARGHELP
=
"WHAT='
$
*
'"
fi
make
--no-print-directory
-C
"
${
KUBE_ROOT
}
"
vet
WHAT
=
"
$@
"
echo
"NOTE:
$0
has been replaced by 'make vet'"
echo
echo
"The equivalent of this invocation is: "
echo
" make vet
${
ARGHELP
}
"
echo
echo
make
--no-print-directory
-C
"
${
KUBE_ROOT
}
"
vet
WHAT
=
"
$*
"
hack/verify-staging-meta-files.sh
View file @
51b5d28c
...
...
@@ -18,9 +18,7 @@ set -o errexit
set
-o
nounset
set
-o
pipefail
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
}
"
)
/..
staging_repos
=(
$(
ls
"
${
KUBE_ROOT
}
/staging/src/k8s.io/"
)
)
KUBE_ROOT
=
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
/..
expected_filenames
=(
.github/PULL_REQUEST_TEMPLATE.md
...
...
@@ -36,8 +34,9 @@ exceptions=(
)
RESULT
=
0
for
repo
in
${
staging_repos
[@]
}
;
do
for
filename
in
${
expected_filenames
[@]
}
;
do
for
full_repo_path
in
"
${
KUBE_ROOT
}
"
/staging/src/k8s.io/
*
;
do
repo
=
$(
basename
"
${
full_repo_path
}
"
)
for
filename
in
"
${
expected_filenames
[@]
}
"
;
do
if
echo
"
${
exceptions
[*]
}
"
|
grep
-F
"
${
repo
}
/
${
filename
}
"
>
/dev/null
;
then
continue
elif
[
!
-f
"
${
KUBE_ROOT
}
/staging/src/k8s.io/
${
repo
}
/
${
filename
}
"
]
;
then
...
...
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