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: only:
- /tpcc_benchmark\/.*/ # match with tpcc_benchmark/ prefix - /tpcc_benchmark\/.*/ # match with tpcc_benchmark/ prefix
# build_and_test: build_and_test:
# jobs: jobs:
# - build - build:
# - check-style filters:
# - check-sql-snapshots 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: - test-11_check-multi:
# requires: [build] requires: [build]
# - test-11_check-tt-van-mx: filters:
# requires: [build] branches:
# - test-11_check-iso-work-fol: ignore:
# requires: [build] - /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
# - test-11_check-fol: - /ch_benchmark\/.*/ # ignore ch_benchmark/
# requires: [build] - test-11_check-tt-van-mx:
# - test-11_check-failure: requires: [build]
# 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: - test-12_check-multi:
# requires: [build] requires: [build]
# - test-12_check-tt-van-mx: filters:
# requires: [build] branches:
# - test-12_check-iso-work-fol: ignore:
# requires: [build] - /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
# - test-12_check-fol: - /ch_benchmark\/.*/ # ignore ch_benchmark/
# requires: [build] - test-12_check-tt-van-mx:
# - test-12_check-failure: requires: [build]
# 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: - test-11-12_check-pg-upgrade:
# requires: [build] requires: [build]
filters:
branches:
ignore:
- /tpcc_benchmark\/.*/ # ignore tpcc_benchmark/
- /ch_benchmark\/.*/ # ignore ch_benchmark/
# - test-11_check-citus-upgrade: - test-11_check-citus-upgrade:
# requires: [build] 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 # create a config for this branch
cp master.ini "${branch_config}" 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. # 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 "${test_automation_dir}"
cd ./hammerdb cd ./hammerdb