diff options
Diffstat (limited to 'testing/kubernetes/APKBUILD')
-rw-r--r-- | testing/kubernetes/APKBUILD | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/testing/kubernetes/APKBUILD b/testing/kubernetes/APKBUILD index cc20ba13a0..ed38bf0436 100644 --- a/testing/kubernetes/APKBUILD +++ b/testing/kubernetes/APKBUILD @@ -1,53 +1,47 @@ -# Contributor: Mateusz Mikuła <matti@marinelayer.io> # Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Contributor: Mateusz Mikuła <matti@marinelayer.io> +# Contributor: Tiago Ilieve <tiago.myhro@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=kubernetes -pkgver=1.11.2 +pkgver=1.12.2 pkgrel=0 pkgdesc="Container Cluster Manager for Docker" -url="http://kubernetes.io/" +url="https://kubernetes.io/" arch="x86_64" -license="Apache" +license="Apache-2.0" options="!check" depends="bash" makedepends="bash coreutils findutils go linux-headers rsync grep" -source="$pkgname-$pkgver.tar.gz::https://dl.k8s.io/v$pkgver/kubernetes-src.tar.gz +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 - fix-support-for-ppc64le.patch remove-apiserver-add-kube-prefix-for-hyperkube.patch " -builddir="$srcdir"/build - -unpack() { - mkdir -p $builddir - tar -xf $srcdir/$pkgname-$pkgver.tar.gz -C $builddir -} build() { cd "$builddir" - make -j1 + KUBE_VERBOSE=2 make -j1 } package() { cd "$builddir" - binaries="kube-proxy + local binaries="hyperkube kube-apiserver kube-controller-manager - kubelet - kubeadm - hyperkube - kube-aggregator kube-scheduler - kubectl" + kubeadm + kubectl + kubelet + kube-proxy" for bin in $binaries; do install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin done install -d $pkgdir/var/lib/kubelet } -sha512sums="774410a5cebe99dc701350791dd1b213c1d5a9b3e176b6188aedcb5427d105309f69cbc5b9a318240a3108015e67ee1a443015ad436b4145d55fa43715bafbc3 kubernetes-1.11.2.tar.gz +sha512sums="7d59a28465ceacc0559da0436f0459192977447f622b9b1b7c323b2cc4a7c38d5a4100e00287c37251d1da641c04692813afa65df4051436b9144e438396cbb2 kubernetes-1.12.2.tar.gz +b7710dfe8a80f495e5eeb1d35d03179466bff4a3208d70591d1a9896709ec7383d17314d58eefc6ce1d6c23bd9b1ddf9b80886a8e39068761dd71f5e04cac1c3 ensure-cgo-usage.patch 06e3e8626b70077eb693da9c53dca3bc566aea4590a27c5dd3997b6d34abec5bf5d749b7be94b60b83361884c29b3a6dbb56c40b18c008b19e7cbd6e0d5c87e6 make-e2e_node-run-over-distro-bins.patch cf6d9a5e873603462f0b8de60d3c72b10cbe68175f621f814cb5a85c11cb18f408639181227dfae6718671109cd198ef8720ee15a7d4132bba691bbd7224860f make-test-cmd-run-over-hyperkube-based-kubectl.patch -ff043b723edc644a8270a471bfb45b400a4547a9dd70b28c5c27dc041d956da2d1da36422694b35ac589a7ca651de44c7346d3d63fd36ec570bab7325a6fd73b fix-support-for-ppc64le.patch f60cb7006b85cac00b0f18f87cc9196541e359a82ba37b3e0938d5e9a6e178ef964df0695fff3135d4a6cc4f4d91e963bd184e3af140c7c1072735890ff4351d remove-apiserver-add-kube-prefix-for-hyperkube.patch" |