File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
computer/computer-dist/src/assembly/travis Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1616 env :
1717 USE_STAGE : ' true' # Whether to include the stage repository.
1818 TRAVIS_DIR : computer-dist/src/assembly/travis
19- KUBERNETES_VERSION : 1.20.1
2019 BSP_ETCD_URL : http://localhost:2579
20+ KUBERNETES_VERSION : 1.20.1
21+ # TODO: adapt the HugeGraph Server/Loader version to 1.5.0 (EdgeID has 5 parts now)
22+ # NOTE: Remember to adaptor/update the version before new release
23+ GRAPH_ENV_VERSION : 1.3.0
2124
2225 steps :
2326 - name : Checkout
7679 - name : Prepare env and service
7780 run : |
7881 $TRAVIS_DIR/install-env.sh
79- $TRAVIS_DIR/load-data-into-hugegraph.sh
82+ $TRAVIS_DIR/load-data-into-hugegraph.sh ${{ env.GRAPH_ENV_VERSION }}
8083
8184 - name : Install JDK 11
8285 uses : actions/setup-java@v3
Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ DATASET_DIR=${TRAVIS_DIR}/../dataset
2323
2424docker network create ci
2525# Note: we need wait for server start finished, so start it first
26- docker run -itd --name=graph --network ci -p 8080:8080 hugegraph/hugegraph:1.3.0 && sleep 6
26+ docker run -itd --name=graph --network ci -p 8080:8080 hugegraph/hugegraph:" ${GRAPH_ENV_VERSION} " && sleep 6
2727
2828wget http://files.grouplens.org/datasets/movielens/ml-latest-small.zip
29- unzip -d ${DATASET_DIR} ml-latest-small.zip
29+ unzip -d " ${DATASET_DIR} " ml-latest-small.zip
3030
31- cd ${DATASET_DIR} /.. && pwd && ls -lh *
31+ cd " ${DATASET_DIR} " /.. && pwd && ls -lh ./ *
3232
33- docker run -id --name=loader --network ci hugegraph/loader:1.3.0
33+ docker run -id --name=loader --network ci hugegraph/loader:" ${GRAPH_ENV_VERSION} "
3434docker cp dataset loader:/dataset || exit 1
3535
3636docker exec -i loader ls -lh /dataset
You can’t perform that action at this time.
0 commit comments