Merge pull request #8182 from rifelpet/fix-verify-staticcheck

Fix verify-staticcheck prow job
This commit is contained in:
Kubernetes Prow Robot 2019-12-22 18:27:33 -08:00 committed by GitHub
commit 4fedf8122f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -553,7 +553,7 @@ verify-bazel:
hack/verify-bazel.sh
.PHONY: verify-staticcheck
verify-staticcheck:
verify-staticcheck: ${BINDATA_TARGETS}
hack/verify-staticcheck.sh
# ci target is for developers, it aims to cover all the CI jobs

View File

@ -1,12 +1,10 @@
cloudmock/aws/mockelbv2
cmd/kops
dnsprovider/pkg/dnsprovider
dnsprovider/pkg/dnsprovider/providers/aws/route53
dnsprovider/pkg/dnsprovider/providers/coredns
dnsprovider/pkg/dnsprovider/providers/google/clouddns
dnsprovider/pkg/dnsprovider/providers/google/clouddns/internal
dnsprovider/pkg/dnsprovider/providers/google/clouddns/internal/stubs
dnsprovider/pkg/dnsprovider/providers/openstack/designate
node-authorizer/pkg/authorizers/aws
node-authorizer/pkg/server
pkg/instancegroups

View File

@ -66,6 +66,8 @@ go install k8s.io/kops/vendor/honnef.co/go/tools/cmd/staticcheck
cd "${KUBE_ROOT}"
make upup/models/bindata.go
# Check that the file is in alphabetical order
failure_file="${KUBE_ROOT}/hack/.staticcheck_failures"
if ! diff -u "${failure_file}" <(LC_ALL=C sort "${failure_file}"); then