Skip to content

Commit

Permalink
testing/kubernetes: enable on armv7 fix deps and linker options
Browse files Browse the repository at this point in the history
enable on armv7

build without providers and strip ELF symbols and debug info.

kubelet does not have a hard dependency on cni-plugins. They can be
installed from a pod.

kubelet need GNU du[1] from coreutils and GNU find[2].

[1]: kubernetes/kubernetes#95172
[2]: kubernetes/kubernetes#95186
  • Loading branch information
ncopa committed Nov 19, 2020
1 parent c4db29d commit 7ab399e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions testing/kubernetes/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=kubernetes
pkgver=1.19.4
pkgrel=0
pkgrel=1
pkgdesc="Container Cluster Manager"
url="https://kubernetes.io/"
arch="x86_64 aarch64 ppc64le"
arch="x86_64 aarch64 ppc64le armv7"
license="Apache-2.0"
options="!check chmod-clean" # Tests hang
depends="bash"

_kube_proxy_deps="iptables"
_kubelet_deps="cni-plugins"
_kubelet_deps="findutils coreutils"
_kubeadm_deps="iproute2 socat ethtool conntrack-tools cri-tools"
makedepends="coreutils findutils go go-bindata linux-headers rsync grep
makedepends="go go-bindata linux-headers rsync grep
$_kube_proxy_deps
$_kubelet_deps
$_kubeadm_deps
Expand Down Expand Up @@ -69,7 +69,7 @@ _services="kube-apiserver kube-controller-manager kube-proxy kube-scheduler"

build() {
for _pkgs in $_agent $_cli $_services ; do
make GOFLAGS=-v WHAT=cmd/$_pkgs
make GOFLAGS="-v -tags=providerless" GOLDFLAGS="-w -s" WHAT=cmd/$_pkgs
done
}

Expand Down

0 comments on commit 7ab399e

Please sign in to comment.