From: "Alexander V. Tikhonov" <avtikhon@tarantool.org> To: Oleg Piskunov <o.piskunov@tarantool.org> Cc: tarantool-patches@dev.tarantool.org Subject: Re: [Tarantool-patches] [PATCH v1] gitlab-ci: integration testing vshard Date: Sun, 17 May 2020 15:31:12 +0300 [thread overview] Message-ID: <20200517123112.GA17304@hpalx> (raw) In-Reply-To: <1589700958.836016889@f506.i.mail.ru> Hi Oleg, thanks for the patch. I have some minor style corrections below. On Sun, May 17, 2020 at 10:35:58AM +0300, Oleg Piskunov wrote: > > > - 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 Here is the Tarantool building and there is already special rule exists for it, let's use it, like: test_module_vshard: build_debian > + make install > + git clone https://github.com/tarantool/vshard.git tarantool/vshard A little bit confising here, if you want additional directory like 'tarantool' may be it's better to change it to some name like 'module'. > + cd tarantool/vshard && git submodule update --init --recursive \ > + && cmake . && make test Seems extra 'submodule update' call to git can be merged to its 'clone' call, like: git clone --recurse-submodules https://... > + > # Debug with coverage > > build_coverage_debian: > -- > 1.8.3.1 >
next prev parent reply other threads:[~2020-05-17 12:31 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-17 7:35 Oleg Piskunov 2020-05-17 12:31 ` Alexander V. Tikhonov [this message] 2020-05-18 12:46 ` Oleg Piskunov 2020-05-18 9:00 ` Sergey Bronnikov 2020-05-18 13:05 ` Oleg Piskunov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200517123112.GA17304@hpalx \ --to=avtikhon@tarantool.org \ --cc=o.piskunov@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v1] gitlab-ci: integration testing vshard' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox