add tpcc_benchmark job

tpcc_benchmark/refactorManagerWorkerPool
Sait Talha Nisanci 2020-04-17 09:18:37 +03:00
parent 1c408b1ae2
commit b44a27af2f
2 changed files with 30 additions and 1 deletions

View File

@ -243,9 +243,23 @@ jobs:
- run:
command: |
cd ./src/test/hammerdb
sh run_hammerdb.sh ch_benchmark_rg
sh run_hammerdb.sh citusbot_ch_benchmark_rg
name: install dependencies and run ch_benchmark tests
no_output_timeout: 20m
tpcc_benchmark:
docker:
- image: buildpack-deps:stretch
working_directory: /home/circleci/project
steps:
- checkout
- azure-cli/install
- azure-cli/login-with-service-principal
- run:
command: |
cd ./src/test/hammerdb
sh run_hammerdb.sh citusbot_tpcc_benchmark_rg
name: install dependencies and run ch_benchmark tests
no_output_timeout: 20m
orbs:
codecov: codecov/codecov@1.0.5
@ -261,6 +275,11 @@ workflows:
branches:
only:
- /ch_benchmark\/.*/ # match with ch_benchmark/ prefix
- tpcc_benchmark:
filters:
branches:
only:
- /tpcc_benchmark\/.*/ # match with tpcc_benchmark/ prefix
# build_and_test:
# jobs:

View File

@ -62,6 +62,16 @@ git push origin "${new_branch_name}"
cd "${test_automation_dir}"
cd ./hammerdb
if [ "$rg" = "citusbot_ch_benchmark_rg" ]; then
export IS_CH=true
export IS_TPCC=true
fi
if [ "$rg" = "citusbot_tpcc_benchmark_rg" ]; then
export IS_CH=false
export IS_TPCC=true
fi
# create cluster and run the hammerd benchmark
./create-run.sh