File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515PKG = github.com/kubernetes-csi/csi-driver-smb
16+ GINKGO_FLAGS = -ginkgo.v
17+ GO111MODULE = on
18+ GOPATH ?= $(shell go env GOPATH)
19+ GOBIN ?= $(GOPATH ) /bin
20+ DOCKER_CLI_EXPERIMENTAL = enabled
21+ IMAGE_NAME ?= smb-csi
22+ export GOPATH GOBIN GO111MODULE DOCKER_CLI_EXPERIMENTAL
23+
24+ include release-tools/build.make
25+
1626GIT_COMMIT ?= $(shell git rev-parse HEAD)
1727REGISTRY ?= andyzhangx
1828REGISTRY_NAME = $(shell echo $(REGISTRY ) | sed "s/.azurecr.io//g")
19- IMAGE_NAME ?= smb-csi
2029IMAGE_VERSION ?= v1.7.0
2130VERSION ?= latest
2231# Use a custom version for E2E tests if we are testing in CI
@@ -31,15 +40,6 @@ BUILD_DATE ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
3140LDFLAGS ?= "-X ${PKG}/pkg/smb.driverVersion=${IMAGE_VERSION} -X ${PKG}/pkg/smb.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/smb.buildDate=${BUILD_DATE} -s -w -extldflags '-static'"
3241E2E_HELM_OPTIONS ?= --set image.smb.repository=$(REGISTRY ) /$(IMAGE_NAME ) --set image.smb.tag=$(IMAGE_VERSION ) --set controller.dnsPolicy=ClusterFirstWithHostNet --set linux.dnsPolicy=ClusterFirstWithHostNet
3342E2E_HELM_OPTIONS += ${EXTRA_HELM_OPTIONS}
34- GINKGO_FLAGS = -ginkgo.v
35- GO111MODULE = on
36- GOPATH ?= $(shell go env GOPATH)
37- GOBIN ?= $(GOPATH ) /bin
38- DOCKER_CLI_EXPERIMENTAL = enabled
39- export GOPATH GOBIN GO111MODULE DOCKER_CLI_EXPERIMENTAL
40-
41- include release-tools/build.make
42-
4343# Generate all combination of all OS, ARCH, and OSVERSIONS for iteration
4444ALL_OS = linux windows
4545ALL_ARCH.linux = arm64 amd64 ppc64le
You can’t perform that action at this time.
0 commit comments