diff --git a/test/e2e/e2e-golang.sh b/test/e2e/e2e-golang.sh index 3443d25cf..dad56278a 100755 --- a/test/e2e/e2e-golang.sh +++ b/test/e2e/e2e-golang.sh @@ -2,11 +2,11 @@ set -o errexit -GO_VERSION=1.11.4 +GO_VERSION=1.12.5 echo ">>> Installing go ${GO_VERSION}" curl -O https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz -tar -xf go1.11.4.linux-amd64.tar.gz +tar -xf go${GO_VERSION}.linux-amd64.tar.gz sudo rm -rf /usr/local/go sudo mv go /usr/local diff --git a/test/e2e/e2e-kind.sh b/test/e2e/e2e-kind.sh index 6f8f0183b..99b845f84 100755 --- a/test/e2e/e2e-kind.sh +++ b/test/e2e/e2e-kind.sh @@ -12,7 +12,9 @@ chmod +x kubectl && \ sudo mv kubectl /usr/local/bin/ echo ">>> Building sigs.k8s.io/kind" -go get -u sigs.k8s.io/kind +cd $HOME +GO111MODULE="on" go get -u sigs.k8s.io/kind@master +cd $REPO_ROOT echo ">>> Installing kind" sudo cp $GOPATH/bin/kind /usr/local/bin/