minikube: 0.17.1 -> 0.18.0

This commit is contained in:
Tim Steinbach 2017-04-08 18:13:48 -04:00
parent 33b4be33c3
commit 215e8e4020
No known key found for this signature in database
GPG Key ID: 472BFCCA96BD0EDA
1 changed files with 8 additions and 11 deletions

View File

@ -10,22 +10,19 @@ let
# (presumably because we don't have some static system libraries it wants), and cross-compiling cgo on Darwin is a nightmare. # (presumably because we don't have some static system libraries it wants), and cross-compiling cgo on Darwin is a nightmare.
# #
# Note that minikube can download (and cache) versions of localkube it needs on demand. Unfortunately, minikube's knowledge # Note that minikube can download (and cache) versions of localkube it needs on demand. Unfortunately, minikube's knowledge
# of where it can download versions of localkube seems to rely on a json file that doesn't get updated as often as we'd like, # of where it can download versions of localkube seems to rely on a json file that doesn't get updated as often as we'd like. So
# so for example it doesn't know about v1.5.3 even though there's a perfectly good version of localkube hosted there. So
# instead, we download localkube ourselves and shove it into the minikube binary. The versions URL that minikube uses is # instead, we download localkube ourselves and shove it into the minikube binary. The versions URL that minikube uses is
# currently https://storage.googleapis.com/minikube/k8s_releases.json. Note that we can't use 1.5.3 with minikube 0.17.1 # currently https://storage.googleapis.com/minikube/k8s_releases.json
# expects to be able to pass it a command-line argument that it doesn't understand. v1.5.4 and higher should be fine. There
# doesn't seem to ae any official release of localkube for 1.5.4 yet so I'm temporarily grabbing a version built from the localkube-version = "1.6.0";
# minikube CI server.
localkube-binary = fetchurl { localkube-binary = fetchurl {
url = "https://storage.googleapis.com/minikube-builds/1216/localkube"; url = "https://storage.googleapis.com/minikube/k8sReleases/v${localkube-version}/localkube-linux-amd64";
# url = "https://storage.googleapis.com/minikube/k8sReleases/v${kubernetes.version}/localkube-linux-amd64"; sha256 = "0zx0c9fwairvga1g1112l5g5pspm2m9wxb42qgfxfgyidywvirha";
sha256 = "1vqrsak7n045ci6af3rpgs2qwjnrqk8k7c3ax6wzli4m8vhsiv57";
}; };
in buildGoPackage rec { in buildGoPackage rec {
pname = "minikube"; pname = "minikube";
name = "${pname}-${version}"; name = "${pname}-${version}";
version = "0.17.1"; version = "0.18.0";
goPackagePath = "k8s.io/minikube"; goPackagePath = "k8s.io/minikube";
@ -33,7 +30,7 @@ in buildGoPackage rec {
owner = "kubernetes"; owner = "kubernetes";
repo = "minikube"; repo = "minikube";
rev = "v${version}"; rev = "v${version}";
sha256 = "1m61yipn0p3cfavjddhrg1rcmr0hv6k3zxvqqd9fisl79g0sdfsr"; sha256 = "0r8184xfsw7vvvmzhc18si582q41cnzka4ry151hwy56gmp2jyiw";
}; };
# kubernetes is here only to shut up a loud warning when generating the completions below. minikube checks very eagerly # kubernetes is here only to shut up a loud warning when generating the completions below. minikube checks very eagerly