Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update get-higress.sh #500

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tools/get-higress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ outputUsage() {
echo '
-c, --config-url=URL URL of the config storage
Use Nacos with format: nacos://192.168.0.1:8848
Use local files with format: file://opt/higress/conf
Use local files with format: file:///opt/higress/conf
--use-builtin-nacos use the built-in Nacos service instead of
an external one
--nacos-ns=NACOS-NAMESPACE
Expand Down Expand Up @@ -143,7 +143,7 @@ runAsRoot() {
# verifySupported checks that the os/arch combination is supported for
# binary builds, as well whether or not necessary tools are present.
verifySupported() {
local supported="darwin-amd64\nlinux-amd64\nwindows-amd64\n"
local supported="darwin-amd64\nlinux-amd64\nwindows-amd64\ndarwin-arm64\nlinux-arm64\nwindows-arm64\n"
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
echo "${OS}-${ARCH} platform isn't supported at the moment."
echo "Stay tuned for updates on https://github.com/alibaba/higress."
Expand Down Expand Up @@ -191,7 +191,7 @@ download() {

# install installs the product.
install() {
tar -zx --exclude="docs" --exclude="src" -f "$HIGRESS_TMP_FILE" -C "$DESTINATION" --strip-components=1
tar -zx --exclude="docs" --exclude="src" --exclude="test" -f "$HIGRESS_TMP_FILE" -C "$DESTINATION" --strip-components=1
bash "$DESTINATION/bin/configure.sh" --auto-start ${CONFIG_ARGS[@]}
}

Expand Down
Loading