diff --git a/LOCALKUBE_RELEASING.md b/LOCALKUBE_RELEASING.md new file mode 100644 index 0000000000..d32dac4f91 --- /dev/null +++ b/LOCALKUBE_RELEASING.md @@ -0,0 +1,40 @@ +# 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. + +## Build the Localkube Release +```shell +make out/localkube +``` + +## Upload to GCS: + +```shell +gsutil cp out/localkube gs://minikube/releases/$K8S_RELEASE/localkube-linux-amd64 +``` + +## Add the version to the k8s_releases.json file + +Add an entry **in the appropriate version location** to deploy/minikube/k8s_releases.json with the version, and send a PR. +This file lists the available versions of localkube for minikube. +Only add entries to this file that should be released to all users (no pre-release, alpha or beta releases). + +The schema for this file can be found in deploy/minikube/k8s_schema.json. + +An automated test to verify the schema runs in Travis before each submit. + +## Upload the releases.json file to GCS + +This step makes the new release trigger update notifications in old versions of Minikube. +Use this command from a clean git repo: + +```shell +gsutil cp deploy/minikube/releases.json gs://minikube/k8s_releases.json +``` + +## Mark the release as `latest` in GCS: + +```shell +gsutil cp -r gs://minikube/releases/$RELEASE gs://minikube/releases/latest +``` diff --git a/README.md b/README.md index 04f9e69f7a..b2798a941e 100644 --- a/README.md +++ b/README.md @@ -379,6 +379,12 @@ git add --all git commit -m "Manual changes to update Kubernetes to foo" ``` +## Steps to Release Minikube +The steps to release minikube can be found at [RELEASING.md](https://github.com/kubernetes/minikube/blob/master/RELEASING.md) + +## Steps to Release Localkube +The steps to release localkube can be found at [LOCALKUBE_RELEASING.md](https://github.com/kubernetes/minikube/blob/master/LOCALKUBE_RELEASING.md) + ## Community Contributions, questions, and comments are all welcomed and encouraged! minkube developers hang out on [Slack](https://kubernetes.slack.com) in the #minikube channel (get an invitation [here](http://slack.kubernetes.io/)). We also have the [kubernetes-dev Google Groups mailing list](https://groups.google.com/forum/#!forum/kubernetes-dev). If you are posting to the list please prefix your subject with "minikube: ".