You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/09/10 03:29:50 UTC
[apisix] branch master updated: test: pin the version of k8s to
support chaos mesh (#5032)
This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 2bae598 test: pin the version of k8s to support chaos mesh (#5032)
2bae598 is described below
commit 2bae5987b5cee3f0fdfb1afe2cfeabe9de93e37d
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Fri Sep 10 11:29:14 2021 +0800
test: pin the version of k8s to support chaos mesh (#5032)
---
t/chaos/utils/setup_chaos_utils.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/t/chaos/utils/setup_chaos_utils.sh b/t/chaos/utils/setup_chaos_utils.sh
index 0c6d97f..5fd60e0 100755
--- a/t/chaos/utils/setup_chaos_utils.sh
+++ b/t/chaos/utils/setup_chaos_utils.sh
@@ -20,13 +20,14 @@
set -ex
start_minikube() {
- curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
+ # pin the version until chaos mesh solves https://github.com/chaos-mesh/chaos-mesh/issues/2172
+ curl -LO "https://storage.googleapis.com/kubernetes-release/release/v1.21.4/bin/linux/amd64/kubectl"
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i --force-architecture minikube_latest_amd64.deb
- minikube start
+ minikube start --kubernetes-version "v1.21.4"
}
modify_config() {