Enable VM tests (#10858)

* Add VM tests

* Update sidecar image

* Further VM test updates

* Hardcode values to test
This commit is contained in:
Eric Van Norman 2022-02-08 14:17:19 -07:00 committed by GitHub
parent 2cde52cd22
commit 1ae1fdf9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View File

@ -81,6 +81,12 @@ else
make "${ISTIO_OUT}/release/istioctl-linux-amd64"
cp -a "${ISTIO_OUT}/release/istioctl-linux-amd64" /gobin/istioctl
fi
# Get base version tag
BASE_VERSION=$(grep BASE_VERSION Makefile.core.mk | awk '{ print $3}')
export BASE_VERSION
echo "BASE_VERSION=${BASE_VERSION}"
popd > /dev/null
# Copy install, samples, and tool files over from Istio. These are needed by the tests.

View File

@ -69,7 +69,7 @@ function setup_vm() {
snip_configure_the_virtual_machine_1
snip_configure_the_virtual_machine_2
# TODO: we should probably have a better way to get the debian package
curl -LO https://storage.googleapis.com/istio-build/dev/1.9-alpha.cdae086ca8cae8be174c8feee509841f89792e43/deb/istio-sidecar.deb
curl -LO https://storage.googleapis.com/istio-build/dev/1.13-alpha.5698d7291554bad89fd9282dbc718c1c25be2982/deb/istio-sidecar.deb
sudo dpkg -i istio-sidecar.deb
snip_configure_the_virtual_machine_5
snip_configure_the_virtual_machine_6