Skip to content

Commit

Permalink
Fix connection resets in Maven
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Pienaar <[email protected]>
  • Loading branch information
woop committed Nov 15, 2020
1 parent fb46663 commit c5cc62c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ jobs:
maven-version: 3.6.3
- name: build-jar
env:
# Try to add retries to prevent download failure
# Try to add retries to prevent connection resets
# https://github.community/t/getting-maven-could-not-transfer-artifact-with-500-error-when-using-github-actions/17570
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3
# https://github.com/actions/virtual-environments/issues/1499#issuecomment-718396233
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
run: make build-java-no-tests REVISION=${GITHUB_SHA}
- name: copy to gs
run: gsutil cp ./spark/ingestion/target/feast-ingestion-spark-${GITHUB_SHA}.jar gs://feast-jobs/spark/ingestion/

0 comments on commit c5cc62c

Please sign in to comment.