mirror of https://github.com/ceph/go-ceph
makefile: remove /dev/fuse and SYS_ADMIN cap from test
When invoking podman/docker/etc. it is no longer needed to add fuse support, or (AFAICT) keeping cap SYS_ADMIN. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
2d85e6f235
commit
78ee562863
2
Makefile
2
Makefile
|
@ -46,7 +46,7 @@ test:
|
||||||
.PHONY: test-docker test-container
|
.PHONY: test-docker test-container
|
||||||
test-docker: test-container
|
test-docker: test-container
|
||||||
test-container: $(BUILDFILE) $(RESULTS_DIR)
|
test-container: $(BUILDFILE) $(RESULTS_DIR)
|
||||||
$(CONTAINER_CMD) run --device /dev/fuse --cap-add SYS_ADMIN $(CONTAINER_OPTS) --rm -v $(CURDIR):/go/src/github.com/ceph/go-ceph$(VOLUME_FLAGS) $(RESULTS_VOLUME) $(CI_IMAGE_TAG)
|
$(CONTAINER_CMD) run $(CONTAINER_OPTS) --rm -v $(CURDIR):/go/src/github.com/ceph/go-ceph$(VOLUME_FLAGS) $(RESULTS_VOLUME) $(CI_IMAGE_TAG)
|
||||||
|
|
||||||
ifdef RESULTS_DIR
|
ifdef RESULTS_DIR
|
||||||
$(RESULTS_DIR):
|
$(RESULTS_DIR):
|
||||||
|
|
Loading…
Reference in New Issue