Merge pull request #92491 from BenTheElder/fuzz-only-test

compile out gofuzz from prod binaries
This commit is contained in:
Kubernetes Prow Robot
2020-08-27 17:57:36 -07:00
committed by GitHub
9 changed files with 124 additions and 47 deletions

View File

@@ -793,7 +793,7 @@ kube::golang::build_binaries() {
# extract tags if any specified in GOFLAGS
# shellcheck disable=SC2001
gotags="selinux,$(echo "${GOFLAGS:-}" | sed -e 's|.*-tags=\([^-]*\).*|\1|')"
gotags="selinux,notest,$(echo "${GOFLAGS:-}" | sed -e 's|.*-tags=\([^-]*\).*|\1|')"
local -a targets=()
local arg