From 57a4c4d6ae935c62ac9ac1b5e4a116bc24e7d0c8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 14 Nov 2019 09:44:19 -0600 Subject: gn: Add kubernetes,crictl 1.13 --- gn/packages/kubernetes.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gn/packages/kubernetes.scm b/gn/packages/kubernetes.scm index 78753a8..d90b367 100644 --- a/gn/packages/kubernetes.scm +++ b/gn/packages/kubernetes.scm @@ -131,6 +131,23 @@ deployment, maintenance, and scaling of applications.") (propagated-inputs `(("crictl" ,crictl-1.14))))) +(define-public kubernetes-1.13 + (package + (inherit kubernetes) + (name "kubernetes") + (version "1.13.12") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kubernetes/kubernetes.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1drbd0qdj7pala78hda1aag2vq791sbk5a13c060a15d77ppnzwr")))) + (propagated-inputs + `(("crictl" ,crictl-1.13))))) + (define-public minikube (package (name "minikube") @@ -272,3 +289,27 @@ tools for Kubelet CRI.") (substitute* "Makefile" (("^VERSION .*") (string-append "VERSION := " ,version "\n"))) #t)))))))) + +(define-public crictl-1.13 + (package + (inherit crictl-1.15) + (name "crictl") + (version "1.13.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kubernetes-sigs/cri-tools.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xq3fvarx1x2bjyg3cj2jh3vz4lghb5mw2hhqb8ylflr8phd22cx")))) + (arguments + (substitute-keyword-arguments (package-arguments crictl-1.15) + ((#:phases phases) + `(modify-phases ,phases + (replace 'update-version + (lambda _ + (substitute* "Makefile" + (("^VERSION .*") (string-append "VERSION := " ,version "\n"))) + #t)))))))) -- cgit v1.2.3