A script to deploy doris env for testing.
ONLY SUPPORT linux
- config env
cp config.template config.sh
# update configurations in config.sh, according the comments.
vim config.sh
For backup/restore regression test, you should specified the variables with
STORE_
prefix.
- deploy new cluster & start
bash bootstrap.sh deploy
bash bootstrap.sh start
- run sql
# automatic
bash bootstrap.sh mysql <xxx.sql
# or manually
bash bootstrap.sql mysql
- run regression test
bash bootstrap.sh run -- --run <suite-name>
- stop and clean evn
bash bootstrap.sh stop
bash bootstrap.sh clean
Run bash bootstrap.sh
for more details.