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
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-07-18 12:04:55 +0300
commitac5e7f6f04a5e83594acdc4b19e625aff2d44ed1 (patch)
tree224fec158e651c4b135020b7b8b31c3fb1c288d5
parent33ff00ca1a07022c0c8e4e753281d47612017a12 (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 3dacc50f2..74f078360 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