mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
enhance: fix the dev docker yaml and use go install to install the gotestsum (#32197)
/kind improvement Signed-off-by: SimFG <bang.fu@zilliz.com>
This commit is contained in:
parent
06e0c8baac
commit
2944971507
2
Makefile
2
Makefile
@ -99,7 +99,7 @@ getdeps:
|
|||||||
echo "Mockery v$(MOCKERY_VERSION) already installed"; \
|
echo "Mockery v$(MOCKERY_VERSION) already installed"; \
|
||||||
fi
|
fi
|
||||||
@if [ -z "$(INSTALL_GOTESTSUM)" ]; then \
|
@if [ -z "$(INSTALL_GOTESTSUM)" ]; then \
|
||||||
echo "Install gotestsum v$(GOTESTSUM_VERSION) to ./bin/" && curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v$(GOTESTSUM_VERSION)/gotestsum_$(GOTESTSUM_VERSION)_linux_amd64.tar.gz" | tar -xz -C ./bin/ gotestsum ; \
|
echo "Install gotestsum v$(GOTESTSUM_VERSION) to ./bin/" && GOBIN=$(INSTALL_PATH) go install gotest.tools/gotestsum@v$(GOTESTSUM_VERSION); \
|
||||||
else \
|
else \
|
||||||
echo "gotestsum v$(GOTESTSUM_VERSION) already installed";\
|
echo "gotestsum v$(GOTESTSUM_VERSION) already installed";\
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -53,7 +53,7 @@ services:
|
|||||||
azurite:
|
azurite:
|
||||||
image: mcr.microsoft.com/azure-storage/azurite
|
image: mcr.microsoft.com/azure-storage/azurite
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/opt/azurite
|
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/data
|
||||||
command: azurite-blob --blobHost 0.0.0.0
|
command: azurite-blob --blobHost 0.0.0.0
|
||||||
ports:
|
ports:
|
||||||
- "10000:10000"
|
- "10000:10000"
|
||||||
|
|||||||
@ -63,7 +63,7 @@ services:
|
|||||||
azurite:
|
azurite:
|
||||||
image: mcr.microsoft.com/azure-storage/azurite
|
image: mcr.microsoft.com/azure-storage/azurite
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/opt/azurite
|
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/azurite:/data
|
||||||
command: azurite-blob --blobHost 0.0.0.0
|
command: azurite-blob --blobHost 0.0.0.0
|
||||||
ports:
|
ports:
|
||||||
- "10000:10000"
|
- "10000:10000"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user