chore: switch to 3.0.0 for master branch
revise version sleep 10s
This commit is contained in:
parent
ddeb6a8e5f
commit
4c6213dc3f
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ export GOPATH GOBIN GO111MODULE DOCKER_CLI_EXPERIMENTAL
|
||||
include release-tools/build.make
|
||||
LDFLAGS = "-X ${PKG}/pkg/nfs.driverVersion=${IMAGE_VERSION} -s -w -extldflags '-static'"
|
||||
GIT_COMMIT ?= $(shell git rev-parse HEAD)
|
||||
IMAGE_VERSION ?= v0.5.0
|
||||
IMAGE_VERSION ?= v3.0.0
|
||||
# Use a custom version for E2E tests if we are testing in CI
|
||||
ifdef CI
|
||||
ifndef PUBLISH
|
||||
|
||||
@ -51,7 +51,7 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
version = "2.0.0"
|
||||
version = "3.0.0"
|
||||
)
|
||||
|
||||
func NewNFSdriver(nodeID, endpoint string, perm *uint32) *Driver {
|
||||
|
||||
@ -43,6 +43,7 @@ function provision_nfs_server {
|
||||
apt-get update -y
|
||||
apt-get install -y nfs-common
|
||||
docker run -d --name nfs --privileged -p 2049:2049 -v $(pwd)/nfsshare:/nfsshare -e SHARED_DIRECTORY=/nfsshare itsthenetwork/nfs-server-alpine:latest
|
||||
sleep 10
|
||||
}
|
||||
|
||||
provision_nfs_server
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user