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:
authorToon Claes <toon@gitlab.com>2022-07-08 18:08:52 +0300
committerToon Claes <toon@gitlab.com>2022-07-13 22:34:49 +0300
commitfe9a8cc72b39581277232f015b3eeda910e86955 (patch)
tree677e02b7b7db395c67b6ec8686dec5695d789432
parentef19bf84f7be14316eba076112fb14a504142e3c (diff)
Makefile: Set proper tags for testing with sha256
When the GITALY_TESTING_ENABLE_SHA256 environment variable is set, the gitaly_test_sha256 build tag is added. This makes it possible to exclude tests which are not adapted to using SHA256 hashes.
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5e5aea669..f3c69313a 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,11 @@ ifdef FIPS_MODE
export GITALY_TESTING_ENABLE_FIPS := YesPlease
endif
+ifdef GITALY_TESTING_ENABLE_SHA256
+ SERVER_BUILD_TAGS := ${SERVER_BUILD_TAGS},gitaly_test_sha256
+ GIT2GO_BUILD_TAGS := ${GIT2GO_BUILD_TAGS},gitaly_test_sha256
+endif
+
# Dependency versions
GOLANGCI_LINT_VERSION ?= v1.46.2
PROTOLINT_VERSION ?= v0.38.1