File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed
vertical-pod-autoscaler/hack Expand file tree Collapse file tree 3 files changed +5
-15
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -20,11 +20,10 @@ set -o pipefail
2020
2121echo " verify-kubelint"
2222
23- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
24- cd " ${KUBE_ROOT} "
25- ROOT_DIR=" $PWD "
23+ HACK_DIR=" $PWD "
24+ VPA_ROOT=" ${HACK_DIR} /.."
2625
27- TOOLS_DIR=" ${ROOT_DIR} /hack/ tools"
26+ TOOLS_DIR=" ${HACK_DIR} / tools/kube-api-linter "
2827TOOLS_BIN_DIR=" ${TOOLS_DIR} /bin"
2928
3029GOLANGCI_LINT_BIN=${GOLANGCI_LINT_BIN:- " golangci-lint" }
@@ -33,15 +32,6 @@ GOLANGCI_LINT_CONFIG_PATH=${GOLANGCI_LINT_CONFIG_PATH:-"${TOOLS_DIR}/.golangci-k
3332
3433echo " creating custom golangci linter"
3534cd " ${TOOLS_DIR} " ; " ${GOLANGCI_LINT_BIN} " custom
35+ cd " ${VPA_ROOT} "
3636
37- cd " ${ROOT_DIR} "
38-
39- PACKAGES=(
40- " ${ROOT_DIR} /cluster-autoscaler"
41- " ${ROOT_DIR} /vertical-pod-autoscaler"
42- )
43-
44- for package in " ${PACKAGES[@]} " ; do
45- cd " ${package} "
46- " ${GOLANGCI_LINT_KAL_BIN} " run -v --config " ${GOLANGCI_LINT_CONFIG_PATH} "
47- done
37+ " ${GOLANGCI_LINT_KAL_BIN} " run -v --config " ${GOLANGCI_LINT_CONFIG_PATH} "
You can’t perform that action at this time.
0 commit comments