diff --git a/build/common.sh b/build/common.sh index c9c3f724f4c..e7921d93353 100755 --- a/build/common.sh +++ b/build/common.sh @@ -81,6 +81,7 @@ readonly LOCAL_OUTPUT_IMAGE_STAGING="${LOCAL_OUTPUT_ROOT}/images" # This is a symlink to binaries for "this platform" (e.g. build tools). readonly THIS_PLATFORM_BIN="${LOCAL_OUTPUT_ROOT}/bin" +readonly KUBE_GO_PACKAGE=k8s.io/kubernetes readonly REMOTE_ROOT="/go/src/${KUBE_GO_PACKAGE}" readonly REMOTE_OUTPUT_ROOT="${REMOTE_ROOT}/_output" readonly REMOTE_OUTPUT_SUBPATH="${REMOTE_OUTPUT_ROOT}/dockerized" diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 6af68ce42bc..3437414e2e2 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -16,8 +16,6 @@ # shellcheck disable=SC2034 # Variables sourced in other scripts. -# The golang package that we are building. -readonly KUBE_GO_PACKAGE=k8s.io/kubernetes readonly KUBE_GOPATH="${KUBE_GOPATH:-"${KUBE_OUTPUT}/go"}" export KUBE_GOPATH