From 37b9e625af668090fdab926168a4e166460297ca Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 16 Oct 2018 12:26:16 +0200 Subject: Add gitlab-git-test.git to makegen.go --- _support/makegen.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '_support') 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 -- cgit v1.2.3