mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #108618 from eddiezane/ez/fix-flake-107702
Add env var to verify-typecheck for serial execution
This commit is contained in:
commit
fabfb03bd2
@ -34,8 +34,9 @@ make --no-print-directory -C "${KUBE_ROOT}" generated_files
|
|||||||
# that library doesn't work well with multiple modules. Until that is done,
|
# that library doesn't work well with multiple modules. Until that is done,
|
||||||
# force this tooling to run in a fake GOPATH.
|
# force this tooling to run in a fake GOPATH.
|
||||||
ret=0
|
ret=0
|
||||||
|
TYPECHECK_SERIAL="${TYPECHECK_SERIAL:-false}"
|
||||||
hack/run-in-gopath.sh \
|
hack/run-in-gopath.sh \
|
||||||
go run test/typecheck/main.go "$@" || ret=$?
|
go run test/typecheck/main.go "$@" "--serial=$TYPECHECK_SERIAL" || ret=$?
|
||||||
if [[ $ret -ne 0 ]]; then
|
if [[ $ret -ne 0 ]]; then
|
||||||
echo "!!! Type Check has failed. This may cause cross platform build failures." >&2
|
echo "!!! Type Check has failed. This may cause cross platform build failures." >&2
|
||||||
echo "!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information." >&2
|
echo "!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information." >&2
|
||||||
|
Loading…
Reference in New Issue
Block a user