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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-10-16 13:26:16 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-10-16 13:26:16 +0300
commit37b9e625af668090fdab926168a4e166460297ca (patch)
treeb2903f018b088d16abc9abe06c8c68a00f532bf1
parentf94a2b4b0c99f35394da32f58c68cb61f7baab2e (diff)
Add gitlab-git-test.git to makegen.go
-rw-r--r--_support/makegen.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/_support/makegen.go b/_support/makegen.go
index 7c206460c..5657977ae 100644
--- a/_support/makegen.go
+++ b/_support/makegen.go
@@ -88,6 +88,10 @@ func (gm *gitalyMake) TestRepo() string {
return filepath.Join(gm.TestRepoStoragePath(), "gitlab-test.git")
}
+func (gm *gitalyMake) GitTestRepo() string {
+ return filepath.Join(gm.TestRepoStoragePath(), "gitlab-git-test.git")
+}
+
func (gm *gitalyMake) CommandPackages() []string {
if len(gm.commandPackages) > 0 {
return gm.commandPackages
@@ -276,8 +280,11 @@ binaries: assemble
# Git notes aren't fetched by default with git clone
git -C $@ fetch origin refs/notes/*:refs/notes/*
+{{ .GitTestRepo }}:
+ git clone --bare --quiet https://gitlab.com/gitlab-org/gitlab-git-test.git $@
+
.PHONY: prepare-tests
-prepare-tests: {{ .TestRepo }} ../.ruby-bundle
+prepare-tests: {{ .TestRepo }} {{ .GitTestRepo }} ../.ruby-bundle
.PHONY: test
test: test-go rspec