not run other tests with hammerdb jobs

tpcc_benchmark/refactorManagerWorkerPool
Sait Talha Nisanci 2020-04-20 12:24:40 +03:00
parent 409be6ea05
commit dcdd510d75
2 changed files with 116 additions and 43 deletions

View File

@ -281,37 +281,112 @@ workflows:
only:
- /tpcc_benchmark\/.*/ # match with tpcc_benchmark/ prefix
# build_and_test:
# jobs:
# - build
# - check-style
# - check-sql-snapshots
build_and_test:
jobs:
- build:
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- check-style:
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- check-sql-snapshots:
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
# - test-11_check-multi:
# requires: [build]
# - test-11_check-tt-van-mx:
# requires: [build]
# - test-11_check-iso-work-fol:
# requires: [build]
# - test-11_check-fol:
# requires: [build]
# - test-11_check-failure:
# requires: [build]
- test-11_check-multi:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-11_check-tt-van-mx:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-11_check-iso-work-fol:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-11_check-fol:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-11_check-failure:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
# - test-12_check-multi:
# requires: [build]
# - test-12_check-tt-van-mx:
# requires: [build]
# - test-12_check-iso-work-fol:
# requires: [build]
# - test-12_check-fol:
# requires: [build]
# - test-12_check-failure:
# requires: [build]
- test-12_check-multi:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-12_check-tt-van-mx:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-12_check-iso-work-fol:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-12_check-fol:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
- test-12_check-failure:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
# - test-11-12_check-pg-upgrade:
# requires: [build]
- test-11-12_check-pg-upgrade:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
# - test-11_check-citus-upgrade:
# requires: [build]
- test-11_check-citus-upgrade:
requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/

View File

@ -41,10 +41,8 @@ branch_config=current_branch.ini
# create a config for this branch
cp master.ini "${branch_config}"
# escape / in branch name otherwise sed won't work.
BRANCH_ESCAPED=$(echo "$BRANCH" | sed 's/[\/\.]/\\&/g')
# put the branch name to the config file.
sed -i "s/master/${BRANCH_ESCAPED}/g" "${branch_config}"
sed -i "s@master@${BRANCH}@g" "${branch_config}"
cd "${test_automation_dir}"
cd ./hammerdb