Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-07-31 16:17:14 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-08-01 11:48:46 +0300
commite99564568b2fefab8973ce571594aaa888cf8494 (patch)
tree9d00477a620e6fe3219eed92618f9efe42d5a17c /scripts/gitaly-test-build
parenta9f56ae16873af40c7f1f753aee4528f0fbc2e8d (diff)
CI fixes for gitaly-ruby
Diffstat (limited to 'scripts/gitaly-test-build')
-rwxr-xr-xscripts/gitaly-test-build10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/gitaly-test-build b/scripts/gitaly-test-build
new file mode 100755
index 00000000000..44d314009e2
--- /dev/null
+++ b/scripts/gitaly-test-build
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+# This script assumes tmp/tests/gitaly already contains the correct
+# Gitaly version. We just have to compile it and run its 'bundle
+# install'. We have this separate script for that because weird things
+# were happening in CI when we have a 'bundle exec' process that later
+# called 'bundle install' using a different Gemfile, as happens with
+# gitlab-ce and gitaly.
+
+abort 'gitaly build failed' unless system('make', chdir: 'tmp/tests/gitaly')