From 75ce36ac479fab260ee3273180d1e7653d0a035f Mon Sep 17 00:00:00 2001 From: Thespica Date: Tue, 1 Oct 2024 21:19:10 +0800 Subject: [PATCH] let server of ci be the latest version of branch father-sub-edge --- .github/workflows/client-ci.yml | 2 +- .../assembly/travis/install-hugegraph-from-source.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml index 7896bf0c0..30303491b 100644 --- a/.github/workflows/client-ci.yml +++ b/.github/workflows/client-ci.yml @@ -61,7 +61,7 @@ jobs: - name: Prepare env and service run: | - $TRAVIS_DIR/install-hugegraph-from-source.sh $COMMIT_ID + $TRAVIS_DIR/install-hugegraph-from-source.sh - name: Run test run: | diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh index c3ff3943b..98eeba03a 100755 --- a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh +++ b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh @@ -17,16 +17,16 @@ # set -ev -if [[ $# -ne 1 ]]; then - echo "Must input an existing commit id of hugegraph server" && exit 1 -fi +#if [[ $# -ne 1 ]]; then +# echo "Must input an existing commit id of hugegraph server" && exit 1 +#fi -COMMIT_ID=$1 +#COMMIT_ID=$1 HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git" GIT_DIR=hugegraph # download code and compile -git clone --depth 150 ${HUGEGRAPH_GIT_URL} -b father-sub-edge $GIT_DIR +git clone --depth 150 ${HUGEGRAPH_GIT_URL} -b father-sub-edge cd "${GIT_DIR}" git checkout "${COMMIT_ID}" mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp