Update builder image version (#6402)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/6407/head
quicksilver 2021-07-09 14:54:40 +08:00 committed by GitHub
parent 19fc42c9eb
commit 613d6b9619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

2
.env
View File

@ -1,7 +1,7 @@
IMAGE_REPO=milvusdb
IMAGE_ARCH=amd64
OS_NAME=ubuntu18.04
DATE_VERSION=latest
DATE_VERSION=20210709
LATEST_DATE_VERSION=latest
MINIO_ADDRESS=minio:9000
PULSAR_ADDRESS=pulsar://pulsar:6650

View File

@ -64,7 +64,14 @@ The following scripts are found in the [`build/`](.) directory. Note that all sc
* `build/builder.sh make unittest`: Run all unit tests
* `build/builder.sh make clean`: Clean up all the generated files
You can specify a different OS for builder by setting OS_NAME which defaults to `ubuntu18.04`. Valid OS name are `ubuntu18.04`, `centos7`.
You can specify a different OS for builder by setting `OS_NAME` which defaults to `ubuntu18.04`. Valid OS name are `ubuntu18.04`, `centos7`.
To specify `centos7` builder, use these command:
```shell
export OS_NAME=centos7
build/builder.sh make
```
## E2E Tests
@ -85,7 +92,7 @@ $ build/builder.sh /bin/bash -c "./scripts/start_cluster.sh && cat"
To run E2E tests, use these command:
```shell
MILVUS_SERVICE_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker-compose ps -q))
MILVUS_SERVICE_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker-compose ps -q builder))
cd tests/docker
docker-compose run --rm pytest /bin/bash -c "pytest --ip ${MILVUS_SERVICE_IP}"
```