mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
Build Darwin test binaries on OS X.
This commit is contained in:
parent
6209b1b60c
commit
5c546a187b
@ -53,13 +53,17 @@ readonly KUBE_SERVER_BINARIES=("${KUBE_SERVER_TARGETS[@]##*/}")
|
|||||||
|
|
||||||
if [[ "${KUBE_FASTBUILD:-}" == "true" ]]; then
|
if [[ "${KUBE_FASTBUILD:-}" == "true" ]]; then
|
||||||
readonly KUBE_SERVER_PLATFORMS=(linux/amd64)
|
readonly KUBE_SERVER_PLATFORMS=(linux/amd64)
|
||||||
readonly KUBE_TEST_PLATFORMS=(linux/amd64)
|
|
||||||
if [[ "${KUBE_BUILDER_OS:-}" == "darwin"* ]]; then
|
if [[ "${KUBE_BUILDER_OS:-}" == "darwin"* ]]; then
|
||||||
|
readonly KUBE_TEST_PLATFORMS=(
|
||||||
|
darwin/amd64
|
||||||
|
linux/amd64
|
||||||
|
)
|
||||||
readonly KUBE_CLIENT_PLATFORMS=(
|
readonly KUBE_CLIENT_PLATFORMS=(
|
||||||
darwin/amd64
|
darwin/amd64
|
||||||
linux/amd64
|
linux/amd64
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
readonly KUBE_TEST_PLATFORMS=(linux/amd64)
|
||||||
readonly KUBE_CLIENT_PLATFORMS=(linux/amd64)
|
readonly KUBE_CLIENT_PLATFORMS=(linux/amd64)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user