You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/04/28 06:45:56 UTC
[incubator-hugegraph-toolchain] branch ci updated (fdaabde -> 757bf81)
This is an automated email from the ASF dual-hosted git repository.
jin pushed a change to branch ci
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
discard fdaabde chore: adopt to run actions in toolchain
omit 4caf46d Merge pull request #267 from apache/pom
new 757bf81 chore: adopt to run actions in toolchain
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (fdaabde)
\
N -- N -- N refs/heads/ci (757bf81)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
[incubator-hugegraph-toolchain] 01/01: chore: adopt to run actions in toolchain
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch ci
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
commit 757bf8101f3985740f5d81382527691549d8974f
Author: imbajin <ji...@apache.org>
AuthorDate: Thu Apr 28 14:40:53 2022 +0800
chore: adopt to run actions in toolchain
---
.github/{workflows => outdated}/cla.yml | 1 +
.../ci.yml => .github/workflows/client-ci.yml | 0
.../ci.yml => .github/workflows/hubble-ci.yml | 0
.github/workflows/{ci.yml => loader-ci.yml} | 0
.../ci.yml => .github/workflows/tools-ci.yml | 0
hugegraph-loader/.github/workflows/ci.yml | 77 ----------------------
pom.xml | 3 +-
7 files changed, 2 insertions(+), 79 deletions(-)
diff --git a/.github/workflows/cla.yml b/.github/outdated/cla.yml
similarity index 97%
rename from .github/workflows/cla.yml
rename to .github/outdated/cla.yml
index a182b95..9bb9cfa 100644
--- a/.github/workflows/cla.yml
+++ b/.github/outdated/cla.yml
@@ -1,3 +1,4 @@
+# due to apache action permission, stop use cla action now
name: "CLA Assistant"
on:
issue_comment:
diff --git a/hugegraph-client/.github/workflows/ci.yml b/.github/workflows/client-ci.yml
similarity index 100%
rename from hugegraph-client/.github/workflows/ci.yml
rename to .github/workflows/client-ci.yml
diff --git a/hugegraph-hubble/.github/workflows/ci.yml b/.github/workflows/hubble-ci.yml
similarity index 100%
rename from hugegraph-hubble/.github/workflows/ci.yml
rename to .github/workflows/hubble-ci.yml
diff --git a/.github/workflows/ci.yml b/.github/workflows/loader-ci.yml
similarity index 100%
rename from .github/workflows/ci.yml
rename to .github/workflows/loader-ci.yml
diff --git a/hugegraph-tools/.github/workflows/ci.yml b/.github/workflows/tools-ci.yml
similarity index 100%
rename from hugegraph-tools/.github/workflows/ci.yml
rename to .github/workflows/tools-ci.yml
diff --git a/hugegraph-loader/.github/workflows/ci.yml b/hugegraph-loader/.github/workflows/ci.yml
deleted file mode 100644
index e139b40..0000000
--- a/hugegraph-loader/.github/workflows/ci.yml
+++ /dev/null
@@ -1,77 +0,0 @@
-name: hugegraph-loader ci
-
-on:
- push:
- branches:
- - master
- - /^release-.*$/
- - /^test-.*$/
- pull_request:
- branches:
- - master
- - /^release-.*$/
- - /^test-.*$/
-
-jobs:
- build:
- runs-on: ubuntu-20.04
- env:
- TRAVIS_DIR: assembly/travis
- STATIC_DIR: assembly/static
- COMMIT_ID: 1d031c5905cbef008dd5fb468576b0e6a9445181
- DB_USER: root
- DB_PASS: root
- DB_DATABASE: load_test
- steps:
- - name: Install JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'zulu'
-
- - name: Cache Maven packages
- uses: actions/cache@v2
- with:
- path: ~/.m2
- key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
- restore-keys: ${{ runner.os }}-m2
-
- - name: Checkout
- uses: actions/checkout@v2
- with:
- fetch-depth: 2
-
- - name: Compile
- run: |
- mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
- mvn compile -Dmaven.javadoc.skip=true | grep -v "Downloading\|Downloaded"
-
- - name: Init Mysql Env
- uses: mirromutth/mysql-action@v1.1
- with:
- host port: 3306 # Optional, default value is 3306. The port of host
- container port: 3306 # Optional, default value is 3306. The port of container
- character set server: 'utf8mb4' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld
- collation server: 'utf8mb4_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld
- mysql version: '5.7' # Optional, default value is "latest". The version of the MySQL
- mysql database: ${{ env.DB_DATABASE }} # Optional, default value is "test". The specified database which will be create
- mysql root password: ${{ env.DB_PASS }} # Required if "mysql user" is empty, default is empty. The root superuser password
- #mysql user: 'root' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
- #mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user"
-
- - name: Prepare env and service
- run: |
- $TRAVIS_DIR/install-hadoop.sh
- $TRAVIS_DIR/install-hugegraph-from-source.sh $COMMIT_ID
-
- - name: Run test
- run: |
- mvn test -P unit
- mvn test -P file
- mvn test -P hdfs
- mvn test -P jdbc
-
- - name: Upload coverage to Codecov
- uses: codecov/codecov-action@v1
- with:
- file: target/jacoco.xml
diff --git a/pom.xml b/pom.xml
index 4978cd1..de9fb32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,8 +33,7 @@
<scm>
<url>https://github.com/hugegraph/hugegraph-toolchain</url>
<connection>https://github.com/hugegraph/hugegraph-toolchain</connection>
- <developerConnection>https://github.com/hugegraph/hugegraph-toolchain
- </developerConnection>
+ <developerConnection>https://github.com/hugegraph/hugegraph-toolchain</developerConnection>
</scm>
<modules>