Skip to content

Commit

Permalink
gitlab-ci: parallelize perf testing
Browse files Browse the repository at this point in the history
- Adding 2 servers (sh1, sh2) for performance testing.
- Rebalance performance testing between servers:
  - sh1 (tag: docker_sh1_perf) used for benches:
    nosqlbench_hash, nosqlbench_tree
  - sh2 (tag: docker_sh1_perf) used for benches:
    ycsb_hash, ycsb_tree, cbench
  - sh3 (tag: docker_sh1_perf) used for benches:
    sysbench, tpcc
  - sh9 (tag: docker_perf_ssd) used for benches:
    linkbench_ssd
- Changing gitlab-ci tag for performance docker images
  from 'perf' to 'deploy'.

Closes #4868
  • Loading branch information
Oleg Piskunov committed May 15, 2020
1 parent 32f5975 commit b188213
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .gitlab-ci.yml
Expand Up @@ -91,8 +91,6 @@ variables:
<<: *perf_only_definition
image: ${IMAGE_PERF_BUILT}
stage: perf
tags:
- docker_perf
artifacts:
when: always
paths:
Expand Down Expand Up @@ -191,54 +189,68 @@ perf_bootstrap:
<<: *perf_only_definition
stage: test
tags:
- perf
- deploy
script:
- ${GITLAB_MAKE} perf_prepare

# Testing part

perf_sysbench:
<<: *perf_docker_test_definition
tags:
- docker_sh3_perf
variables:
<<: *perf_vars_definition
BENCH: 'sysbench'

perf_tpcc:
<<: *perf_docker_test_definition
tags:
- docker_sh3_perf
variables:
<<: *perf_vars_definition
BENCH: 'tpcc'

perf_ycsb_hash:
<<: *perf_docker_test_definition
tags:
- docker_sh2_perf
variables:
<<: *perf_vars_definition
BENCH: 'ycsb'
ARG: 'hash'

perf_ycsb_tree:
<<: *perf_docker_test_definition
tags:
- docker_sh2_perf
variables:
<<: *perf_vars_definition
BENCH: 'ycsb'
ARG: 'tree'

perf_nosqlbench_hash:
<<: *perf_docker_test_definition
tags:
- docker_sh1_perf
variables:
<<: *perf_vars_definition
BENCH: 'nosqlbench'
ARG: 'hash'

perf_nosqlbench_tree:
<<: *perf_docker_test_definition
tags:
- docker_sh1_perf
variables:
<<: *perf_vars_definition
BENCH: 'nosqlbench'
ARG: 'tree'

perf_cbench:
<<: *perf_docker_test_definition
tags:
- docker_sh2_perf
variables:
<<: *perf_vars_definition
BENCH: 'cbench'
Expand Down

0 comments on commit b188213

Please sign in to comment.