This is an automated email from the ASF dual-hosted git repository.

zhaocong pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git


The following commit(s) were added to refs/heads/master by this push:
     new deacfd92 chore: update release version to 1.5.0 (#318)
deacfd92 is described below

commit deacfd928fea88dcf864e662f577da6a4b4cc5f4
Author: imbajin <j...@apache.org>
AuthorDate: Mon Dec 30 10:59:48 2024 +0800

    chore: update release version to 1.5.0 (#318)
    
    * Update pom.xml
    
    * Fix ci
    
    ---------
    
    Co-authored-by: coderzc <zhaoc...@apache.org>
---
 .github/workflows/ci.yml                             | 20 +++++++++-----------
 .../src/assembly/travis/load-data-into-hugegraph.sh  |  8 ++++----
 2 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e7675706..a853bdc0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,11 +16,11 @@ jobs:
     env:
       USE_STAGE: 'true' # Whether to include the stage repository.
       TRAVIS_DIR: computer-dist/src/assembly/travis
-      KUBERNETES_VERSION: 1.20.1
       BSP_ETCD_URL: http://localhost:2579
-      # TODO: delete this env in the future (replaced by docker way now)
-      # TODO: adapt the HugeGraph Server version to 1.5.0 (EdgeID has 5 parts 
now)
-      HUGEGRAPH_SERVER_COMMIT_ID: d01c8737d7d5909119671953521f1401dcd1a188
+      KUBERNETES_VERSION: 1.20.1
+      # TODO: adapt the HugeGraph Server/Loader version to 1.5.0 (EdgeID has 5 
parts now)
+      # NOTE: Remember to adaptor/update the version before new release
+      GRAPH_ENV_VERSION: 1.3.0
 
     steps:
       - name: Checkout
@@ -79,8 +79,7 @@ jobs:
       - name: Prepare env and service
         run: |
           $TRAVIS_DIR/install-env.sh
-          $TRAVIS_DIR/load-data-into-hugegraph.sh
-          #$TRAVIS_DIR/install-hugegraph-from-source.sh 
$HUGEGRAPH_SERVER_COMMIT_ID
+          $TRAVIS_DIR/load-data-into-hugegraph.sh ${{ env.GRAPH_ENV_VERSION }}
 
       - name: Install JDK 11
         uses: actions/setup-java@v3
@@ -97,12 +96,11 @@ jobs:
       - name: Compile
         run: mvn clean compile -e -Dmaven.javadoc.skip=true -ntp
 
-        # TODO: enable it after the ci not required
-#      - name: Integrate test
-#        run: mvn test -P integrate-test -ntp
+      - name: Integrate test
+        run: mvn test -P integrate-test -ntp
 
-#      - name: Unit test
-#        run: mvn test -P unit-test -ntp
+      - name: Unit test
+        run: mvn test -P unit-test -ntp
 
       - name: Upload coverage to Codecov
         uses: codecov/codecov-action@v3
diff --git 
a/computer/computer-dist/src/assembly/travis/load-data-into-hugegraph.sh 
b/computer/computer-dist/src/assembly/travis/load-data-into-hugegraph.sh
index b448b661..712c55e8 100755
--- a/computer/computer-dist/src/assembly/travis/load-data-into-hugegraph.sh
+++ b/computer/computer-dist/src/assembly/travis/load-data-into-hugegraph.sh
@@ -23,14 +23,14 @@ DATASET_DIR=${TRAVIS_DIR}/../dataset
 
 docker network create ci
 # Note: we need wait for server start finished, so start it first
-docker run -itd --name=graph --network ci -p 8080:8080 
hugegraph/hugegraph:latest && sleep 6
+docker run -itd --name=graph --network ci -p 8080:8080 
hugegraph/hugegraph:"${GRAPH_ENV_VERSION}" && sleep 6
 
 wget http://files.grouplens.org/datasets/movielens/ml-latest-small.zip
-unzip -d ${DATASET_DIR} ml-latest-small.zip
+unzip -d "${DATASET_DIR}" ml-latest-small.zip
 
-cd ${DATASET_DIR}/.. && pwd && ls -lh *
+cd "${DATASET_DIR}"/.. && pwd && ls -lh ./*
 
-docker run -id --name=loader --network ci hugegraph/loader:latest
+docker run -id --name=loader --network ci 
hugegraph/loader:"${GRAPH_ENV_VERSION}"
 docker cp dataset loader:/dataset || exit 1
 
 docker exec -i loader ls -lh /dataset

Reply via email to