Switch to using a versioned ISO url.

pull/109/head
dlorenc 2016-05-24 15:05:27 -07:00 committed by Dan Lorenc
parent 4561a4d148
commit a8b12f7d78
3 changed files with 9 additions and 1 deletions

View File

@ -143,6 +143,6 @@ func setupKubeconfig(name, server, certAuth, cliCert, cliKey string) (activeCont
} }
func init() { func init() {
startCmd.Flags().StringVarP(&minikubeISO, "iso-url", "", "https://storage.googleapis.com/tinykube/minikube.iso", "Location of the minikube iso") startCmd.Flags().StringVarP(&minikubeISO, "iso-url", "", constants.DefaultIsoUrl, "Location of the minikube iso")
RootCmd.AddCommand(startCmd) RootCmd.AddCommand(startCmd)
} }

View File

@ -14,3 +14,9 @@ VBoxManage modifyvm foo --memory 1024 --vrde on --vrdeaddress 127.0.0.1 --vrdepo
``` ```
Then use the VirtualBox gui to start and open a session. Then use the VirtualBox gui to start and open a session.
## Release instructions
* Build an iso following the above build instructions.
* Test the iso with --iso-url=file:///$PATHTOISO.
* Push the new iso to GCS, with a new name (minikube-0x.iso) with a command like this: `gsutil cp $PATHTOISO gs://$BUCKET`
* Update the default URL in start.go.

View File

@ -38,3 +38,5 @@ const MinikubeContext = "minikube"
func MakeMiniPath(fileName string) string { func MakeMiniPath(fileName string) string {
return filepath.Join(Minipath, fileName) return filepath.Join(Minipath, fileName)
} }
const DefaultIsoUrl = "https://storage.googleapis.com/minikube/minikube-0.1.iso"