[Tarantool-patches] [PATCH v1] gitlab-ci: integration testing vshard

Oleg Piskunov o.piskunov at tarantool.org
Sun May 17 10:35:58 MSK 2020


 
- Adding new stage "integr_test" for integration
  testing connectors and modules with Tarantool.
- Addign module VSHARD for testing in Tarantool
  development cycle.
 
Closes #4972
---
 
Github:  https://github.com/tarantool/tarantool/tree/opiskunov/gh-4972-integration-test-vshard
Issue:  https://github.com/tarantool/tarantool/issues/4972

 .gitlab-ci.yml | 11 +++++++++++
 .travis.mk     | 10 ++++++++++
 2 files changed, 21 insertions(+)
 
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 256b368..8576f91 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 stages:
   - test
+  - integr_test
   - perf
   - cleanup
 
@@ -183,6 +184,16 @@ freebsd_12_release:
   script:
     - ${GITLAB_MAKE} vms_test_freebsd
 
+# ###################
+# Integration testing
+# ###################
+
+release_module_vshard_test:
+  <<: *docker_test_definition
+  stage: integr_test
+  script:
+    - ${GITLAB_MAKE} test_module_vshard
+
 # ####
 # Perf
 # ####
diff --git a/.travis.mk b/.travis.mk
index 063537f..25e0469 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -87,6 +87,16 @@ test_debian: deps_debian test_debian_no_deps
 
 test_debian_clang8: deps_debian deps_buster_clang_8 test_debian_no_deps
 
+# Integration testing
+
+test_module_vshard:
+       cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON -DENABLE_DIST=ON ${CMAKE_EXTRA_PARAMS}
+       make -j
+       make install
+       git clone https://github.com/tarantool/vshard.git tarantool/vshard
+       cd tarantool/vshard && git submodule update --init --recursive \
+               && cmake . && make test
+
 # Debug with coverage
 
 build_coverage_debian:
--
1.8.3.1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200517/0c8fb9b2/attachment.html>


More information about the Tarantool-patches mailing list