From 3e177acda710fca2b84e11f8f157eb07ca0a5ef7 Mon Sep 17 00:00:00 2001
From: Vitaly Shunkov <v.shunkov@picodata.io>
Date: Mon, 18 Nov 2024 17:25:10 +0300
Subject: [PATCH] ci: make tarantool test artifacts available as gitlab
 artifacts

---
 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 547016f650..ba54c7e450 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -339,12 +339,17 @@ test-patch-tarantool:
   <<: *test-patch-rules
   variables:
     GIT_SUBMODULE_STRATEGY: recursive
+    VARDIR: tmp/t
   image:
     name: ${BASE_IMAGE}:${BASE_IMAGE_LATEST}
     pull_policy: always
   script:
     - ./tools/prepare_source_tree_for_stat_analysis.py apply
-    - pushd tarantool-sys/ && make -f .test.mk test-release; popd
+    - pushd tarantool-sys/ && make -f .test.mk VARDIR=${VARDIR} test-release;
+  artifacts:
+    when: always
+    paths:
+      - tarantool-sys/test/${VARDIR}/artifacts/log/*.log
 
 test-mac-m1:
   extends: .test
-- 
GitLab