From af95ed669c6d1861c109fee3aacfd59757f9be79 Mon Sep 17 00:00:00 2001 From: Dave Lago Date: Tue, 4 Jan 2022 18:46:13 -0500 Subject: [PATCH 1/2] Fix to prevent timeouts in GitHub actions Signed-off-by: Dave Lago --- .github/workflows/cd.yml | 3 +++ .github/workflows/ci.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 42d3b6b519..486eea6a27 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -5,6 +5,9 @@ on: tags: - '*' +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: runs-on: ubuntu-latest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6a308d9ca..a988e5ca79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ on: branches: - main - opendistro-* +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: From 1b6d40e9517ba6a1faa1135d226b0ba7501d324c Mon Sep 17 00:00:00 2001 From: Dave Lago Date: Tue, 4 Jan 2022 20:36:39 -0500 Subject: [PATCH 2/2] Missing new line Signed-off-by: Dave Lago --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a988e5ca79..4c033d7802 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: branches: - main - opendistro-* + env: MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3