[Tarantool-patches] [PATCH v1] gitlab-ci: cleanup submodules
Alexander V. Tikhonov
avtikhon at tarantool.org
Thu Nov 7 14:13:46 MSK 2019
Found that durring runs on Gitlab-CI workspaces
some extra files from tests from the submodules
like src/lib/small/* leaves in subdirectories,
which produce warning messages at the Gitlab-CI
run log, to avoid of it the submodules cleanup
it needed before each Gitlab-CI job.
Closes #4258
---
Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4258-clean-ws-full-ci
Issue: https://github.com/tarantool/tarantool/issues/4258
.gitlab-ci.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 04bb4b1cc..91326b218 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,9 @@ stages:
variables:
GITLAB_MAKE: "make -f .gitlab.mk"
+before_script:
+ - git submodule foreach git clean -xfd
+
# Jobs templates
.release_only_template: &release_only_definition
--
2.17.1
More information about the Tarantool-patches
mailing list