mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
tls: require mutual auth only when htpasswd not available
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export GO111MODULE=on
|
||||
TOP_LEVEL=$(shell git rev-parse --show-toplevel)
|
||||
|
||||
.PHONY: all
|
||||
all: doc binary debug test check
|
||||
@@ -13,6 +14,7 @@ debug: doc
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
$(shell cd test/data; ./gen_certs.sh; cd ${TOP_LEVEL})
|
||||
go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
./bin/golangci-lint:
|
||||
|
||||
Reference in New Issue
Block a user