From 91a0645bacb4e79cc2873052e539d8a604bd575e Mon Sep 17 00:00:00 2001 From: Giancarlo Rubio Date: Fri, 12 May 2017 13:07:50 +0200 Subject: [PATCH] fix broken links and scripts paths --- docs/contributors/releasing_localkube.md | 2 +- docs/contributors/updating_kubernetes.md | 8 ++++---- hack/godeps/utils.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/contributors/releasing_localkube.md b/docs/contributors/releasing_localkube.md index b445c502f6..625b3cc0bf 100644 --- a/docs/contributors/releasing_localkube.md +++ b/docs/contributors/releasing_localkube.md @@ -1,7 +1,7 @@ # Steps to Release Localkube ## Configure The Correct Kubernetes Version to Build for Localkube -When building localkube for a specific Kubernetes version, follow the steps at [Updating Kubernetes](https://github.com/kubernetes/minikube/blob/master/README.md#updating-kubernetes). After you have setup a new folder and GOPATH with the desired version of Kubernetes (from the directions above), you go on to build localkube. +When building localkube for a specific Kubernetes version, follow the steps at [Updating Kubernetes](https://github.com/kubernetes/minikube/blob/master/docs/contributors/updating_kubernetes.md). After you have setup a new folder and GOPATH with the desired version of Kubernetes (from the directions above), you go on to build localkube. ## Build the Localkube Release ```shell diff --git a/docs/contributors/updating_kubernetes.md b/docs/contributors/updating_kubernetes.md index 54bed2b48e..c3fd45766e 100644 --- a/docs/contributors/updating_kubernetes.md +++ b/docs/contributors/updating_kubernetes.md @@ -16,7 +16,7 @@ This isn't strictly necessary, but it usually helps. ```shell cd minikube - ./hack/godep/godep-restore.sh + ./hack/godeps/godep-restore.sh ``` 3. Kubernetes should now be on your GOPATH. Check it out to the right version. @@ -44,7 +44,7 @@ Make sure to also fetch tags, as Godep relies on these. ```shell git checkout $DESIREDTAG - ./hack/godep-restore.sh + ./hack/godeps/godep-restore.sh ``` 4. Build and test minikube, making any manual changes necessary to build. @@ -53,7 +53,7 @@ Make sure to also fetch tags, as Godep relies on these. ```shell cd $GOPATH/src/k8s.io/minikube - ./hack/godep/godep-save.sh + ./hack/godeps/godep-save.sh ``` 6. Verify that the correct tag is marked in the Godeps.json file by running this script: @@ -85,4 +85,4 @@ git add --all git commit -m "Manual changes to update Kubernetes to foo" ``` -As a final part of updating kubernetes, a new version of localkube should be uploaded to GCS so that users can select this version of kubernetes/localkube in later minikube/localkube builds. For instructions on how to do this, see [releasing_localkube.md](https://github.com/kubernetes/minikube/blob/master/docs/contributing/releasing_localkube.md) +As a final part of updating kubernetes, a new version of localkube should be uploaded to GCS so that users can select this version of kubernetes/localkube in later minikube/localkube builds. For instructions on how to do this, see [releasing_localkube.md](https://github.com/kubernetes/minikube/blob/master/docs/contributors/releasing_localkube.md) diff --git a/hack/godeps/utils.sh b/hack/godeps/utils.sh index 61d796ae25..5bf847a7ad 100644 --- a/hack/godeps/utils.sh +++ b/hack/godeps/utils.sh @@ -24,7 +24,7 @@ godep::ensure_godep_version() { return fi go get -d -u github.com/tools/godep 2>/dev/null - pushd "${GOPATH}/github.com/tools/godep" >/dev/null + pushd "${GOPATH}/src/github.com/tools/godep" >/dev/null git checkout "${GODEP_VERSION}" go install . popd >/dev/null