Skip to content

Commit

Permalink
Fix to prevent timeouts in GitHub actions (#1554)
Browse files Browse the repository at this point in the history
Fix to prevent timeouts in GitHub actions
Fix to prevent timeouts in GitHub actions
Cherry-pick from 07be53e

Signed-off-by: Dave Lago <davelago@amazon.com>
  • Loading branch information
Dave Lago committed Jan 5, 2022
1 parent e0bda4a commit 5b71efd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- 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:
name: build
Expand Down

0 comments on commit 5b71efd

Please sign in to comment.