Narrow tool files copied to only include certs. (#8159)

This commit is contained in:
Nathan Mittler 2020-09-17 08:29:05 -07:00 committed by GitHub
parent 457b3b1b11
commit 93856c2730
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -61,10 +61,11 @@ cp -a "${ISTIO_OUT}/release/istioctl-linux-amd64" /gobin/istioctl
popd > /dev/null
# Copy install/samples files over from Istio. These are needed by the tests.
# Copy install, samples, and tool files over from Istio. These are needed by the tests.
rm -rf "${ISTIOIO_GO}/samples" "${ISTIOIO_GO}/tools" "${ISTIOIO_GO}/tests/integration" "${ISTIOIO_GO}/manifests"
cp -a "${ISTIO_GO}/samples" "${ISTIOIO_GO}/samples"
cp -a "${ISTIO_GO}/tools" "${ISTIOIO_GO}/tools"
mkdir "${ISTIOIO_GO}/tools"
cp -a "${ISTIO_GO}/tools/certs" "${ISTIOIO_GO}/tools/certs"
mkdir "${ISTIOIO_GO}/tests/integration/"
cp -a "${ISTIO_GO}/tests/integration/iop-integration-test-defaults.yaml" "${ISTIOIO_GO}/tests/integration/"
cp -a "${ISTIO_GO}/manifests" "${ISTIOIO_GO}/manifests"