mirror of https://github.com/istio/istio.io.git
zh-translation:sync virtual-machines/test.sh (#11196)
This commit is contained in:
parent
327d6d52db
commit
a7b3371bdc
|
@ -64,7 +64,7 @@ run_in_vm "
|
||||||
|
|
||||||
# We do not have systemd, need to start mysql manually
|
# We do not have systemd, need to start mysql manually
|
||||||
docker exec --privileged -d vm mysqld --skip-grant-tables
|
docker exec --privileged -d vm mysqld --skip-grant-tables
|
||||||
# Wait for mysql to be ready
|
# Wait for mysql to become ready
|
||||||
run_in_vm "while ! sudo mysql 2> /dev/null; do echo retrying mysql...; sleep 5; done"
|
run_in_vm "while ! sudo mysql 2> /dev/null; do echo retrying mysql...; sleep 5; done"
|
||||||
|
|
||||||
run_in_vm snip_running_mysql_on_the_vm_3
|
run_in_vm snip_running_mysql_on_the_vm_3
|
||||||
|
@ -103,7 +103,7 @@ _verify_elided run_curl "${snip_reaching_kubernetes_services_from_the_virtual_ma
|
||||||
|
|
||||||
# @cleanup
|
# @cleanup
|
||||||
docker stop vm
|
docker stop vm
|
||||||
kubectl delete -f samples/multicluster/expose-istiod.yaml --ignore-not-found=true
|
kubectl delete -f samples/multicluster/expose-istiod.yaml -n istio-system --ignore-not-found=true
|
||||||
istioctl manifest generate | kubectl delete -f - --ignore-not-found=true
|
istioctl manifest generate | kubectl delete -f - --ignore-not-found=true
|
||||||
cleanup_sleep_sample
|
cleanup_sleep_sample
|
||||||
kubectl delete namespace istio-system vm bookinfo --ignore-not-found=true
|
kubectl delete namespace istio-system vm bookinfo --ignore-not-found=true
|
||||||
|
|
Loading…
Reference in New Issue