Skip to content

Commit

Permalink
feat: update the default mode of deploy tool (#3512)
Browse files Browse the repository at this point in the history
  • Loading branch information
dl239 authored Nov 10, 2023
1 parent c3aafce commit 9e03d53
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
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

0 comments on commit 9e03d53

Please sign in to comment.