Remove references to "GO111MODULE"

This commit is contained in:
Tim Hockin
2024-01-05 22:46:14 -08:00
parent 2a1147a434
commit e84adf611f
13 changed files with 9 additions and 25 deletions

View File

@@ -192,7 +192,7 @@ produceJUnitXMLReport() {
if ! command -v gotestsum >/dev/null 2>&1; then
kube::log::status "gotestsum not found; installing from hack/tools"
pushd "${KUBE_ROOT}/hack/tools" >/dev/null
GO111MODULE=on go install gotest.tools/gotestsum
go install gotest.tools/gotestsum
popd >/dev/null
fi
gotestsum --junitfile "${junit_xml_filename}" --raw-command cat "${junit_filename_prefix}"*.stdout
@@ -203,7 +203,7 @@ produceJUnitXMLReport() {
if ! command -v prune-junit-xml >/dev/null 2>&1; then
kube::log::status "prune-junit-xml not found; installing from hack/tools"
pushd "${KUBE_ROOT}/cmd/prune-junit-xml" >/dev/null
GO111MODULE=on go install .
go install .
popd >/dev/null
fi
prune-junit-xml "${junit_xml_filename}"