diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-16 21:02:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-16 21:02:57 +0000 |
commit | fd3cda9b3d8a977358542d1f20932c7122dc1de3 (patch) | |
tree | 6ce22e1aafe2dbe805b12dffc88fbd61130b794e /testing/kubernetes/APKBUILD | |
parent | efd78c8161460911e14880d8fcfb4b4cae3c8667 (diff) | |
download | aports-fd3cda9b3d8a977358542d1f20932c7122dc1de3.tar.bz2 aports-fd3cda9b3d8a977358542d1f20932c7122dc1de3.tar.xz |
testing/kubernetes: upgrade to 1.15.0
Diffstat (limited to 'testing/kubernetes/APKBUILD')
-rw-r--r-- | testing/kubernetes/APKBUILD | 66 |
1 files changed, 57 insertions, 9 deletions
diff --git a/testing/kubernetes/APKBUILD b/testing/kubernetes/APKBUILD index c810c6d5e0..87ec82d160 100644 --- a/testing/kubernetes/APKBUILD +++ b/testing/kubernetes/APKBUILD @@ -3,48 +3,96 @@ # Contributor: Tiago Ilieve <tiago.myhro@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=kubernetes -pkgver=1.14.3 -pkgrel=1 +pkgver=1.15.0 +pkgrel=0 pkgdesc="Container Cluster Manager for Docker" url="https://kubernetes.io/" arch="x86_64 armhf" license="Apache-2.0" options="!check" # Tests hang depends="bash" -makedepends="coreutils findutils go linux-headers rsync grep" +makedepends="coreutils findutils go go-bindata linux-headers rsync grep" source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/kubernetes/archive/v$pkgver.tar.gz ensure-cgo-usage.patch make-e2e_node-run-over-distro-bins.patch make-test-cmd-run-over-hyperkube-based-kubectl.patch - remove-apiserver-add-kube-prefix-for-hyperkube.patch - add-openrc-support.patch + bindata.patch + + kube-apiserver.initd + kube-apiserver.confd + kube-apiserver.logrotated + + kube-controller-manager.initd + kube-controller-manager.confd + kube-controller-manager.logrotated + + kube-proxy.initd + kube-proxy.confd + kube-proxy.logrotated + + kube-scheduler.initd + kube-scheduler.confd + kube-scheduler.logrotated + + kubelet.initd + kubelet.confd + kubelet.logrotated " build() { - KUBE_VERBOSE=2 make -j1 + make -j1 } package() { local binaries="hyperkube kube-apiserver kube-controller-manager + cloud-controller-manager kube-scheduler kubeadm kubectl kubelet kube-proxy" + for bin in $binaries; do + mkdir -p "$pkgdir"/var/log/$bin case "$CARCH" in arm*) install -Dm755 _output/local/bin/linux/arm/$bin "$pkgdir"/usr/bin/$bin ;; x86_64) install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin ;; esac done + install -d $pkgdir/var/lib/kubelet + + local i; for i in $source; do + case $i in + *.initd) install -Dm755 "$srcdir/$i" \ + "$pkgdir/etc/init.d/${i%.*}" ;; + *.confd) install -Dm644 "$srcdir/$i" \ + "$pkgdir/etc/conf.d/${i%.*}" ;; + *.logrotate) install -Dm644 "$srcdir/$i" \ + "$pkgdir/etc/logrotate.d/${i%.*}" ;; + esac + done } -sha512sums="3fab0b5f142644454d22abfc99454adb3d3055b132cf93b6a0f6a0088b6a7938835edee813611756e80a21b1473e62c179905d77d3f2288bd5c60c6a43e60361 kubernetes-1.14.3.tar.gz +sha512sums="764268020e0fc27e8325058fefbc53200996e5a8f963c9156cf079425cdfed7545522ff8c779bfa074db8739e3ab97e829a049deaf0a0568f1434d7c1ed8446b kubernetes-1.15.0.tar.gz bfe072d2f53543b8d704319755f3cfe5ed2467b54879e22117a25a9d7d6d4d238356e45824deaf4d18b8e9eb6f34d1de43be4840b9906f7909478ffe9e8a65ff ensure-cgo-usage.patch 8faa8f1c777740ed33ac4e46e8e47e9092098b6e672cf57a10caab2212b9b5c6965361fe7107d1311227e6145e2ad312982dc0340feb36b03ebb04e1202366f0 make-e2e_node-run-over-distro-bins.patch d2d50f869160c266ec677be58f0401fb6446129de3e194b4c8599a6a8000d42290de553ee07b488fcdda80ffe94c640e0846ffbd7fbca94c5684d5f373e4c9f3 make-test-cmd-run-over-hyperkube-based-kubectl.patch -100d439c8c5114fc8ac5e2c40f536b89b6165907e94112358365901e57329f5c813c5bf8ea5da5aba71574efb973bc028cafb7b168f50c9fa5a6b019c31c3884 remove-apiserver-add-kube-prefix-for-hyperkube.patch -8aec0a1cda24fcd7001e34ff6163aee7eaf679dea953068b58df3578c016f70e1406903e032a51519bc16ac0dbe583159d1cf4d504adbb2930d811cc2f762cfe add-openrc-support.patch" +13f90690564664cc1d7ca26ed3f62fea42b84050f8fd2432ff16fce21d42c7a2e9935739ab4dcb01b5289879522ecdd2d00bfe01337c3836766ce430f513245f bindata.patch +8f4c98fe007ead2528f8efdb1117a752230d1c4039bc91fad5caf2919aa19f3fbe866c0b96b801cf4ed43d949e79da907003666fa447e4eda9b71e7d818c5315 kube-apiserver.initd +7e3baab9b034e7048ed3cda8d09444c76369874cecc0a747fb5484c482fef464adb5ccc25fcb4481fb4aff68415a60462f6cbee2138810316f0cf822637676c1 kube-controller-manager.initd +24b8f8990b54d92ad03e2b9a0605260df5462d2565213171e0f1044516f2b5cbbb2d893cd6697c472cf7018723852927c62f4514d08ad844586bce5bab0b45cd kube-proxy.initd +151ea6f5cc36de9b83f0e5365579e33eea8002f9a03f5f61d195a349236e6baf192f701d3fb591b769aa90e8e1e620d525b20c95a1e8cda58d062971d8f587a3 kube-scheduler.initd +6f8268eb8626d2e5d884e8a714861abebc92f1e7ebc9d50ab6d122fdec4e88aa672a3df900c3ce1deac36ba9991c914d7564adc0ef0e965b5975a86d51874962 kubelet.initd +302b2a7ec715967c0aa7d1c177d4e55b26e37ebba8d04dd37ecf627d20042fe91cd7e6192ff9d71422129b0ea54a9eec6046f505af550548bd450998924f37ee kube-apiserver.confd +347dcf514abec4bc94036955d0fb2d32f141a39d1a70d7fb37e7bf8eb5792e5c29560d500a08aafcd3e19422d04466004b832bca7108eb2815610feb144688fe kube-controller-manager.confd +4c8c34ae8668bcfa5167c2d2af006fc46b461a5dafb3ec5b64cb8cdf2a830c22ddb5cf806c93b1404f60dabf91b4153724947fa2d2c494376f20e637eeed5018 kube-proxy.confd +af88b382ab75657d0ff13c3f8f6d924cef9f2df7807a9a27daa63495981801bc4b607998f65c0758c11a7e070e43c24f7184ba7720711109c74b1c4d57919e34 kube-scheduler.confd +2ae3bbc8a66da644b59d7f753294ad43d5675edbe2e4769b91d7c988d0eeffd5b4209a10650ad937f9698b1b6050279d448c75274815a6b348ad2023f2fef08e kubelet.confd +1a4bcd54dafaedc614e34bbadc2a1163f003b5925d47552fb2c47049c033c147e612171e263d9659d189fc2d95688a0b7153322d8dba97c083c079fdef6c400e kube-apiserver.logrotated +e00cd9297d8ac75fcd504a2bfb80d5c5e145e7d475dd15edf9361dc28721afdc069c5b6e79438b75a774e972028841a17e8f7842dcfb3d7835c436a3e503704c kube-controller-manager.logrotated +d7e022ee22da191bda7382f87cb293d9c9d115a3df0c2054bf918279eb866f99c6d5c21e4c98eae84bacf925f7793bbe3087e0bcf6732ccb33844d15e4386fb5 kube-proxy.logrotated +3692da349dd6ed0f5acc09d7b95ac562ffecb103e2270bebdfe4a7808d48dada9d2debff262d85b11c47f9ca3f0c20000712d03629ed813ff08a3e02d69267e6 kube-scheduler.logrotated +dda5fb57b55926fd2e9cebe6c1593da699afba0398c58dfa8b923c53a9ae6e63d765778577211460047f20863a6095e8e2ab3e7769e38c4f6a1c55c0e3485501 kubelet.logrotated" |