Update the version of build environment

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/4973/head^2
quicksilver 2020-11-14 16:01:12 +08:00 committed by yefu.chen
parent e349508e78
commit 00b4b67a1f
4 changed files with 4 additions and 7 deletions

2
.env
View File

@ -1,4 +1,4 @@
REPO=milvusdb/milvus-distributed-dev
ARCH=amd64
UBUNTU=18.04
DATE_VERSION=20201102-104943
DATE_VERSION=20201113-042812

View File

@ -10,6 +10,7 @@ on:
- 'internal/**'
- 'cmd/**'
- '.github/workflows/main.yaml'
- '.env'
- docker-compose.yml
- Makefile
- '!**.md'
@ -20,6 +21,7 @@ on:
- 'internal/**'
- 'cmd/**'
- '.github/workflows/main.yaml'
- '.env'
- docker-compose.yml
- Makefile
- '!**.md'

View File

@ -36,7 +36,6 @@ mkdir -p "${DOCKER_VOLUME_DIRECTORY:-.docker}/amd64-ubuntu18.04-cache"
chmod -R 777 "${DOCKER_VOLUME_DIRECTORY:-.docker}"
docker-compose pull --ignore-pull-failures ubuntu
docker-compose build ubuntu
docker-compose run --rm -u "$uid:$gid" ubuntu "$@"
popd

View File

@ -2,7 +2,6 @@ package master
import (
"context"
"reflect"
"testing"
"github.com/stretchr/testify/assert"
@ -106,10 +105,7 @@ func TestMetaTable_Collection(t *testing.T) {
collsName, err := meta.ListCollections()
assert.Nil(t, err)
assert.Equal(t, len(collsName), 2)
e1 := reflect.DeepEqual(collsName, []string{"coll1", "coll2"})
e2 := reflect.DeepEqual(collsName, []string{"coll2", "coll1"})
assert.True(t, e1 || e2)
assert.Equal(t, collsName, []string{"coll1", "coll2"})
hasCollection := meta.HasCollection(colMeta.ID)
assert.True(t, hasCollection)