diff --git a/build-apisix-base.sh b/build-apisix-base.sh index 01b91f66c..729f2e615 100755 --- a/build-apisix-base.sh +++ b/build-apisix-base.sh @@ -16,7 +16,6 @@ if ([ $# -gt 0 ] && [ "$1" == "latest" ]) || [ "$version" == "latest" ]; then wasm_nginx_module_ver="main" lua_var_nginx_module_ver="master" grpc_client_nginx_module_ver="main" - amesh_ver="main" debug_args="--with-debug" OR_PREFIX=${OR_PREFIX:="/usr/local/openresty-debug"} else @@ -26,7 +25,6 @@ else wasm_nginx_module_ver="0.6.5" lua_var_nginx_module_ver="v0.5.3" grpc_client_nginx_module_ver="v0.4.3" - amesh_ver="main" debug_args=${debug_args:-} OR_PREFIX=${OR_PREFIX:="/usr/local/openresty"} fi @@ -87,14 +85,6 @@ else grpc-client-nginx-module-${grpc_client_nginx_module_ver} fi -if [ "$repo" == amesh ]; then - cp -r "$prev_workdir" ./amesh-${amesh_ver} -else - git clone --depth=1 -b $amesh_ver \ - https://github.com/api7/amesh \ - amesh-${amesh_ver} -fi - cd ngx_multi_upstream_module-${ngx_multi_upstream_module_ver} || exit 1 ./patch.sh ../openresty-${OPENRESTY_VERSION} cd .. @@ -196,10 +186,6 @@ cd grpc-client-nginx-module-${grpc_client_nginx_module_ver} || exit 1 sudo OPENRESTY_PREFIX="$OR_PREFIX" make install cd .. -cd amesh-${amesh_ver} || exit 1 -sudo OPENRESTY_PREFIX="$OR_PREFIX" sh -c 'PATH="${PATH}:/usr/local/go/bin" make install' -cd .. - # package etcdctl ETCD_ARCH="amd64" ETCD_VERSION=${ETCD_VERSION:-'3.5.4'}