mirror of
https://github.com/ceph/go-ceph
synced 2025-02-02 03:22:13 +00:00
makefile: support NO_PREVIEW env var
Following on the previous change, the NO_PREVIEW var can be set to skip testing with preview functions. We default to testing with preview functions. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
ee90ae5906
commit
8835a26c9b
6
Makefile
6
Makefile
@ -46,6 +46,12 @@ ifneq ($(USE_PTRGUARD),)
|
|||||||
BUILD_TAGS := $(BUILD_TAGS),ptrguard
|
BUILD_TAGS := $(BUILD_TAGS),ptrguard
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(NO_PREVIEW),)
|
||||||
|
CONTAINER_OPTS += -e NO_PREVIEW=true
|
||||||
|
else
|
||||||
|
BUILD_TAGS := $(BUILD_TAGS),ceph_preview
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(USE_CACHE),)
|
ifneq ($(USE_CACHE),)
|
||||||
GOCACHE_VOLUME := -v test_ceph_go_cache:/go
|
GOCACHE_VOLUME := -v test_ceph_go_cache:/go
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user