This is an automated email from the ASF dual-hosted git repository. jin pushed a commit to branch fix-ci in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
commit 09bb2155f2cb00742e70dba595ca9163008a22ec Author: imbajin <[email protected]> AuthorDate: Thu Oct 20 17:18:44 2022 +0800 chore: update some params to fix CI error TODO: could we use one param to unify it? or use a action template --- .github/ISSUE_TEMPLATE/config.yml | 11 ++++++++--- .github/ISSUE_TEMPLATE/question_ask.yml | 2 +- .github/workflows/client-ci.yml | 2 +- .github/workflows/hubble-ci.yml | 4 ++-- .github/workflows/loader-ci.yml | 2 +- .github/workflows/stale.yml | 4 ++-- .github/workflows/tools-ci.yml | 3 ++- .../assembly/travis/install-hugegraph-from-source.sh | 10 +++++----- .../assembly/travis/install-hugegraph-from-source.sh | 9 +++++---- .../assembly/travis/install-hugegraph-from-tar.sh | 5 +++-- .../assembly/travis/install-hugegraph-from-source.sh | 10 +++++----- 11 files changed, 35 insertions(+), 27 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 165759ec..cca13831 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,9 +2,14 @@ blank_issues_enabled: false # 设置提 issue 前的参考文档 contact_links: - - name: HugeGraph toolchain Doc - # TODO: update the url after repository rename - url: https://hugegraph.apache.org/docs/ + - name: HugeGraph Loader Doc + url: https://hugegraph.apache.org/docs/quickstart/hugegraph-loader/ + about: Please search question here before opening a new issue + - name: HugeGraph Hubble Doc + url: https://hugegraph.apache.org/docs/quickstart/hugegraph-hubble/ + about: Please search usage here before opening a new issue + - name: HugeGraph Tools Doc + url: https://hugegraph.apache.org/docs/quickstart/hugegraph-tools/ about: Please search question here before opening a new issue - name: HugeGraph Client Doc url: https://hugegraph.apache.org/docs/quickstart/hugegraph-client/ diff --git a/.github/ISSUE_TEMPLATE/question_ask.yml b/.github/ISSUE_TEMPLATE/question_ask.yml index c910caf5..d50b0d66 100644 --- a/.github/ISSUE_TEMPLATE/question_ask.yml +++ b/.github/ISSUE_TEMPLATE/question_ask.yml @@ -21,7 +21,7 @@ body: - gremlin (结果不合预期) - rest-api (结果不合预期) - logic (逻辑设计问题) - - performence (性能问题) + - performance (性能问题) - dashboard render (前端渲染问题) - data inconsistency (数据不一致) - configs (配置项 / 文档相关) diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml index 2def7419..c08d7d88 100644 --- a/.github/workflows/client-ci.yml +++ b/.github/workflows/client-ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-20.04 env: TRAVIS_DIR: hugegraph-client/assembly/travis - COMMIT_ID: 1d031c5905cbef008dd5fb468576b0e6a9445181 + COMMIT_ID: 99d4481e9442462c60f2cb1dc6180a7602018d3e strategy: fail-fast: false matrix: diff --git a/.github/workflows/hubble-ci.yml b/.github/workflows/hubble-ci.yml index 195bb35f..09be8184 100644 --- a/.github/workflows/hubble-ci.yml +++ b/.github/workflows/hubble-ci.yml @@ -51,7 +51,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Ceche Yarn packages + - name: Cache Yarn packages uses: actions/cache@v3 # use id to check `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) id: yarn-cache @@ -61,7 +61,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - name: Ceche Python packages + - name: Cache Python packages uses: actions/cache@v3 with: path: ~/.cache/pip diff --git a/.github/workflows/loader-ci.yml b/.github/workflows/loader-ci.yml index 9cb26a5e..4113858e 100644 --- a/.github/workflows/loader-ci.yml +++ b/.github/workflows/loader-ci.yml @@ -28,7 +28,7 @@ jobs: env: TRAVIS_DIR: hugegraph-loader/assembly/travis STATIC_DIR: hugegraph-loader/assembly/static - COMMIT_ID: 1d031c5905cbef008dd5fb468576b0e6a9445181 + COMMIT_ID: 99d4481e9442462c60f2cb1dc6180a7602018d3e DB_USER: root DB_PASS: root DB_DATABASE: load_test diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0c53ad54..8de32a4f 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -19,8 +19,8 @@ jobs: stale-pr-message: 'Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label' stale-issue-label: 'inactive' stale-pr-label: 'inactive' - exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo,guide,doc,help wanted' - exempt-pr-labels: 'feature,bug,enhancement,improvement,wontfix,todo,guide,doc,help wanted' + exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo,guide,doc,help wanted,security' + exempt-pr-labels: 'feature,bug,enhancement,improvement,wontfix,todo,guide,doc,help wanted,security' exempt-all-milestones: true days-before-issue-stale: 15 diff --git a/.github/workflows/tools-ci.yml b/.github/workflows/tools-ci.yml index f0134cfa..757c101f 100644 --- a/.github/workflows/tools-ci.yml +++ b/.github/workflows/tools-ci.yml @@ -26,7 +26,8 @@ jobs: runs-on: ubuntu-20.04 env: TRAVIS_DIR: hugegraph-tools/assembly/travis - COMMIT_ID: 1d031c5905cbef008dd5fb468576b0e6a9445181 + # TODO: could we use one param to unify it? or use a action template + COMMIT_ID: 99d4481e9442462c60f2cb1dc6180a7602018d3e steps: - name: Install JDK 8 uses: actions/setup-java@v3 diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh index 829bf1e6..68b46fe1 100755 --- a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh +++ b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh @@ -3,25 +3,25 @@ set -ev if [[ $# -ne 1 ]]; then - echo "Must pass commit id of hugegraph repo" - exit 1 + echo "Must input exist git commit id of hugegraph server" && exit 1 fi COMMIT_ID=$1 -HUGEGRAPH_GIT_URL="https://github.com/apache/incubator-hugegraph.git" +HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git" GIT_DIR=hugegraph # download code and compile git clone --depth 100 ${HUGEGRAPH_GIT_URL} $GIT_DIR cd "${GIT_DIR}" git checkout "${COMMIT_ID}" -mvn package -DskipTests +mvn package -DskipTests -Dmaven.javadoc.skip=true +# TODO: lack incubator after apache package release (update it later) TAR=$(echo hugegraph-*.tar.gz) tar -zxvf "${TAR}" -C ../ cd ../ rm -rf "${GIT_DIR}" - +# TODO: lack incubator after apache package release (update it later) HTTP_SERVER_DIR=$(echo hugegraph-*.*) HTTPS_SERVER_DIR="hugegraph_https" diff --git a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh index 4e34b6ba..ac1723d2 100755 --- a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh +++ b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh @@ -3,17 +3,17 @@ set -ev if [[ $# -ne 1 ]]; then - echo "Must pass commit id of hugegraph repo" - exit 1 + echo "Must input exist git commit id of hugegraph server" && exit 1 fi COMMIT_ID=$1 -HUGEGRAPH_GIT_URL="https://github.com/hugegraph/hugegraph.git" +HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git" git clone --depth 100 ${HUGEGRAPH_GIT_URL} hugegraph cd hugegraph git checkout "${COMMIT_ID}" -mvn package -DskipTests +mvn package -DskipTests -Dmaven.javadoc.skip=true +# TODO: lack incubator after apache package release (update it later) mv hugegraph-*.tar.gz ../ cd ../ rm -rf hugegraph @@ -21,6 +21,7 @@ tar -zxvf hugegraph-*.tar.gz HTTPS_SERVER_DIR="hugegraph_https" mkdir ${HTTPS_SERVER_DIR} +# TODO: lack incubator after apache package release (update it later) cp -r hugegraph-*/. ${HTTPS_SERVER_DIR} cd "$(find hugegraph-* | head -1)" # start HugeGraphServer with http protocol diff --git a/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh b/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh index f26c5ee7..968f39ba 100755 --- a/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh +++ b/hugegraph-loader/assembly/travis/install-hugegraph-from-tar.sh @@ -3,18 +3,19 @@ set -ev if [[ $# -ne 1 ]]; then - echo "Must pass server version of hugegraph" - exit 1 + echo "Must input exist git commit id of hugegraph server" && exit 1 fi VERSION=$1 HUGEGRAPH_LINK="https://github.com/hugegraph/hugegraph/releases/download/v${VERSION}/hugegraph-${VERSION}.tar.gz" wget "${HUGEGRAPH_LINK}" || exit 1 +# TODO: lack incubator after apache package release (update it later) tar -zxvf hugegraph-${VERSION}.tar.gz HTTPS_SERVER_DIR="hugegraph_https" mkdir ${HTTPS_SERVER_DIR} +# TODO: lack incubator after apache package release (update it later) cp -r hugegraph-${VERSION}/. ${HTTPS_SERVER_DIR} cd hugegraph-${VERSION} diff --git a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh index 37f1a715..60dc622e 100755 --- a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh +++ b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh @@ -1,25 +1,25 @@ #!/bin/bash set -ev if [[ $# -ne 1 ]]; then - echo "Must pass commit id of hugegraph repo" - exit 1 + echo "Must input exist git commit id of hugegraph server" && exit 1 fi COMMIT_ID=$1 -HUGEGRAPH_GIT_URL="https://github.com/hugegraph/hugegraph.git" +HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git" GIT_DIR=hugegraph # download code and compile git clone --depth 100 $HUGEGRAPH_GIT_URL $GIT_DIR cd "${GIT_DIR}" git checkout "${COMMIT_ID}" -mvn package -DskipTests +mvn package -DskipTests -Dmaven.javadoc.skip=true +# TODO: lack incubator after apache package release (update it later) TAR=$(echo hugegraph-*.tar.gz) tar -zxvf "${TAR}" -C ../ cd ../ rm -rf "${GIT_DIR}" - +# TODO: lack incubator after apache package release (update it later) HTTP_SERVER_DIR=$(echo hugegraph-*.*) HTTPS_SERVER_DIR="hugegraph_https"
