Skip to content

Commit a3bc149

Browse files
committed
revert milvus change
Signed-off-by: Lacewell, Chaunte W <chaunte.w.lacewell@intel.com>
1 parent c60d836 commit a3bc149

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/dataprep/test_dataprep_milvus.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ ip_address=$(hostname -I | awk '{print $1}')
1010
DATAPREP_PORT=11101
1111
service_name="dataprep-milvus tei-embedding-serving etcd minio standalone"
1212
export TAG="comps"
13-
export DOCKER_VOLUME_DIRECTORY="."
1413

1514
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
1615
source ${SCRIPT_DIR}/dataprep_utils.sh
1716

1817
function build_docker_images() {
1918
cd $WORKPATH
2019
echo $(pwd)
21-
mkdir -p ${DOCKER_VOLUME_DIRECTORY}/volumes/
2220
# dataprep milvus image
2321
docker build --no-cache -t opea/dataprep:${TAG} --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/src/Dockerfile .
2422
if [ $? -ne 0 ]; then
@@ -36,7 +34,6 @@ function start_service() {
3634
export MILVUS_HOST=${ip_address}
3735
export TEI_EMBEDDING_ENDPOINT="http://${host_ip}:${TEI_EMBEDDER_PORT}"
3836
export LOGFLAG=true
39-
export HF_TOKEN=${HF_TOKEN}
4037

4138
cd $WORKPATH/comps/dataprep/deployment/docker_compose/
4239
docker compose up ${service_name} -d > ${LOG_PATH}/start_services_with_compose.log
@@ -84,11 +81,6 @@ function stop_docker() {
8481
cd $WORKPATH/comps/dataprep/deployment/docker_compose
8582
docker compose -f compose.yaml down ${service_name} --remove-orphans
8683

87-
cid=$(docker ps -aq --filter "name=tei-embedding-serving" --filter "name=milvus-*")
88-
if [[ ! -z "$cid" ]]; then docker stop $cid && docker rm $cid && sleep 1s; fi
89-
90-
rm -rf ${DOCKER_VOLUME_DIRECTORY}/volumes/* || true
91-
9284
}
9385

9486
function main() {

0 commit comments

Comments
 (0)