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 the default mode of deploy tool #3512

Merged
merged 3 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion release/conf/openmldb-env.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash
export OPENMLDB_VERSION=0.8.3
# openmldb mode: standalone / cluster
export OPENMLDB_MODE=${OPENMLDB_MODE:=standalone}
export OPENMLDB_MODE=${OPENMLDB_MODE:=cluster}
# tablet port
export OPENMLDB_TABLET_PORT=10921
# nameserver port
Expand Down
1 change: 0 additions & 1 deletion test/test-tool/openmldb-deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ cp -f ../release/bin/*.sh bin/

mv ../hosts conf/hosts
sed -i"" -e "s/OPENMLDB_VERSION=[0-9]\.[0-9]\.[0-9]/OPENMLDB_VERSION=${VERSION}/g" conf/openmldb-env.sh
sed -i"" -e "s/OPENMLDB_MODE:=standalone/OPENMLDB_MODE:=cluster/g" conf/openmldb-env.sh
sed -i"" -e "s/CLEAR_OPENMLDB_INSTALL_DIR=false/CLEAR_OPENMLDB_INSTALL_DIR=true/g" conf/openmldb-env.sh
sh sbin/stop-all.sh
sh sbin/clear-all.sh
Expand Down
1 change: 0 additions & 1 deletion test/test-tool/openmldb-deploy/install_with_name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ rm -f bin/*.sh

/bin/cp -f ../test/test-tool/openmldb-deploy/hosts conf/hosts
sed -i"" -e "s/OPENMLDB_VERSION=[0-9]\.[0-9]\.[0-9]/OPENMLDB_VERSION=${VERSION}/g" conf/openmldb-env.sh
sed -i"" -e "s/OPENMLDB_MODE:=standalone/OPENMLDB_MODE:=cluster/g" conf/openmldb-env.sh
sh sbin/deploy-all.sh

for (( i=0; i<=2; i++ ))
Expand Down
Loading