Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/scripts/build-slo-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Usage:
build-slo-image.sh \
--sdk <path> \
--examples <path> \
--workload <query|jdbc|spring-data-jdbc|spring-data-jpa> \
--workload <query|query-rmw|jdbc|spring-data-jdbc|spring-data-jpa> \
--tag <docker-tag> \
[--fallback-image <docker-tag>]

Expand Down Expand Up @@ -80,6 +80,11 @@ case "$workload" in
workload_jar="ydb-slo-query-workload.jar"
copy_libs="true"
;;
query-rmw)
workload_module="slo-workload/query-rmw"
workload_jar="ydb-slo-query-rmw-workload.jar"
copy_libs="true"
;;
jdbc)
workload_module="slo-workload/jdbc"
workload_jar="ydb-slo-jdbc-workload.jar"
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/slo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
workload:
- name: java-query-kv
module: query
- name: java-query-rmw
module: query-rmw
- name: java-jdbc-kv
module: jdbc
- name: java-spring-data-jdbc-kv
Expand Down Expand Up @@ -104,7 +106,7 @@ jobs:
uses: actions/checkout@v5
with:
repository: ydb-platform/ydb-java-examples
ref: 68c06dfa5f09dea42613dc5eaffb0e4c456cfd51
ref: 92c31a38f907b04ad746c63904bd191e70a979cb
path: examples

- name: Build current workload image
Expand Down Expand Up @@ -137,7 +139,7 @@ jobs:
fail_on_workload_error: true
workload_current_ref: ${{ github.head_ref || github.ref_name }}
workload_current_image: ydb-app-current-${{ matrix.workload.module }}
workload_current_command: --read-rps 1000 --write-rps 100
workload_current_command: ${{ matrix.workload.module == 'query-rmw' && '--writers 4' || '--read-rps 1000 --write-rps 100' }}
workload_baseline_ref: ${{ steps.baseline.outputs.ref }}
workload_baseline_image: ydb-app-baseline-${{ matrix.workload.module }}
workload_baseline_command: --read-rps 1000 --write-rps 100
workload_baseline_command: ${{ matrix.workload.module == 'query-rmw' && '--writers 4' || '--read-rps 1000 --write-rps 100' }}
Loading