A few tweaks to our hack/* scripts for updating k8s.

pull/1745/head
dlorenc 2017-07-25 10:33:48 -07:00 committed by dlorenc
parent 45408b7fbb
commit 9f1a6bf920
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ godep::sync_staging
rm -rf ${MINIKUBE_ROOT}/vendor ${MINIKUBE_ROOT}/Godeps
godep save ./...
cp ${KUBE_ROOT}/pkg/generated/openapi/zz_generated.openapi.go ${MINIKUBE_ROOT}/vendor/k8s.io/kubernetes/pkg/generated/openapi
cp -r ${KUBE_ROOT}/bazel-genfiles/pkg/generated/openapi ${MINIKUBE_ROOT}/vendor/k8s.io/kubernetes/pkg/generated/
godep::remove_staging_from_json
git checkout -- ${MINIKUBE_ROOT}/vendor/golang.org/x/sys/windows