Skip to content

Commit

Permalink
Remove arm architecture form YDB CLI installation script (ydb-platfor…
Browse files Browse the repository at this point in the history
  • Loading branch information
pnv1 authored Oct 9, 2024
1 parent 810d5d5 commit 4c77083
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions ydb/apps/ydb/install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ SYSTEM=${YDB_INSTALL_TEST_SYSTEM:-$(uname -s)} # $(uname -o) is not supported on
MACHINE=${YDB_INSTALL_TEST_MACHINE:-$(uname -m)}

GOOS=""
GOARCH=""
YDB_BIN="ydb"
SHELL_NAME=$(basename "${SHELL}")

Expand All @@ -57,19 +56,6 @@ case ${SYSTEM} in
;;
esac

case ${MACHINE} in
x86_64 | amd64 | i686-64)
GOARCH="amd64"
;;
arm64)
GOARCH="arm64"
;;
*)
printf "'%s' machines are not supported yet, or something is going wrong.\\n%s" "${MACHINE}" "${CONTACT_SUPPORT_MESSAGE}"
exit 1
;;
esac

DEFAULT_RC_PATH="${HOME}/.bashrc"

if [ "${SHELL_NAME}" != "bash" ]; then
Expand Down Expand Up @@ -153,7 +139,7 @@ trap cleanup EXIT

# Download and show progress.
TMP_YDB="${TMP_INSTALL_PATH}/${YDB_BIN}"
curl_with_retry "${YDB_STORAGE_URL}/release/${YDB_VERSION}/${GOOS}/${GOARCH}/${YDB_BIN}" -o "${TMP_YDB}"
curl_with_retry "${YDB_STORAGE_URL}/release/${YDB_VERSION}/${GOOS}/amd64/${YDB_BIN}" -o "${TMP_YDB}"

chmod +x "${TMP_YDB}"
# Check that all is ok, and print full version to stdout.
Expand Down

0 comments on commit 4c77083

Please sign in to comment.