mirror of https://github.com/istio/istio.io.git
Fix MacOS tests using a container (#8197)
* Fix MacOS tests using a container * istioctl was wrong OS in container * export IN_BUILD_CONTAINER
This commit is contained in:
parent
65e28d2b6c
commit
eadaa2d6bc
|
@ -22,7 +22,8 @@ export GO_TOP
|
|||
GO ?= go
|
||||
|
||||
GOARCH_LOCAL := $(TARGET_ARCH)
|
||||
GOOS_LOCAL := $(TARGET_OS)
|
||||
export GOOS_LOCAL := $(TARGET_OS)
|
||||
export IN_BUILD_CONTAINER := $(IN_BUILD_CONTAINER)
|
||||
|
||||
# ISTIO_IMAGE_VERSION stores the prefix used by default for the Docker images for Istio.
|
||||
# For example, a value of 1.6-alpha will assume a default TAG value of 1.6-dev.<SHA>
|
||||
|
|
12
bin/init.sh
12
bin/init.sh
|
@ -73,9 +73,15 @@ export ISTIO_VERSION=${TAG}
|
|||
echo "TAG=${TAG}"
|
||||
echo "VERSION=${VERSION}"
|
||||
echo "ISTIO_VERSION=${ISTIO_VERSION}"
|
||||
make gen-charts "$ISTIOCTL_ARTIFACT"
|
||||
cp -a "$ISTIOCTL_ARTIFACT" "${ISTIOIO_BIN}/istioctl"
|
||||
|
||||
make gen-charts
|
||||
if [ -z "$IN_BUILD_CONTAINER" ]
|
||||
then
|
||||
make "$ISTIOCTL_ARTIFACT"
|
||||
cp -a "$ISTIOCTL_ARTIFACT" "${ISTIOIO_BIN}/istioctl"
|
||||
else
|
||||
make "${ISTIO_OUT}/release/istioctl-linux-amd64"
|
||||
cp -a "${ISTIO_OUT}/release/istioctl-linux-amd64" /gobin/istioctl
|
||||
fi
|
||||
popd > /dev/null
|
||||
|
||||
# Copy install, samples, and tool files over from Istio. These are needed by the tests.
|
||||
|
|
Loading…
Reference in New Issue