mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Disable verify-test-owners.sh and make go vet
more obvious
This commit is contained in:
parent
1955ed614f
commit
05c09b1aa3
@ -26,6 +26,7 @@ EXCLUDED_CHECKS=(
|
|||||||
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
|
"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-govet.sh" # it has a separate make vet target
|
||||||
"verify-staging-client-go.sh" # TODO: enable the script after 1.5 code freeze
|
"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 {
|
function is-excluded {
|
||||||
|
@ -46,4 +46,5 @@ if [[ ${#targets[@]} -eq 0 ]]; then
|
|||||||
targets=$(go list -e ./... | egrep -v "/(third_party|vendor|staging|clientset_generated)/")
|
targets=$(go list -e ./... | egrep -v "/(third_party|vendor|staging|clientset_generated)/")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
go vet "${goflags[@]:+${goflags[@]}}" ${targets[@]}
|
go vet "${goflags[@]:+${goflags[@]}}" ${targets[@]}
|
||||||
|
@ -24,6 +24,5 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
|
|||||||
cd "${KUBE_ROOT}"
|
cd "${KUBE_ROOT}"
|
||||||
if ! hack/update_owners.py --check; then
|
if ! hack/update_owners.py --check; then
|
||||||
echo 'Run ./hack/update_owners.py to fix it'
|
echo 'Run ./hack/update_owners.py to fix it'
|
||||||
exit # TODO(rmmh): fix Github merging to respect .gitattributes
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user