You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2021/02/15 02:46:36 UTC
[iotdb] branch spotless updated: hide coverall token;
only run coverall and sonar on apache/iotdb;
allow manually run github action;
This is an automated email from the ASF dual-hosted git repository.
jincheng pushed a commit to branch spotless
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/spotless by this push:
new c5a9382 hide coverall token; only run coverall and sonar on apache/iotdb; allow manually run github action;
c5a9382 is described below
commit c5a9382bf6eab57cdd0bfa4fa7e4271a8a5a41fe
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;
add exec-maven-plugin version (1.6.0)
---
.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 ++
code-coverage/pom.xml | 1 +
compile-tools/thrift/pom.xml | 2 ++
grafana/pom.xml | 1 +
8 files changed, 17 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:
diff --git a/code-coverage/pom.xml b/code-coverage/pom.xml
index e68290b..6964883 100644
--- a/code-coverage/pom.xml
+++ b/code-coverage/pom.xml
@@ -34,6 +34,7 @@
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
+ <version>1.6.0</version>
<executions>
<execution>
<id>make-cmake-executable</id>
diff --git a/compile-tools/thrift/pom.xml b/compile-tools/thrift/pom.xml
index b314655..0a5c3dd 100644
--- a/compile-tools/thrift/pom.xml
+++ b/compile-tools/thrift/pom.xml
@@ -49,6 +49,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
<executions>
<execution>
<id>make-cmake-executable</id>
@@ -84,6 +85,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
<executions>
<execution>
<id>make-cmake-executable</id>
diff --git a/grafana/pom.xml b/grafana/pom.xml
index 975c9d4..ac5a8e9 100644
--- a/grafana/pom.xml
+++ b/grafana/pom.xml
@@ -106,6 +106,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
<configuration>
<mainClass>${start-class}</mainClass>
</configuration>