mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Modify verify-godeps to use v63 and hack
This commit is contained in:
parent
666da0ccdc
commit
07f1e58d9a
@ -71,7 +71,7 @@ cd "${_kubetmp}"
|
|||||||
go get -u github.com/tools/godep 2>/dev/null
|
go get -u github.com/tools/godep 2>/dev/null
|
||||||
GODEP="${GOPATH}/bin/godep"
|
GODEP="${GOPATH}/bin/godep"
|
||||||
pushd "${GOPATH}/src/github.com/tools/godep" > /dev/null
|
pushd "${GOPATH}/src/github.com/tools/godep" > /dev/null
|
||||||
git checkout v53
|
git checkout v63
|
||||||
"${GODEP}" go install
|
"${GODEP}" go install
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
@ -88,7 +88,8 @@ rm -rf ./Godeps ./vendor
|
|||||||
git init > /dev/null 2>&1
|
git init > /dev/null 2>&1
|
||||||
|
|
||||||
# Recreate the Godeps using the nice clean set we just downloaded
|
# Recreate the Godeps using the nice clean set we just downloaded
|
||||||
"${GODEP}" save ./...
|
# TODO(thockin, eparis): Move this in to a common script with hack/godep-save.sh
|
||||||
|
"${GODEP}" save github.com/ugorji/go/codec/codecgen github.com/onsi/ginkgo/ginkgo ./...
|
||||||
|
|
||||||
# Test for diffs
|
# Test for diffs
|
||||||
if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then
|
if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-matching-lines='^\s*\"Comment\":' ${KUBE_ROOT}/Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user