Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Build of sigs.k8s.io/kind now requires gomodules
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco committed May 9, 2019
1 parent b00fe6e commit 0b20851
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/e2e-golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion test/e2e/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
cd $REPO_ROOT

echo ">>> Installing kind"
sudo cp $GOPATH/bin/kind /usr/local/bin/
Expand Down

0 comments on commit 0b20851

Please sign in to comment.