mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
Fresh dep ensure
This commit is contained in:
10
vendor/github.com/kubernetes-csi/drivers/Makefile
generated
vendored
10
vendor/github.com/kubernetes-csi/drivers/Makefile
generated
vendored
@ -16,10 +16,11 @@ REGISTRY_NAME=quay.io/k8scsi
|
||||
IMAGE_NAME=hostpathplugin
|
||||
IMAGE_VERSION=canary
|
||||
IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(IMAGE_VERSION)
|
||||
REV=$(shell git describe --long --tags --dirty)
|
||||
|
||||
.PHONY: all flexadapter nfs hostpath iscsi cinder clean hostpath-container
|
||||
.PHONY: all flexadapter nfs hostpath iscsi clean hostpath-container
|
||||
|
||||
all: flexadapter nfs hostpath iscsi cinder
|
||||
all: flexadapter nfs hostpath iscsi
|
||||
|
||||
test:
|
||||
go test github.com/kubernetes-csi/drivers/pkg/... -cover
|
||||
@ -32,7 +33,7 @@ nfs:
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/nfsplugin ./app/nfsplugin
|
||||
hostpath:
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/hostpathplugin ./app/hostpathplugin
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X github.com/kubernetes-csi/drivers/pkg/hostpath.vendorVersion=$(REV) -extldflags "-static"' -o _output/hostpathplugin ./app/hostpathplugin
|
||||
hostpath-container: hostpath
|
||||
docker build -t $(IMAGE_TAG) -f ./app/hostpathplugin/Dockerfile .
|
||||
push: hostpath-container
|
||||
@ -40,9 +41,6 @@ push: hostpath-container
|
||||
iscsi:
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/iscsiplugin ./app/iscsiplugin
|
||||
cinder:
|
||||
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o _output/cinderplugin ./app/cinderplugin
|
||||
clean:
|
||||
go clean -r -x
|
||||
-rm -rf _output
|
||||
|
Reference in New Issue
Block a user