* [Tarantool-patches] [PATCH v3] gitlab-ci: integration testing vshard
@ 2020-05-21 12:59 Oleg Piskunov
0 siblings, 0 replies; only message in thread
From: Oleg Piskunov @ 2020-05-21 12:59 UTC (permalink / raw)
To: tarantool-patches; +Cc: Alexander Turenko
[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]
- Adding new stage "integr_test" for integration
testing connectors and modules with Tarantool.
- Adding options "-DENABLE_DIST=ON" into
"build_debian" target to enable tarantoolctl
during T installation.
- Adding 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 | 9 ++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 256b368..405b5ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
stages:
- test
+ - integration_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: integration_test
+ script:
+ - ${GITLAB_MAKE} test_module_vshard
+
# ####
# Perf
# ####
diff --git a/.travis.mk b/.travis.mk
index 063537f..6cc5374 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -77,7 +77,7 @@ deps_buster_clang_8: deps_debian
# Release
build_debian:
- cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON ${CMAKE_EXTRA_PARAMS}
+ cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON -DENABLE_DIST=ON ${CMAKE_EXTRA_PARAMS}
make -j
test_debian_no_deps: build_debian
@@ -87,6 +87,13 @@ 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: build_debian
+ make install
+ git clone --recurse-submodules https://github.com/tarantool/vshard.git vshard
+ cd vshard && cmake . && make test
+
# Debug with coverage
build_coverage_debian:
--
1.8.3.1
[-- Attachment #2: Type: text/html, Size: 2753 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-21 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21 12:59 [Tarantool-patches] [PATCH v3] gitlab-ci: integration testing vshard Oleg Piskunov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox