This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 40a1712 Fix Github Action pending problem (#941)
40a1712 is described below
commit 40a1712d2db623ea0e89bd658a462edaef5f9d12
Author: Benedict Jin <[email protected]>
AuthorDate: Thu Jan 6 09:56:42 2022 +0800
Fix Github Action pending problem (#941)
* Fix Github Action pending problem
* Address comments
---
.github/workflows/backend.yml | 6 +++++-
.github/workflows/publish-docker.yaml | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 99b91e9..b1c16d5 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -37,6 +37,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
+ env:
+ MAVEN_OPTS: -Xmx2G -Xms2G
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
@@ -58,6 +60,8 @@ jobs:
-Dcheckstyle.skip=true \
-Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
+ -Dmaven.wagon.http.retryHandler.count=3 \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Run Unit tests
- run: ./mvnw clean verify -B -Dmaven.test.skip=false -Dgpg.skip=true
+ run: |
+ ./mvnw -B clean verify -Dmaven.test.skip=false -Dgpg.skip=true
diff --git a/.github/workflows/publish-docker.yaml
b/.github/workflows/publish-docker.yaml
index b411bb6..1c465b6 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -58,6 +58,8 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push docker images
+ env:
+ MAVEN_OPTS: -Xmx2G -Xms2G
run: |
./mvnw -B clean deploy \
-Dmaven.test.skip \