mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
Move ceph and rbd main files to cmd folder
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
parent
b968025037
commit
e4e411248e
4
Makefile
4
Makefile
@ -31,7 +31,7 @@ test:
|
|||||||
|
|
||||||
rbdplugin:
|
rbdplugin:
|
||||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; 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
|
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/rbdplugin ./cmd/rbd
|
||||||
|
|
||||||
image-rbdplugin: rbdplugin
|
image-rbdplugin: rbdplugin
|
||||||
cp _output/rbdplugin deploy/rbd/docker
|
cp _output/rbdplugin deploy/rbd/docker
|
||||||
@ -39,7 +39,7 @@ image-rbdplugin: rbdplugin
|
|||||||
|
|
||||||
cephfsplugin:
|
cephfsplugin:
|
||||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; 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
|
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/cephfsplugin ./cmd/cephfs
|
||||||
|
|
||||||
image-cephfsplugin: cephfsplugin
|
image-cephfsplugin: cephfsplugin
|
||||||
cp _output/cephfsplugin deploy/cephfs/docker
|
cp _output/cephfsplugin deploy/cephfs/docker
|
||||||
|
Loading…
Reference in New Issue
Block a user