diff options
author | Will Chandler <wchandler@gitlab.com> | 2023-08-30 00:11:56 +0300 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2023-08-30 00:11:56 +0300 |
commit | e5b9614de0ce665f2e5262e3f2dcd5ff00278c11 (patch) | |
tree | b42e6004ef9e41e574e9cc8de282200cd6d5454b /Makefile | |
parent | 0d1460b9eb53f46ee8dffee5e9f4646e1a22588d (diff) | |
parent | 4f9005d016b1b4861c4c55e707d454a99909e319 (diff) |
Merge branch 'pks-git-drop-test-repository' into 'master'
git: Remove the test repository
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6273
Merged-by: Will Chandler <wchandler@gitlab.com>
Approved-by: karthik nayak <knayak@gitlab.com>
Approved-by: Will Chandler <wchandler@gitlab.com>
Reviewed-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -227,7 +227,6 @@ TEST_TMP_DIR ?= ## Directory where Gitaly should write logs to during test execution. TEST_LOG_DIR ?= TEST_REPO_DIR := ${BUILD_DIR}/testrepos -TEST_REPO := ${TEST_REPO_DIR}/gitlab-test.git BENCHMARK_REPO := ${TEST_REPO_DIR}/benchmark.git ## Options to pass to the script which builds the Gitaly gem BUILD_GEM_OPTIONS ?= @@ -368,15 +367,12 @@ run_go_tests += \ endif .PHONY: prepare-tests -prepare-tests: libgit2 prepare-test-repos ${GOTESTSUM} ${GITALY_PACKED_EXECUTABLES} +prepare-tests: libgit2 ${GOTESTSUM} ${GITALY_PACKED_EXECUTABLES} ${Q}mkdir -p "$(dir ${TEST_JUNIT_REPORT})" .PHONY: prepare-debug prepare-debug: ${DELVE} -.PHONY: prepare-test-repos -prepare-test-repos: ${TEST_REPO} - .PHONY: test ## Run Go tests. test: test-go test-gitaly-linters @@ -707,15 +703,5 @@ ${PROTOC_GEN_GO_GRPC}:TOOL_PACKAGE = google.golang.org/grpc/cmd/protoc-gen-go-gr ${PROTOC_GEN_DOC}: TOOL_PACKAGE = github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc ${DELVE}: TOOL_PACKAGE = github.com/go-delve/delve/cmd/dlv -${TEST_REPO}: - # Skip writing the reverse index as otherwise our tests will get confused. - ${GIT} -c pack.writeReverseIndex=false clone --bare ${GIT_QUIET} https://gitlab.com/gitlab-org/gitlab-test.git $@ - @ # Git notes aren't fetched by default with git clone - ${GIT} -C $@ fetch ${GIT_QUIET} origin refs/notes/*:refs/notes/* - ${Q}rm -rf $@/refs - ${Q}mkdir -p $@/refs/heads $@/refs/tags - ${Q}cp ${SOURCE_DIR}/_support/gitlab-test.git-packed-refs $@/packed-refs - ${Q}${GIT} -C $@ fsck --no-progress --no-dangling - ${BENCHMARK_REPO}: ${GIT} clone --bare ${GIT_QUIET} https://gitlab.com/gitlab-org/gitlab.git $@ |