[Tarantool-patches] [PATCH v1] Keep perf results as gitlab-ci artifacts

Олег Пискунов o.piskunov at corp.mail.ru
Mon Apr 27 10:53:59 MSK 2020


Gitlab-ci pipeline modified in order to keep performance results into gitlab-ci artifacts.
 
Closes #4920
 
Github: https://github.com/tarantool/tarantool/tree/opiskunov/gh-4920-perf-artifacts
Issue: https://github.com/tarantool/tarantool/issues/4920
---
 .gitlab-ci.yml | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd265aa..4b05fa5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -201,12 +201,22 @@ perf_sysbench:
   variables:
     <<: *perf_vars_definition
     BENCH: 'sysbench'
+  artifacts:
+    when: always
+    paths:
+      - Sysbench_result.txt
+      - Sysbench_t_version.txt
 
 perf_tpcc:
   <<: *perf_docker_test_definition
   variables:
     <<: *perf_vars_definition
     BENCH: 'tpcc'
+  artifacts:
+    when: always
+    paths:
+      - tpc.c_result.txt
+      - tpc.c_t_version.txt
 
 perf_ycsb_hash:
   <<: *perf_docker_test_definition
@@ -214,6 +224,11 @@ perf_ycsb_hash:
     <<: *perf_vars_definition
     BENCH: 'ycsb'
     ARG: 'hash'
+  artifacts:
+    when: always
+    paths:
+      - ycsb.hash_result.txt
+      - ycsb.hash_t_version.txt
 
 perf_ycsb_tree:
   <<: *perf_docker_test_definition
@@ -221,6 +236,11 @@ perf_ycsb_tree:
     <<: *perf_vars_definition
     BENCH: 'ycsb'
     ARG: 'tree'
+  artifacts:
+    when: always
+    paths:
+      - ycsb.tree_result.txt
+      - ycsb.tree_t_version.txt
 
 perf_nosqlbench_hash:
   <<: *perf_docker_test_definition
@@ -228,6 +248,11 @@ perf_nosqlbench_hash:
     <<: *perf_vars_definition
     BENCH: 'nosqlbench'
     ARG: 'hash'
+  artifacts:
+    when: always
+    paths:
+      - nosqlbench.hash_result.txt
+      - nosqlbench.hash_t_version.txt
 
 perf_nosqlbench_tree:
   <<: *perf_docker_test_definition
@@ -235,12 +260,25 @@ perf_nosqlbench_tree:
     <<: *perf_vars_definition
     BENCH: 'nosqlbench'
     ARG: 'tree'
+  artifacts:
+    when: always
+    paths:
+      - nosqlbench.tree_result.txt
+      - nosqlbench.tree_t_version.txt
 
 perf_cbench:
   <<: *perf_docker_test_definition
   variables:
     <<: *perf_vars_definition
     BENCH: 'cbench'
+  artifacts:
+    when: always
+    paths:
+      - cbench-memtx-tree_result.txt
+      - cbench-memtx-hash_result.txt
+      - cbench-vinyl-fsync_result.txt
+      - cbench-vinyl-write_result.txt
+      - cbench_t_version.txt
 
 perf_linkbench_ssd:
   <<: *perf_docker_test_definition
@@ -249,6 +287,11 @@ perf_linkbench_ssd:
   variables:
     <<: *perf_vars_definition
     BENCH: 'linkbench'
+  artifacts:
+    when: always
+    paths:
+      - linkbench.ssd_result.txt
+      - linkbench.ssd_t_version.txt
 
 # Post-testing part
 
--
1.8.3.1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200427/1a81389b/attachment.html>


More information about the Tarantool-patches mailing list