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/04/30 16:01:07 UTC

[iotdb] 01/01: add maven http parameter to avoid maven downloading dependencies timeout in github actions

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

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

commit b647c4314a32c6013e8104eac5051e465499683f
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sat May 1 00:00:06 2021 +0800

    add maven http parameter to avoid maven downloading dependencies timeout in github actions
---
 .github/workflows/client-go.yml       | 3 +++
 .github/workflows/client.yml          | 3 +++
 .github/workflows/e2e.yml             | 3 +++
 .github/workflows/main-unix.yml       | 3 +++
 .github/workflows/main-win.yml        | 3 +++
 .github/workflows/sonar-coveralls.yml | 3 +++
 6 files changed, 18 insertions(+)

diff --git a/.github/workflows/client-go.yml b/.github/workflows/client-go.yml
index f315048..66f6e5e 100644
--- a/.github/workflows/client-go.yml
+++ b/.github/workflows/client-go.yml
@@ -18,6 +18,9 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
 jobs:
   unix:
     strategy:
diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml
index 492bf0a..b91a219 100644
--- a/.github/workflows/client.yml
+++ b/.github/workflows/client.yml
@@ -27,6 +27,9 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
 jobs:
   build:
     strategy:
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index b668c5e..d0c2c60 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -21,6 +21,9 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
 jobs:
   E2E:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/main-unix.yml b/.github/workflows/main-unix.yml
index c1183e1..f8cf183 100644
--- a/.github/workflows/main-unix.yml
+++ b/.github/workflows/main-unix.yml
@@ -22,6 +22,9 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
 jobs:
   unix:
     strategy:
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index 785bb32..69c1b5d 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -20,6 +20,9 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
 jobs:
   win:
     strategy:
diff --git a/.github/workflows/sonar-coveralls.yml b/.github/workflows/sonar-coveralls.yml
index 48a3fbb..7f1dcdc 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -20,6 +20,9 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
 jobs:
   ubuntu:
     runs-on: ubuntu-latest