You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2021/02/14 13:49:02 UTC

[iotdb] branch hidden_coverall created (now 9863217)

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

hxd pushed a change to branch hidden_coverall
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 9863217  hide coverall token; only run coverall and sonar on apache/iotdb; allow manually run github action;

This branch includes the following new commits:

     new 9863217  hide coverall token; only run coverall and sonar on apache/iotdb; allow manually run github action;

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.



[iotdb] 01/01: hide coverall token; only run coverall and sonar on apache/iotdb; allow manually run github action;

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch hidden_coverall
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 98632170c2d53eff2138fa84aa2079e4950aad8b
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Feb 14 21:48:26 2021 +0800

    hide coverall token; only run coverall and sonar on apache/iotdb; allow manually run github action;
---
 .github/workflows/client.yml     | 2 ++
 .github/workflows/e2e.yml        | 4 +++-
 .github/workflows/main-linux.yml | 7 ++++---
 .github/workflows/main-mac.yml   | 2 ++
 .github/workflows/main-win.yml   | 2 ++
 5 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml
index 4ec4269..8b69d8e 100644
--- a/.github/workflows/client.yml
+++ b/.github/workflows/client.yml
@@ -24,6 +24,8 @@ on:
       - 'compile-tools/**'
       - 'thrift/**'
       - 'service-rpc/**'
+  # allow manually run the action:
+  workflow_dispatch:
 
 jobs:
   build:
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 59f332d..6a0e21f 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -18,7 +18,9 @@ on:
       - cluster_new
     paths-ignore:
       - 'docs/**'
-        
+  # allow manually run the action:
+  workflow_dispatch:
+
 jobs:
   E2E:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/main-linux.yml b/.github/workflows/main-linux.yml
index d0d0b05..c1720ce 100644
--- a/.github/workflows/main-linux.yml
+++ b/.github/workflows/main-linux.yml
@@ -19,6 +19,7 @@ on:
       - cluster_new
     paths-ignore:
       - 'docs/**'
+  # allow manually run the action:
   workflow_dispatch:
 
 jobs:
@@ -47,17 +48,17 @@ jobs:
       - name: IT/UT Test
         run:  mvn -B clean post-integration-test -Dtest.port.closed=true -Pcode-coverage
       - name: Code Coverage (Coveralls)
-        if: ${{ success() && matrix.java == '11'}}
+        if: ${{ success() && matrix.java == '11' && github.repository == 'apache/iotdb'}}
         run: |
           mvn -B post-integration-test -Pcode-coverage -pl code-coverage
           mvn -B coveralls:report \
           -DserviceName=travis_ci \
           -Dbranch=$BRANCH_NAME \
           -DpullRequest=$PR_NUMBER \
-          -DrepoToken=MiEOlMMMNQhLNV4yayn7rRUPyVSQzbzbZ \
+          -DrepoToken=${{ secrets.COVERALL_TOKEN }} \
           -Pcode-coverage
       - name: SonarCloud Report
-        if: ${{ success() &&  matrix.java == '11'}}
+        if: ${{ success() &&  matrix.java == '11' && github.repository == 'apache/iotdb'}}
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
diff --git a/.github/workflows/main-mac.yml b/.github/workflows/main-mac.yml
index a23d58a..00c01cd 100644
--- a/.github/workflows/main-mac.yml
+++ b/.github/workflows/main-mac.yml
@@ -17,6 +17,8 @@ on:
       - cluster_new
     paths-ignore:
       - 'docs/**'
+  # allow manually run the action:
+  workflow_dispatch:
 
 jobs:
   unix:
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index 9a12f1c..3a4acba 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -17,6 +17,8 @@ on:
       - cluster_new
     paths-ignore:
       - 'docs/**'
+  # allow manually run the action:
+  workflow_dispatch:
 
 jobs:
   win: