mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Stop pinning to version v53
This commit is contained in:
parent
5543e2e3fd
commit
ad3e18d60c
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user