From 381c3233c91c0f254f2e3d00ee324f344baae80d Mon Sep 17 00:00:00 2001 From: KirillKurdyukov Date: Thu, 15 Oct 2026 07:50:34 +0300 Subject: [PATCH] ci: run transactional Query RMW workload --- .github/scripts/build-slo-image.sh | 7 ++++++- .github/workflows/slo.yml | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/scripts/build-slo-image.sh b/.github/scripts/build-slo-image.sh index 7aee21c0d..42503ad93 100755 --- a/.github/scripts/build-slo-image.sh +++ b/.github/scripts/build-slo-image.sh @@ -8,7 +8,7 @@ Usage: build-slo-image.sh \ --sdk \ --examples \ - --workload \ + --workload \ --tag \ [--fallback-image ] @@ -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" diff --git a/.github/workflows/slo.yml b/.github/workflows/slo.yml index 8a2229517..72208c7b0 100644 --- a/.github/workflows/slo.yml +++ b/.github/workflows/slo.yml @@ -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 @@ -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 @@ -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' }}