Stop pinning to version v53

This commit is contained in:
Eric Paris 2016-03-10 13:30:53 -05:00
parent 5543e2e3fd
commit ad3e18d60c
2 changed files with 8 additions and 15 deletions

View File

@ -196,17 +196,6 @@ export GOPATH=$HOME/go-tools
export PATH=$PATH:$GOPATH/bin
```
Note:
At this time, godep update in the Kubernetes project only works properly if your
version of godep is < 54.
To check your version of godep:
```sh
$ godep version
godep v53 (linux/amd64/go1.5.3)
```
### Using godep
Here's a quick walkthrough of one way to use godeps to add or update a

View File

@ -70,10 +70,14 @@ cd "${_kubetmp}"
# Build the godep tool
go get -u github.com/tools/godep 2>/dev/null
GODEP="${GOPATH}/bin/godep"
pushd "${GOPATH}/src/github.com/tools/godep" > /dev/null
git checkout v63
"${GODEP}" go install
popd > /dev/null
pin-godep() {
pushd "${GOPATH}/src/github.com/tools/godep" > /dev/null
git checkout "$1"
"${GODEP}" go install
popd > /dev/null
}
# Use to following if we ever need to pin godep to a specific version again
#pin-godep 'v63'
# Fill out that nice clean place with the kube godeps
echo "Starting to download all kubernetes godeps. This takes a while"