Skip to content

Commit deacfd9

Browse files
imbajincoderzc
andauthored
chore: update release version to 1.5.0 (#318)
* Update pom.xml * Fix ci --------- Co-authored-by: coderzc <zhaocong@apache.org>
1 parent 1a0352e commit deacfd9

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.github/workflows/ci.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
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
21-
# TODO: delete this env in the future (replaced by docker way now)
22-
# TODO: adapt the HugeGraph Server version to 1.5.0 (EdgeID has 5 parts now)
23-
HUGEGRAPH_SERVER_COMMIT_ID: d01c8737d7d5909119671953521f1401dcd1a188
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
2424

2525
steps:
2626
- name: Checkout
@@ -79,8 +79,7 @@ jobs:
7979
- name: Prepare env and service
8080
run: |
8181
$TRAVIS_DIR/install-env.sh
82-
$TRAVIS_DIR/load-data-into-hugegraph.sh
83-
#$TRAVIS_DIR/install-hugegraph-from-source.sh $HUGEGRAPH_SERVER_COMMIT_ID
82+
$TRAVIS_DIR/load-data-into-hugegraph.sh ${{ env.GRAPH_ENV_VERSION }}
8483
8584
- name: Install JDK 11
8685
uses: actions/setup-java@v3
@@ -97,12 +96,11 @@ jobs:
9796
- name: Compile
9897
run: mvn clean compile -e -Dmaven.javadoc.skip=true -ntp
9998

100-
# TODO: enable it after the ci not required
101-
# - name: Integrate test
102-
# run: mvn test -P integrate-test -ntp
99+
- name: Integrate test
100+
run: mvn test -P integrate-test -ntp
103101

104-
# - name: Unit test
105-
# run: mvn test -P unit-test -ntp
102+
- name: Unit test
103+
run: mvn test -P unit-test -ntp
106104

107105
- name: Upload coverage to Codecov
108106
uses: codecov/codecov-action@v3

computer/computer-dist/src/assembly/travis/load-data-into-hugegraph.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ DATASET_DIR=${TRAVIS_DIR}/../dataset
2323

2424
docker 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:latest && sleep 6
26+
docker run -itd --name=graph --network ci -p 8080:8080 hugegraph/hugegraph:"${GRAPH_ENV_VERSION}" && sleep 6
2727

2828
wget 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:latest
33+
docker run -id --name=loader --network ci hugegraph/loader:"${GRAPH_ENV_VERSION}"
3434
docker cp dataset loader:/dataset || exit 1
3535

3636
docker exec -i loader ls -lh /dataset

0 commit comments

Comments
 (0)