File tree Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 44
44
./hack/lib/test.sh
45
45
./hack/lib/util.sh
46
46
./hack/lib/version.sh
47
- ./hack/list-feature-tests.sh
48
47
./hack/local-up-cluster.sh
49
48
./hack/make-rules/build.sh
50
49
./hack/make-rules/clean.sh
77
76
./hack/verify-codegen.sh
78
77
./hack/verify-description.sh
79
78
./hack/verify-golint.sh
80
- ./hack/verify-govet.sh
81
79
./hack/verify-import-boss.sh
82
80
./hack/verify-no-vendor-cycles.sh
83
81
./hack/verify-openapi-spec.sh
84
82
./hack/verify-readonly-packages.sh
85
- ./hack/verify-staging-meta-files.sh
86
83
./hack/verify-test-featuregates.sh
87
84
./test/cmd/apply.sh
88
85
./test/cmd/apps.sh
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ set -o errexit
19
19
set -o nounset
20
20
set -o pipefail
21
21
22
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
22
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
23
23
grep " \[Feature:\w+\]" " ${KUBE_ROOT} " /test/e2e/** /* .go -Eoh | LC_ALL=C sort -u
Original file line number Diff line number Diff line change @@ -20,12 +20,19 @@ set -o errexit
20
20
set -o nounset
21
21
set -o pipefail
22
22
23
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
23
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
24
24
25
25
# For help output
26
26
ARGHELP=" "
27
27
if [[ " $# " -gt 0 ]]; then
28
- ARGHELP=" WHAT='$@ '"
28
+ ARGHELP=" WHAT='$* '"
29
29
fi
30
30
31
- make --no-print-directory -C " ${KUBE_ROOT} " vet WHAT=" $@ "
31
+ echo " NOTE: $0 has been replaced by 'make vet'"
32
+ echo
33
+ echo " The equivalent of this invocation is: "
34
+ echo " make vet ${ARGHELP} "
35
+ echo
36
+ echo
37
+
38
+ make --no-print-directory -C " ${KUBE_ROOT} " vet WHAT=" $* "
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ set -o errexit
18
18
set -o nounset
19
19
set -o pipefail
20
20
21
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
21
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
22
22
23
- staging_repos=( $( ls " ${KUBE_ROOT} /staging/src/k8s.io/" ) )
23
+ IFS= " " read -r -a staging_repos <<< " $(ls " ${KUBE_ROOT} /staging/src/k8s.io/" )"
24
24
25
25
expected_filenames=(
26
26
.github/PULL_REQUEST_TEMPLATE.md
@@ -36,8 +36,8 @@ exceptions=(
36
36
)
37
37
38
38
RESULT=0
39
- for repo in ${staging_repos[@]} ; do
40
- for filename in ${expected_filenames[@]} ; do
39
+ for repo in " ${staging_repos[@]} " ; do
40
+ for filename in " ${expected_filenames[@]} " ; do
41
41
if echo " ${exceptions[*]} " | grep -F " ${repo} /${filename} " > /dev/null; then
42
42
continue
43
43
elif [ ! -f " ${KUBE_ROOT} /staging/src/k8s.io/${repo} /${filename} " ]; then
You can’t perform that action at this time.
0 commit comments