Skip to content

Commit

Permalink
Disable verify-test-owners.sh and make go vet more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Dec 21, 2016
1 parent 1955ed6 commit 05c09b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hack/make-rules/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ EXCLUDED_CHECKS=(
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
"verify-govet.sh" # it has a separate make vet target
"verify-staging-client-go.sh" # TODO: enable the script after 1.5 code freeze
"verify-test-owners.sh" # TODO(rmmh): figure out how to avoid endless conflicts
)

function is-excluded {
Expand Down
1 change: 1 addition & 0 deletions hack/make-rules/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ if [[ ${#targets[@]} -eq 0 ]]; then
targets=$(go list -e ./... | egrep -v "/(third_party|vendor|staging|clientset_generated)/")
fi

set -x
go vet "${goflags[@]:+${goflags[@]}}" ${targets[@]}
1 change: 0 additions & 1 deletion hack/verify-test-owners.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
cd "${KUBE_ROOT}"
if ! hack/update_owners.py --check; then
echo 'Run ./hack/update_owners.py to fix it'
exit # TODO(rmmh): fix Github merging to respect .gitattributes
exit 1
fi

0 comments on commit 05c09b1

Please sign in to comment.