mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-21 22:00:19 +00:00
use dep ensure -vendor-only
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
parent
0f836c62fa
commit
8cae0b6c41
4
Makefile
4
Makefile
@ -30,7 +30,7 @@ test:
|
||||
go vet github.com/ceph/ceph-csi/pkg/...
|
||||
|
||||
rbdplugin:
|
||||
if [ ! -d ./vendor ]; then dep ensure; fi
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/rbdplugin ./rbd
|
||||
|
||||
image-rbdplugin: rbdplugin
|
||||
@ -38,7 +38,7 @@ image-rbdplugin: rbdplugin
|
||||
docker build -t $(RBD_IMAGE_NAME):$(RBD_IMAGE_VERSION) deploy/rbd/docker
|
||||
|
||||
cephfsplugin:
|
||||
if [ ! -d ./vendor ]; then dep ensure; fi
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/cephfsplugin ./cephfs
|
||||
|
||||
image-cephfsplugin: cephfsplugin
|
||||
|
Loading…
Reference in New Issue
Block a user